Package nz.org.riskscape.rl.ast
Class MinimalVisitor<T>
java.lang.Object
nz.org.riskscape.rl.ast.MinimalVisitor<T>
- Type Parameters:
T
- return type and data type
- All Implemented Interfaces:
ExpressionVisitor<T,
T>
Subclass of ExpressionVisitor
that does a traversal through the AST, without modifying anything. Useful
for visitors that only want to inspect a specific part of an expression.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvisit
(BinaryOperation expression, T data) visit
(BracketedExpression expression, T data) visit
(FunctionCall expression, T data) visit
(ListDeclaration expression, T data) visit
(ParameterToken parameterToken, T data) visit
(PropertyAccess expression, T data) visit
(SelectAllExpression expression, T data) visit
(StructDeclaration expression, T data)
-
Constructor Details
-
MinimalVisitor
public MinimalVisitor()
-
-
Method Details
-
visit
- Specified by:
visit
in interfaceExpressionVisitor<T,
T>
-
visit
- Specified by:
visit
in interfaceExpressionVisitor<T,
T>
-
visit
- Specified by:
visit
in interfaceExpressionVisitor<T,
T>
-
visit
- Specified by:
visit
in interfaceExpressionVisitor<T,
T>
-
visit
- Specified by:
visit
in interfaceExpressionVisitor<T,
T>
-
visit
- Specified by:
visit
in interfaceExpressionVisitor<T,
T>
-
visit
- Specified by:
visit
in interfaceExpressionVisitor<T,
T>
-
visit
- Specified by:
visit
in interfaceExpressionVisitor<T,
T>
-
visit
- Specified by:
visit
in interfaceExpressionVisitor<T,
T>
-
visit
- Specified by:
visit
in interfaceExpressionVisitor<T,
T>
-