Uses of Class
com.github.javaparser.ast.expr.PatternExpr
Packages that use PatternExpr
Package
Description
Implementation of model based on JavaParser.
-
Uses of PatternExpr in com.github.javaparser
Methods in com.github.javaparser that return PatternExprModifier and TypeMethodDescriptionfinal PatternExpr
GeneratedJavaParser.PatternExpression()
https://openjdk.java.net/jeps/375 The instanceof grammar is extended accordingly: -
Uses of PatternExpr in com.github.javaparser.ast.expr
Fields in com.github.javaparser.ast.expr declared as PatternExprMethods in com.github.javaparser.ast.expr that return PatternExprModifier and TypeMethodDescriptionExpression.asPatternExpr()
PatternExpr.asPatternExpr()
PatternExpr.clone()
PatternExpr.setModifiers
(NodeList<Modifier> modifiers) PatternExpr.setName
(SimpleName name) PatternExpr.setType
(ReferenceType type) Methods in com.github.javaparser.ast.expr that return types with arguments of type PatternExprModifier and TypeMethodDescriptionInstanceOfExpr.getPattern()
Expression.toPatternExpr()
PatternExpr.toPatternExpr()
Methods in com.github.javaparser.ast.expr with parameters of type PatternExprMethod parameters in com.github.javaparser.ast.expr with type arguments of type PatternExprModifier and TypeMethodDescriptionvoid
Expression.ifPatternExpr
(Consumer<PatternExpr> action) void
PatternExpr.ifPatternExpr
(Consumer<PatternExpr> action) Constructors in com.github.javaparser.ast.expr with parameters of type PatternExprModifierConstructorDescriptionInstanceOfExpr
(Expression expression, ReferenceType type, PatternExpr pattern) InstanceOfExpr
(TokenRange tokenRange, Expression expression, ReferenceType type, PatternExpr pattern) This constructor is used by the parser and is considered private. -
Uses of PatternExpr in com.github.javaparser.ast.visitor
Methods in com.github.javaparser.ast.visitor with parameters of type PatternExprModifier and TypeMethodDescriptionCloneVisitor.visit
(PatternExpr n, Object arg) EqualsVisitor.visit
(PatternExpr n, Visitable arg) GenericListVisitorAdapter.visit
(PatternExpr n, A arg) GenericVisitor.visit
(PatternExpr n, A arg) GenericVisitorAdapter.visit
(PatternExpr n, A arg) GenericVisitorWithDefaults.visit
(PatternExpr n, A arg) HashCodeVisitor.visit
(PatternExpr n, Void arg) ModifierVisitor.visit
(PatternExpr n, A arg) NoCommentEqualsVisitor.visit
(PatternExpr n, Visitable arg) NoCommentHashCodeVisitor.visit
(PatternExpr n, Void arg) void
NodeFinderVisitor.visit
(PatternExpr n, Range arg) ObjectIdentityEqualsVisitor.visit
(PatternExpr n, Visitable arg) ObjectIdentityHashCodeVisitor.visit
(PatternExpr n, Void arg) void
VoidVisitor.visit
(PatternExpr n, A arg) void
VoidVisitorAdapter.visit
(PatternExpr n, A arg) void
VoidVisitorWithDefaults.visit
(PatternExpr n, A arg) -
Uses of PatternExpr in com.github.javaparser.printer
Methods in com.github.javaparser.printer with parameters of type PatternExprModifier and TypeMethodDescriptionvoid
DefaultPrettyPrinterVisitor.visit
(PatternExpr n, Void arg) void
PrettyPrintVisitor.visit
(PatternExpr n, Void arg) Deprecated. -
Uses of PatternExpr in com.github.javaparser.resolution
Methods in com.github.javaparser.resolution that return types with arguments of type PatternExprModifier and TypeMethodDescriptiondefault List
<PatternExpr> Context.negatedPatternExprsExposedFromChildren()
default Optional
<PatternExpr> Context.patternExprInScope
(String name) With respect to solving, the AST "parent" of a block statement is not necessarily the same as the scope parent.default List
<PatternExpr> Context.patternExprsExposedFromChildren()
default List
<PatternExpr> Context.patternExprsExposedToChild
(Node child) The pattern expressions that are declared in this immediate context and made visible to a given child. -
Uses of PatternExpr in com.github.javaparser.symbolsolver.javaparsermodel
Methods in com.github.javaparser.symbolsolver.javaparsermodel with parameters of type PatternExprModifier and TypeMethodDescriptionDefaultVisitorAdapter.visit
(PatternExpr node, Boolean aBoolean) -
Uses of PatternExpr in com.github.javaparser.symbolsolver.javaparsermodel.contexts
Methods in com.github.javaparser.symbolsolver.javaparsermodel.contexts that return types with arguments of type PatternExprModifier and TypeMethodDescriptionBinaryExprContext.negatedPatternExprsExposedFromChildren()
EnclosedExprContext.negatedPatternExprsExposedFromChildren()
StatementContext.negatedPatternExprsExposedFromChildren()
UnaryExprContext.negatedPatternExprsExposedFromChildren()
VariableDeclarationExprContext.negatedPatternExprsExposedFromChildren()
VariableDeclaratorContext.negatedPatternExprsExposedFromChildren()
private List
<PatternExpr> BinaryExprContext.negatedPatternExprsExposedToDirectParentFromBranch
(Expression branch) BinaryExprContext.patternExprInScope
(String name) BinaryExprContext.patternExprsExposedFromChildren()
EnclosedExprContext.patternExprsExposedFromChildren()
InstanceOfExprContext.patternExprsExposedFromChildren()
StatementContext.patternExprsExposedFromChildren()
UnaryExprContext.patternExprsExposedFromChildren()
VariableDeclarationExprContext.patternExprsExposedFromChildren()
VariableDeclaratorContext.patternExprsExposedFromChildren()
BinaryExprContext.patternExprsExposedToChild
(Node child) IfStatementContext.patternExprsExposedToChild
(Node child) private List
<PatternExpr> BinaryExprContext.patternExprsExposedToDirectParentFromBranch
(Expression branch) -
Uses of PatternExpr in com.github.javaparser.symbolsolver.javaparsermodel.declarations
Fields in com.github.javaparser.symbolsolver.javaparsermodel.declarations declared as PatternExprModifier and TypeFieldDescriptionprivate final PatternExpr
JavaParserPatternDeclaration.wrappedNode
Methods in com.github.javaparser.symbolsolver.javaparsermodel.declarations that return PatternExprModifier and TypeMethodDescriptionJavaParserPatternDeclaration.getWrappedNode()
Returns the JavaParser node associated with this JavaParserPatternDeclaration.Methods in com.github.javaparser.symbolsolver.javaparsermodel.declarations with parameters of type PatternExprModifier and TypeMethodDescriptionstatic JavaParserPatternDeclaration
JavaParserSymbolDeclaration.patternVar
(PatternExpr patternExpr, TypeSolver typeSolver) Constructors in com.github.javaparser.symbolsolver.javaparsermodel.declarations with parameters of type PatternExprModifierConstructorDescriptionJavaParserPatternDeclaration
(PatternExpr wrappedNode, TypeSolver typeSolver) -
Uses of PatternExpr in com.github.javaparser.symbolsolver.javaparsermodel.declarators
Constructors in com.github.javaparser.symbolsolver.javaparsermodel.declarators with parameters of type PatternExprModifierConstructorDescriptionPatternSymbolDeclarator
(PatternExpr wrappedNode, TypeSolver typeSolver)