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 Node
Node.Annotation, Node.AnnotationKey, Node.Kind, Node.ToString -
Field Summary
Fields inherited from class FactorNode
type -
Method Summary
Modifier and TypeMethodDescriptionvoidcopy()booleanget(int index) inthashCode()intvoidbooleanisKeywordClass(Class<? extends Enum> keywordClass) booleanisKeywordPath(Enum keyword) iterator()voidremove(int index) voidvoidintsize()protected voidtoString(Node.ToString toString) protected voidvisitThis(ch.tocco.nice2.conditionals.api.tree.CursorImpl cursor, NodeVisitor visitor) Methods inherited from class FactorNode
getTypeMethods inherited from class 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 interface Iterable
forEach, spliterator
-
Method Details
-
equals
- Overrides:
equalsin classFactorNode
-
hashCode
public int hashCode()- Overrides:
hashCodein classFactorNode
-
toString
-
copy
- Specified by:
copyin classFactorNode
-
setType
-
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
-
iterator
- Specified by:
iteratorin interfaceIterable<Node>- Specified by:
iteratorin interfaceNodeContainer
-
identifiers
-
isKeywordPath
-
isKeywordClass
-
visitThis
protected void visitThis(ch.tocco.nice2.conditionals.api.tree.CursorImpl cursor, NodeVisitor visitor) - Overrides:
visitThisin classFactorNode
-