PatternVariableVisitor
open class PatternVariableVisitor : GenericVisitorWithDefaults<PatternVariableResult, Void> (source)
Functions
Link copied to clipboard
Link copied to clipboard
The following rules apply to a parenthesized expression (a): - A pattern variable is introduced by (a) when true iff it is introduced by a when true.
The following rule applies to an instanceof expression with a pattern operand, a instanceof p: - A pattern variable is introduced by a instanceof p when true iff the pattern p contains a declaration of the pattern variable.