Uses of Interface
org.parboiled.trees.TreeNode
-
Packages that use TreeNode Package Description org.parboiled org.parboiled.trees -
-
Uses of TreeNode in org.parboiled
Subinterfaces of TreeNode in org.parboiled Modifier and Type Interface Description interface
Node<V>
Represents a node in the parse tree created during a parsing run. -
Uses of TreeNode in org.parboiled.trees
Classes in org.parboiled.trees with type parameters of type TreeNode Modifier and Type Class Description class
ImmutableTreeNode<T extends TreeNode<T>>
AnImmutableGraphNode
specialization representing a tree node with a parent field linking back to the nodes (only) parent.interface
TreeNode<T extends TreeNode<T>>
A specialization of aGraphNode
that contains a reference to its parent, thereby making the graph a tree (since each node can now have only one parent node).Subinterfaces of TreeNode in org.parboiled.trees Modifier and Type Interface Description interface
BinaryTreeNode<T extends BinaryTreeNode<T>>
ATreeNode
specialization with only two child nodes, left and right.interface
MutableBinaryTreeNode<T extends MutableBinaryTreeNode<T>>
AMutableTreeNode
specialization also satisfying theBinaryTreeNode
interface and providing mutability methods.interface
MutableTreeNode<T extends MutableTreeNode<T>>
ATreeNode
specialiation that allow for mutability of the tree structure.Classes in org.parboiled.trees that implement TreeNode Modifier and Type Class Description class
ImmutableBinaryTreeNode<T extends BinaryTreeNode<T>>
A simple immutable implementation of theBinaryTreeNode
interface.class
ImmutableTreeNode<T extends TreeNode<T>>
AnImmutableGraphNode
specialization representing a tree node with a parent field linking back to the nodes (only) parent.class
MutableBinaryTreeNodeImpl<T extends MutableBinaryTreeNode<T>>
A simpleMutableBinaryTreeNode
implementation based on theMutableTreeNodeImpl
.class
MutableTreeNodeImpl<T extends MutableTreeNode<T>>
A base implementation of theMutableTreeNode
.Methods in org.parboiled.trees with type parameters of type TreeNode Modifier and Type Method Description static <T extends TreeNode<T>>
TTreeUtils. getRoot(T node)
Returns the root of the tree the given node is part of.
-