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 ClassesNested classes/interfaces inherited from class Node
Node.Annotation, Node.AnnotationKey, Node.Kind, Node.ToString -
Method Summary
Modifier and TypeMethodDescriptionvoidabstract ConditionNodecopy()get(int index) abstract FactorNode[]protected abstract NodegetImpl(int index) intvoidvoidremove(int index) voidprotected abstract voidintsize()protected voidvisitThis(ch.tocco.nice2.conditionals.api.tree.CursorImpl cursor, NodeVisitor visitor) Methods inherited from class Node
allChildren, and, and, 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, writeTypeMethods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface NodeContainer
iterator
-
Method Details
-
copy
-
getFactors
-
size
public int size()- Specified by:
sizein interfaceNodeContainer
-
get
- Specified by:
getin interfaceNodeContainer
-
indexOf
- Specified by:
indexOfin interfaceNodeContainer
-
add
- Specified by:
addin interfaceNodeContainer
-
insert
- Specified by:
insertin interfaceNodeContainer
-
remove
public void remove(int index) - Specified by:
removein interfaceNodeContainer
-
set
- Specified by:
setin interfaceNodeContainer
-
visitThis
protected void visitThis(ch.tocco.nice2.conditionals.api.tree.CursorImpl cursor, NodeVisitor visitor) -
getImpl
-
setImpl
-