Package | Description |
---|---|
com.github.javaparser.ast.expr | |
com.github.javaparser.ast.visitor | |
com.github.javaparser.printer | |
com.github.javaparser.resolution |
Modifier and Type | Method and Description |
---|---|
PatternExpr |
PatternExpr.asPatternExpr() |
PatternExpr |
Expression.asPatternExpr() |
PatternExpr |
PatternExpr.clone() |
PatternExpr |
PatternExpr.setModifiers(NodeList<Modifier> modifiers) |
PatternExpr |
PatternExpr.setName(SimpleName name) |
PatternExpr |
PatternExpr.setType(ReferenceType type) |
Modifier and Type | Method and Description |
---|---|
Optional<PatternExpr> |
InstanceOfExpr.getPattern() |
Optional<PatternExpr> |
PatternExpr.toPatternExpr() |
Optional<PatternExpr> |
Expression.toPatternExpr() |
Modifier and Type | Method and Description |
---|---|
InstanceOfExpr |
InstanceOfExpr.setPattern(PatternExpr pattern) |
Modifier and Type | Method and Description |
---|---|
void |
PatternExpr.ifPatternExpr(Consumer<PatternExpr> action) |
void |
Expression.ifPatternExpr(Consumer<PatternExpr> action) |
Constructor and Description |
---|
InstanceOfExpr(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.
|
Modifier and Type | Method and Description |
---|---|
void |
VoidVisitorWithDefaults.visit(PatternExpr n,
A arg) |
void |
VoidVisitorAdapter.visit(PatternExpr n,
A arg) |
void |
VoidVisitor.visit(PatternExpr n,
A arg) |
Visitable |
ModifierVisitor.visit(PatternExpr n,
A arg) |
R |
GenericVisitorWithDefaults.visit(PatternExpr n,
A arg) |
R |
GenericVisitorAdapter.visit(PatternExpr n,
A arg) |
R |
GenericVisitor.visit(PatternExpr n,
A arg) |
List<R> |
GenericListVisitorAdapter.visit(PatternExpr n,
A arg) |
Visitable |
CloneVisitor.visit(PatternExpr n,
Object arg) |
void |
NodeFinderVisitor.visit(PatternExpr n,
Range arg) |
Boolean |
ObjectIdentityEqualsVisitor.visit(PatternExpr n,
Visitable arg) |
Boolean |
NoCommentEqualsVisitor.visit(PatternExpr n,
Visitable arg) |
Boolean |
EqualsVisitor.visit(PatternExpr n,
Visitable arg) |
Integer |
ObjectIdentityHashCodeVisitor.visit(PatternExpr n,
Void arg) |
Integer |
NoCommentHashCodeVisitor.visit(PatternExpr n,
Void arg) |
Integer |
HashCodeVisitor.visit(PatternExpr n,
Void arg) |
Modifier and Type | Method and Description |
---|---|
void |
PrettyPrintVisitor.visit(PatternExpr n,
Void arg)
Deprecated.
|
void |
DefaultPrettyPrinterVisitor.visit(PatternExpr n,
Void arg) |
Modifier and Type | Method and Description |
---|---|
default 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.
|
Copyright © 2007–2024. All rights reserved.