Package com.helix.core.parser.ast
Class UnaryOpNode
java.lang.Object
com.helix.core.parser.ast.UnaryOpNode
- All Implemented Interfaces:
ExpressionNode
AST node representing unary operations (!, -).
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<R> Raccept(AstVisitor<R> visitor) Accepts an AST visitor.booleaninthashCode()toString()
-
Constructor Details
-
UnaryOpNode
-
-
Method Details
-
getOperator
-
getOperand
-
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
-