public class TraversingExpressionVisitor extends Object implements ExpressionVisitor<Void,RuntimeException>
Constructor and Description |
---|
TraversingExpressionVisitor(ExpressionVisitor<Boolean,RuntimeException> visitor)
Creates a new traversing visitor with a given delegate.
|
Modifier and Type | Method and Description |
---|---|
Void |
visit(AssignmentExpression expression)
Visits an assignment expression.
|
Void |
visit(BlockExpression expression)
Visits a block expression.
|
Void |
visit(BreakExpression expression)
Visits a break expression.
|
Void |
visit(CastExpression expression)
Visits a cast expression.
|
Void |
visit(ChainedExpression expression)
Visits a chained expression.
|
Void |
visit(ClosureExpression expression)
Visits a closure.
|
Void |
visit(ClosureInvocationExpression expression)
Visits a closure invocation expression.
|
Void |
visit(CompoundAssignmentExpression expression)
Visits an compound assignment expression.
|
Void |
visit(ConditionalExpression expression)
Visits a conditional expression.
|
Void |
visit(ConstantExpression expression)
Visits a constant.
|
Void |
visit(ContinueExpression expression)
Visits a continue expression.
|
Void |
visit(CustomConstantExpression expression)
Visits a custom constant expression (a constant defined by user).
|
Void |
visit(DebugExpression expression)
Visits a debug expression.
|
Void |
visit(DefExpression expression)
Visits a define expression.
|
Void |
visit(DereferenceExpression expression)
Visits a dereference expression.
|
Void |
visit(EnumerationExpression expression)
Visits an enumeration expression.
|
Void |
visit(ForeachExpression expression)
Visits a foreach expression.
|
Void |
visit(ForExpression expression)
Visits a for expression.
|
Void |
visit(FunctionCallExpression expression)
Visits a function call.
|
Void |
visit(FunctionCallWithNamedArgs expression)
Visits a function call with named args expression.
|
Void |
visit(FunctionExpression expression)
Visits a function expression.
|
Void |
visit(IfnullExpression expression)
Visits an ifnull expression.
|
Void |
visit(IncDecExpression expression)
Visits a increment/decrement expression.
|
Void |
visit(InstanceofExpression expression)
Visits an instanceof expression.
|
Void |
visit(ListExpression expression)
Visits a list expression.
|
Void |
visit(MapExpression expression)
Visits a map expression.
|
Void |
visit(MethodCallExpression expression)
Visits a method call.
|
Void |
visit(MethodExpression expression)
Visits a method expression.
|
Void |
visit(PropertyExpression expression)
Visits a property expression.
|
Void |
visit(PropertyLiteralExpression expression)
Visits a property literal expression.
|
Void |
visit(RecordConstructorExpression expression)
Visits a record constructor expression.
|
Void |
visit(RecordExpression expression)
Visits a record expression.
|
Void |
visit(ReferenceExpression expression)
Visits a reference expression.
|
Void |
visit(SetExpression expression)
Visits a set expression.
|
Void |
visit(SuperConstructorExpression expression)
Visits a super constructor expression.
|
Void |
visit(SwitchExpression expression)
Visits a switch expression.
|
Void |
visit(SyntheticExpression expression)
Visits an synthetic expression.
|
Void |
visit(ThisConstructorExpression expression)
Visits a this constructor expression.
|
Void |
visit(ThisExpression expression)
Visits this.
|
Void |
visit(TryCatchExpression expression)
Visits a try-catch expression.
|
Void |
visit(TypeExpression expression)
Visits a type literal expression.
|
Void |
visit(UnknownExpression expression)
Visits an unknown expression.
|
Void |
visit(VariableExpression expression)
Visits a variable.
|
Void |
visit(WhileExpression expression)
Visits a while expresion.
|
public TraversingExpressionVisitor(ExpressionVisitor<Boolean,RuntimeException> visitor)
visitor
- public Void visit(AssignmentExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(BlockExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(BreakExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(CastExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(ChainedExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(ClosureExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(ClosureInvocationExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(CompoundAssignmentExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(ConditionalExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(ConstantExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(ContinueExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(CustomConstantExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(DebugExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(DefExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(DereferenceExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(EnumerationExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(ForeachExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(ForExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(FunctionCallExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(FunctionCallWithNamedArgs expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(FunctionExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(IfnullExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(IncDecExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(InstanceofExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(ListExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(MapExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(MethodCallExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(MethodExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(PropertyExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(PropertyLiteralExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(RecordConstructorExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(RecordExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(ReferenceExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(SetExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(SuperConstructorExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(SwitchExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(SyntheticExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(ThisConstructorExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(ThisExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(TryCatchExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(TypeExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(UnknownExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(VariableExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
public Void visit(WhileExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Void,RuntimeException>
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.