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 ClassesNested classes/interfaces inherited from class ch.tocco.nice2.conditionals.api.tree.ConditionNode
ConditionNode.FactorHandleNested 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()booleanprotected NodegetImpl(int index) getLeft()getRight()inthashCode()iterator()protected voidvoidsetLeft(FactorNode left) voidsetOperator(EquationNode.Operator operator) voidsetRight(FactorNode right) protected voidtoString(Node.ToString toString) protected voidvisitThis(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, sizeMethods inherited from class ch.tocco.nice2.conditionals.api.tree.Node
allChildren, and, and, 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, writeTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
equals
-
hashCode
public int hashCode() -
copy
- Specified by:
copyin classConditionNode
-
toString
-
getOperator
-
setOperator
-
getLeft
-
setLeft
-
getRight
-
setRight
-
getFactors
- Specified by:
getFactorsin classConditionNode
-
iterator
-
visitThis
protected void visitThis(ch.tocco.nice2.conditionals.api.tree.CursorImpl cursor, NodeVisitor visitor) - Overrides:
visitThisin classConditionNode
-
getImpl
- Specified by:
getImplin classConditionNode
-
setImpl
- Specified by:
setImplin classConditionNode
-