Package com.helix.core.parser.ast
Class BinaryOpNode
java.lang.Object
com.helix.core.parser.ast.BinaryOpNode
- All Implemented Interfaces:
ExpressionNode
- Direct Known Subclasses:
BinaryExpressionNode,ComparisonNode
AST node representing binary operations (+, -, *, /, >, >=, <, <=, ==, !=, &&, ||).
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionBinaryOpNode(BinaryOpNode.Operator operator, ExpressionNode left, ExpressionNode right) -
Method Summary
-
Constructor Details
-
BinaryOpNode
-
-
Method Details
-
getOperator
-
getLeft
-
getRight
-
accept
Description copied from interface:ExpressionNodeAccepts an AST visitor.- Specified by:
acceptin interfaceExpressionNode- Type Parameters:
R- return type- Parameters:
visitor- the visitor- Returns:
- result from visitor
-
equals
-
hashCode
public int hashCode() -
toString
-