Package com.powsybl.dsl.ast
Class DefaultExpressionVisitor<R,A>
- java.lang.Object
-
- com.powsybl.dsl.ast.DefaultExpressionVisitor<R,A>
-
- All Implemented Interfaces:
ExpressionVisitor<R,A>
- Direct Known Subclasses:
DefaultActionExpressionVisitor
,ExpressionEvaluator
,ExpressionPrinter
public class DefaultExpressionVisitor<R,A> extends Object implements ExpressionVisitor<R,A>
- Author:
- Geoffroy Jamgotchian
-
-
Constructor Summary
Constructors Constructor Description DefaultExpressionVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description R
visitArithmeticOperator(ArithmeticBinaryOperatorNode node, A arg)
R
visitComparisonOperator(ComparisonOperatorNode node, A arg)
R
visitLiteral(AbstractLiteralNode node, A arg)
R
visitLogicalOperator(LogicalBinaryOperatorNode node, A arg)
R
visitNotOperator(LogicalNotOperator node, A arg)
-
-
-
Method Detail
-
visitComparisonOperator
public R visitComparisonOperator(ComparisonOperatorNode node, A arg)
- Specified by:
visitComparisonOperator
in interfaceExpressionVisitor<R,A>
-
visitLogicalOperator
public R visitLogicalOperator(LogicalBinaryOperatorNode node, A arg)
- Specified by:
visitLogicalOperator
in interfaceExpressionVisitor<R,A>
-
visitArithmeticOperator
public R visitArithmeticOperator(ArithmeticBinaryOperatorNode node, A arg)
- Specified by:
visitArithmeticOperator
in interfaceExpressionVisitor<R,A>
-
visitNotOperator
public R visitNotOperator(LogicalNotOperator node, A arg)
- Specified by:
visitNotOperator
in interfaceExpressionVisitor<R,A>
-
visitLiteral
public R visitLiteral(AbstractLiteralNode node, A arg)
- Specified by:
visitLiteral
in interfaceExpressionVisitor<R,A>
-
-