Class LogicalNode
java.lang.Object
ch.tocco.nice2.conditionals.api.tree.Node
ch.tocco.nice2.conditionals.api.tree.LogicalNode
- All Implemented Interfaces:
NodeContainer
,Serializable
,Iterable<Node>
- 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
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
abstract LogicalNode
copy()
boolean
get
(int index) int
hashCode()
int
void
iterator()
void
remove
(int index) 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, 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, 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
-
Field Details
-
container
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
copy
-
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
-
iterator
- Specified by:
iterator
in interfaceIterable<Node>
- Specified by:
iterator
in interfaceNodeContainer
-
visitThis
protected void visitThis(ch.tocco.nice2.conditionals.api.tree.CursorImpl cursor, NodeVisitor visitor)
-