Class PathNode
java.lang.Object
ch.tocco.nice2.conditionals.api.tree.Node
ch.tocco.nice2.conditionals.api.tree.FactorNode
ch.tocco.nice2.conditionals.api.tree.PathNode
- 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
Fields inherited from class ch.tocco.nice2.conditionals.api.tree.FactorNode
type
-
Method Summary
Modifier and TypeMethodDescriptionvoid
copy()
boolean
get
(int index) int
hashCode()
int
void
boolean
isKeywordClass
(Class<? extends Enum> keywordClass) boolean
isKeywordPath
(Enum keyword) iterator()
void
remove
(int index) void
void
int
size()
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.FactorNode
getType
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
- Overrides:
equals
in classFactorNode
-
hashCode
public int hashCode()- Overrides:
hashCode
in classFactorNode
-
toString
-
copy
- Specified by:
copy
in classFactorNode
-
setType
-
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
-
identifiers
-
isKeywordPath
-
isKeywordClass
-
visitThis
protected void visitThis(ch.tocco.nice2.conditionals.api.tree.CursorImpl cursor, NodeVisitor visitor) - Overrides:
visitThis
in classFactorNode
-