Class ConditionNode
java.lang.Object
ch.tocco.nice2.conditionals.api.tree.Node
ch.tocco.nice2.conditionals.api.tree.ConditionNode
- All Implemented Interfaces:
NodeContainer
,Serializable
,Iterable<Node>
- Direct Known Subclasses:
EquationNode
,IsTrueNode
- See Also:
-
Nested Class Summary
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 TypeMethodDescriptionvoid
abstract ConditionNode
copy()
get
(int index) abstract FactorNode[]
protected abstract Node
getImpl
(int index) int
void
void
remove
(int index) void
protected abstract void
int
size()
protected void
visitThis
(ch.tocco.nice2.conditionals.api.tree.CursorImpl cursor, NodeVisitor visitor) Methods inherited from class ch.tocco.nice2.conditionals.api.tree.Node
allChildren, and, annotate, annotate, annotate, annotate, annotate, appendHash, appendHash, containsErroneous, copyTo, dump, dump, equals, equation, equation, equation, funcall, funcall, funcall, funcall, funcall, funcall, funcall, get, get, getAnnotations, getEndLocation, getKind, getSource, getStartLocation, hashCode, 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, 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
Methods inherited from interface ch.tocco.nice2.conditionals.api.tree.NodeContainer
iterator
-
Method Details
-
copy
-
getFactors
-
size
public int size()- Specified by:
size
in interfaceNodeContainer
-
get
- Specified by:
get
in interfaceNodeContainer
-
indexOf
- Specified by:
indexOf
in interfaceNodeContainer
-
add
- Specified by:
add
in interfaceNodeContainer
-
insert
- Specified by:
insert
in interfaceNodeContainer
-
remove
public void remove(int index) - Specified by:
remove
in interfaceNodeContainer
-
set
- Specified by:
set
in interfaceNodeContainer
-
visitThis
protected void visitThis(ch.tocco.nice2.conditionals.api.tree.CursorImpl cursor, NodeVisitor visitor) -
getImpl
-
setImpl
-