Uses of Interface
org.parboiled.trees.GraphNode
-
Packages that use GraphNode Package Description org.parboiled org.parboiled.matchers org.parboiled.trees -
-
Uses of GraphNode in org.parboiled
Subinterfaces of GraphNode in org.parboiled Modifier and Type Interface Description interfaceNode<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.matchers Modifier and Type Interface Description interfaceMatcherA Matcher instance is responsible for "executing" a specific Rule instance, i.e.Classes in org.parboiled.matchers that implement GraphNode Modifier and Type Class Description classAbstractMatcherAbstract base class of most regularMatchers.classActionMatcherclassAnyMatcherAMatchermatching any single character except EOI.classAnyOfMatcherAMatchermatching a single character out of a givenCharactersset.classCharIgnoreCaseMatcherAMatchermatching a single character case-independently.classCharMatcherAMatchermatching a single given character.classCharRangeMatcherAMatchermatching a single character out of a given range of characters.classCustomMatcherBase class of custom matcher implementations.classEmptyMatcherAMatcherthat always successfully matches nothing.classFirstOfMatcherAMatchertrying all of its submatchers in sequence and succeeding when the first submatcher succeeds.classFirstOfStringsMatcherA specialized FirstOfMatcher that handles FirstOf(string, string, ...) rules much faster that the regular FirstOfMatcher.classMemoMismatchesMatcherSpecial wrapping matcher that performs memoization of the last mismatch of the wrapped sub rule.classNothingMatcherAMatcherthat never matches anything.classOneOrMoreMatcherAMatcherthat repeatedly tries its submatcher against the input.classOptionalMatcherAMatcherthat tries its submatcher once against the input and always succeeds.classProxyMatcherclassSequenceMatcherAMatcherthat executes all of its submatchers in sequence and only succeeds if all submatchers succeed.classStringMatcherASequenceMatcherspecialization for sequences of CharMatchers.classTestMatcherA specialMatchernot actually matching any input but rather trying its submatcher against the current input position.classTestNotMatcherA specialMatchernot actually matching any input but rather trying its submatcher against the current input position.classVarFramingMatcherSpecial wrapping matcher that manages the creation and destruction of execution frames for a number of action vars.classZeroOrMoreMatcherAMatcherthat repeatedly tries its submatcher against the input. -
Uses of GraphNode in org.parboiled.trees
Classes in org.parboiled.trees with type parameters of type GraphNode Modifier and Type Interface Description interfaceGraphNode<T extends GraphNode<T>>A node in a directed graph (that may have cycles).classImmutableGraphNode<T extends GraphNode<T>>A simple, immutableGraphNodeimplementation.Subinterfaces of GraphNode in org.parboiled.trees Modifier and Type Interface Description interfaceBinaryTreeNode<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.interfaceTreeNode<T extends TreeNode<T>>A 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 GraphNode Modifier and Type Class Description classImmutableBinaryTreeNode<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 GraphNode Modifier and Type Method Description static <T extends GraphNode<T>,C extends java.util.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.static <T extends GraphNode<T>>
java.lang.StringGraphUtils. printTree(T node, Formatter<T> formatter)Creates a string representation of the graph reachable from the given node using the given formatter.static <T extends GraphNode<T>>
java.lang.StringGraphUtils. 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 GraphNode Modifier and Type Method Description static booleanGraphUtils. hasChildren(GraphNode<?> node)Returns true if this node is not null and has at least one child node.
-