Class EquationNode
java.lang.Object
ch.tocco.nice2.conditionals.api.tree.Node
ch.tocco.nice2.conditionals.api.tree.ConditionNode
ch.tocco.nice2.conditionals.api.tree.EquationNode
- All Implemented Interfaces:
NodeContainer
,Serializable
,Iterable<Node>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.tocco.nice2.conditionals.api.tree.ConditionNode
ConditionNode.FactorHandle
Nested classes/interfaces inherited from class ch.tocco.nice2.conditionals.api.tree.Node
Node.Annotation, Node.AnnotationKey, Node.Kind, Node.ToString
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
protected Node
getImpl
(int index) getLeft()
getRight()
int
hashCode()
iterator()
protected void
void
setLeft
(FactorNode left) void
setOperator
(EquationNode.Operator operator) void
setRight
(FactorNode right) protected void
toString
(Node.ToString toString) protected void
visitThis
(ch.tocco.nice2.conditionals.api.tree.CursorImpl cursor, NodeVisitor visitor) Methods inherited from class ch.tocco.nice2.conditionals.api.tree.ConditionNode
add, get, indexOf, insert, remove, set, size
Methods inherited from class ch.tocco.nice2.conditionals.api.tree.Node
allChildren, and, annotate, annotate, annotate, annotate, annotate, appendHash, appendHash, containsErroneous, copyTo, dump, dump, equation, equation, equation, funcall, funcall, funcall, funcall, funcall, funcall, funcall, get, get, getAnnotations, getEndLocation, getKind, getSource, getStartLocation, identifier, identifier, identifier, identifier, isAnd, isEquation, isErroneous, isFlagged, isFuncall, isIdentifier, isIsTrue, isLiteral, isNot, isOr, isTrue, isTrue, literal, literal, markErroneous, not, not, nullLiteral, or, parameter, parameter, parameter, path, path, process, readType, require, require, setDeserializationTypeManager, setEndLocation, setFlag, setSource, setStartLocation, toString, updateLocations, writeType
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
equals
-
hashCode
public int hashCode() -
copy
- Specified by:
copy
in classConditionNode
-
toString
-
getOperator
-
setOperator
-
getLeft
-
setLeft
-
getRight
-
setRight
-
getFactors
- Specified by:
getFactors
in classConditionNode
-
iterator
-
visitThis
protected void visitThis(ch.tocco.nice2.conditionals.api.tree.CursorImpl cursor, NodeVisitor visitor) - Overrides:
visitThis
in classConditionNode
-
getImpl
- Specified by:
getImpl
in classConditionNode
-
setImpl
- Specified by:
setImpl
in classConditionNode
-