Class SuperNode
java.lang.Object
org.eclipse.ditto.rql.model.predicates.ast.SuperNode
- All Implemented Interfaces:
Node
- Direct Known Subclasses:
LogicalNode,RootNode
A super node is a node in the AST that can have other nodes as children.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(PredicateVisitor predicateVisitor) PredicateVisitor Pattern.booleanRetrieve all children of this super node.inthashCode()toString()
-
Constructor Details
-
SuperNode
protected SuperNode()Constructor. Creates an instance of a super node.
-
-
Method Details
-
getChildren
Retrieve all children of this super node.- Returns:
- a list of all children.
-
accept
PredicateVisitor Pattern. Takes a visitor as parameter and calls the corresponding visit method with itself as parameter. -
toString
-
hashCode
public int hashCode() -
equals
-