public class ChildrenExpressionVisitor extends Object implements ExpressionVisitor<Object,RuntimeException>
Constructor and Description |
---|
ChildrenExpressionVisitor() |
Modifier and Type | Method and Description |
---|---|
Object |
visit(AssignmentExpression expression)
Visits an assignment expression.
|
Object |
visit(BlockExpression expression)
Visits a block expression.
|
Object |
visit(BreakExpression expression)
Visits a break expression.
|
Object |
visit(CastExpression expression)
Visits a cast expression.
|
Object |
visit(ChainedExpression expression)
Visits a chained expression.
|
Object |
visit(ClosureExpression expression)
Visits a closure.
|
Object |
visit(ClosureInvocationExpression expression)
Visits a closure invocation expression.
|
Object |
visit(CompoundAssignmentExpression expression)
Visits an compound assignment expression.
|
Object |
visit(ConditionalExpression expression)
Visits a conditional expression.
|
Object |
visit(ConstantExpression expression)
Visits a constant.
|
Object |
visit(ContinueExpression expression)
Visits a continue expression.
|
Object |
visit(CustomConstantExpression expression)
Visits a custom constant expression (a constant defined by user).
|
Object |
visit(DebugExpression expression)
Visits a debug expression.
|
Object |
visit(DefExpression expression)
Visits a define expression.
|
Object |
visit(DereferenceExpression expression)
Visits a dereference expression.
|
Object |
visit(EnumerationExpression expression)
Visits an enumeration expression.
|
Object |
visit(ForeachExpression expression)
Visits a foreach expression.
|
Object |
visit(ForExpression expression)
Visits a for expression.
|
Object |
visit(FunctionCallExpression expression)
Visits a function call.
|
Object |
visit(FunctionCallWithNamedArgs expression)
Visits a function call with named args expression.
|
Object |
visit(FunctionExpression expression)
Visits a function expression.
|
Object |
visit(IfnullExpression expression)
Visits an ifnull expression.
|
Object |
visit(IncDecExpression expression)
Visits a increment/decrement expression.
|
Object |
visit(InstanceofExpression expression)
Visits an instanceof expression.
|
Object |
visit(ListExpression expression)
Visits a list expression.
|
Object |
visit(MapExpression expression)
Visits a map expression.
|
Object |
visit(MethodCallExpression expression)
Visits a method call.
|
Object |
visit(MethodExpression expression)
Visits a method expression.
|
Object |
visit(PropertyExpression expression)
Visits a property expression.
|
Object |
visit(PropertyLiteralExpression expression)
Visits a property literal expression.
|
Object |
visit(RecordConstructorExpression expression)
Visits a record constructor expression.
|
Object |
visit(RecordExpression expression)
Visits a record expression.
|
Object |
visit(ReferenceExpression expression)
Visits a reference expression.
|
Object |
visit(SetExpression expression)
Visits a set expression.
|
Object |
visit(SuperConstructorExpression expression)
Visits a super constructor expression.
|
Object |
visit(SwitchExpression expression)
Visits a switch expression.
|
Object |
visit(SyntheticExpression expression)
Visits an synthetic expression.
|
Object |
visit(ThisConstructorExpression expression)
Visits a this constructor expression.
|
Object |
visit(ThisExpression expression)
Visits this.
|
Object |
visit(TryCatchExpression expression)
Visits a try-catch expression.
|
Object |
visit(TypeExpression expression)
Visits a type literal expression.
|
Object |
visit(UnknownExpression expression)
Visits an unknown expression.
|
Object |
visit(VariableExpression expression)
Visits a variable.
|
Object |
visit(WhileExpression expression)
Visits a while expresion.
|
protected void |
visitChild(Expression expression)
Called for each child of the given node.
|
protected boolean |
visitEnter(Expression expression)
Notifies the visitor that the visiting process is entering a node.
|
protected void |
visitLeave(Expression expression)
Notifies the visitor that the visiting process is leaving a node.
|
protected boolean visitEnter(Expression expression)
The method returns true
to visit all children, or
false
to indicate that the children should not be visited.
The default implementation returns true
.
expression
- true
if the children should be visited,
false
otherwiseprotected void visitLeave(Expression expression)
The default implementation does nothing.
expression
- protected void visitChild(Expression expression)
expression
- public Object visit(FunctionCallExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(MethodCallExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(ClosureInvocationExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(ClosureExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(ConstantExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(SyntheticExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(ListExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(MapExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(FunctionExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(PropertyExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(RecordExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(RecordConstructorExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(ThisConstructorExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(SuperConstructorExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(ReferenceExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(SetExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(TryCatchExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(SwitchExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(VariableExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(AssignmentExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(ChainedExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(DereferenceExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(DefExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(ConditionalExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(IfnullExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(EnumerationExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(CustomConstantExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(WhileExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(ForExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(ForeachExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(CastExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(InstanceofExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(PropertyLiteralExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(TypeExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(FunctionCallWithNamedArgs expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(ThisExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(IncDecExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(DebugExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(BlockExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(BreakExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(ContinueExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(MethodExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(UnknownExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
public Object visit(CompoundAssignmentExpression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor<Object,RuntimeException>
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.