Uses of Interface
org.parboiled.trees.GraphNode
Packages that use GraphNode
-
Uses of GraphNode in org.parboiled
Subinterfaces of GraphNode in org.parboiledModifier and TypeInterfaceDescriptioninterfaceNode<V>Represents a node in the parse tree created during a parsing run. -
Uses of GraphNode in org.parboiled.matchers
Subinterfaces of GraphNode in org.parboiled.matchersModifier and TypeInterfaceDescriptioninterfaceA Matcher instance is responsible for "executing" a specific Rule instance, i.e.Classes in org.parboiled.matchers that implement GraphNodeModifier and TypeClassDescriptionclassAbstract base class of most regularMatchers.classclassAMatchermatching any single character except EOI.classAMatchermatching a single character out of a givenCharactersset.classAMatchermatching a single character case-independently.classAMatchermatching a single given character.classAMatchermatching a single character out of a given range of characters.classBase class of custom matcher implementations.classAMatcherthat always successfully matches nothing.classAMatchertrying all of its submatchers in sequence and succeeding when the first submatcher succeeds.classA specialized FirstOfMatcher that handles FirstOf(string, string, ...) rules much faster that the regular FirstOfMatcher.classSpecial wrapping matcher that performs memoization of the last mismatch of the wrapped sub rule.classAMatcherthat never matches anything.classAMatcherthat repeatedly tries its submatcher against the input.classAMatcherthat tries its submatcher once against the input and always succeeds.classclassAMatcherthat executes all of its submatchers in sequence and only succeeds if all submatchers succeed.classASequenceMatcherspecialization for sequences of CharMatchers.classA specialMatchernot actually matching any input but rather trying its submatcher against the current input position.classA specialMatchernot actually matching any input but rather trying its submatcher against the current input position.classSpecial wrapping matcher that manages the creation and destruction of execution frames for a number of action vars.classAMatcherthat repeatedly tries its submatcher against the input. -
Uses of GraphNode in org.parboiled.trees
Classes in org.parboiled.trees with type parameters of type GraphNodeModifier and TypeInterfaceDescriptioninterfaceA node in a directed graph (that may have cycles).classImmutableGraphNode<T extends GraphNode<T>>A simple, immutableGraphNodeimplementation.Subinterfaces of GraphNode in org.parboiled.treesModifier and TypeInterfaceDescriptioninterfaceBinaryTreeNode<T extends BinaryTreeNode<T>>ATreeNodespecialization with only two child nodes, left and right.interfaceMutableBinaryTreeNode<T extends MutableBinaryTreeNode<T>>AMutableTreeNodespecialization also satisfying theBinaryTreeNodeinterface and providing mutability methods.interfaceMutableTreeNode<T extends MutableTreeNode<T>>ATreeNodespecialiation that allow for mutability of the tree structure.interfaceA specialization of aGraphNodethat contains a reference to its parent, thereby making the graph a tree (since each node can now have only one parent node).Classes in org.parboiled.trees that implement GraphNodeModifier and TypeClassDescriptionclassImmutableBinaryTreeNode<T extends BinaryTreeNode<T>>A simple immutable implementation of theBinaryTreeNodeinterface.classImmutableGraphNode<T extends GraphNode<T>>A simple, immutableGraphNodeimplementation.classImmutableTreeNode<T extends TreeNode<T>>AnImmutableGraphNodespecialization representing a tree node with a parent field linking back to the nodes (only) parent.classMutableBinaryTreeNodeImpl<T extends MutableBinaryTreeNode<T>>A simpleMutableBinaryTreeNodeimplementation based on theMutableTreeNodeImpl.classMutableTreeNodeImpl<T extends MutableTreeNode<T>>A base implementation of theMutableTreeNode.Methods in org.parboiled.trees with type parameters of type GraphNodeModifier and TypeMethodDescriptionstatic <T extends GraphNode<T>, C extends Collection<T>>
CGraphUtils.collectAllNodes(T node, C collection) Collects all nodes from the graph reachable from the given node in the given collection.static <T extends GraphNode<T>>
intGraphUtils.countAllDistinct(T node) Counts all distinct nodes in the graph reachable from the given node.static <T extends GraphNode<T>>
TGraphUtils.getFirstChild(T node) Returns the first child node of the given node or null if node is null or does not have any children.static <T extends GraphNode<T>>
TGraphUtils.getLastChild(T node) Returns the last child node of the given node or null if node is null or does not have any children.Creates a string representation of the graph reachable from the given node using the given formatter.GraphUtils.printTree(T node, Formatter<T> formatter, Predicate<T> nodeFilter, Predicate<T> subTreeFilter) Creates a string representation of the graph reachable from the given node using the given formatter.Methods in org.parboiled.trees with parameters of type GraphNodeModifier and TypeMethodDescriptionstatic booleanGraphUtils.hasChildren(GraphNode<?> node) Returns true if this node is not null and has at least one child node.