Uses of Interface
org.parboiled.Node
-
Packages that use Node Package Description org.parboiled org.parboiled.support -
-
Uses of Node in org.parboiled
Methods in org.parboiled that return Node Modifier and Type Method Description Node<V>MatcherContext. getNode()Methods in org.parboiled that return types with arguments of type Node Modifier and Type Method Description java.util.List<Node<V>>Context. getSubNodes()Returns the parse tree subnodes already created in the current context scope.ImmutableLinkedList<Node<V>>MatcherContext. getSubNodes() -
Uses of Node in org.parboiled.support
Fields in org.parboiled.support declared as Node Modifier and Type Field Description Node<V>ParsingResult. parseTreeRootThe root node of the parse tree created by the parsing run.Fields in org.parboiled.support with type parameters of type Node Modifier and Type Field Description static Predicate<Node<java.lang.Object>>Filters. SKIP_EMPTY_OPTSA predicate for Node tree printing, suppresses printing of parse tree nodes for Optional rules that do not have sub nodes.static Predicate<Node<java.lang.Object>>Filters. SKIP_EMPTY_OPTS_AND_ZOMSA predicate for Node tree printing, suppresses printing of parse tree nodes for Optional and ZeroOrMore rules that do not have sub nodes.static Predicate<Node<java.lang.Object>>Filters. SKIP_EMPTY_ZOMSA predicate for Node tree printing, suppresses printing of parse tree nodes for ZeroOrMore rules that do not have sub nodes.Methods in org.parboiled.support with type parameters of type Node Modifier and Type Method Description static <V,C extends java.util.Collection<Node<V>>>
CParseTreeUtils. collectNodes(java.util.List<Node<V>> parents, Predicate<Node<V>> predicate, C collection)Collects all nodes underneath the given parents for which the given predicate evaluates to true.static <V,C extends java.util.Collection<Node<V>>>
CParseTreeUtils. collectNodes(Node<V> parent, Predicate<Node<V>> predicate, C collection)Collects all nodes underneath the given parent for which the given predicate evaluates to true.static <V,C extends java.util.Collection<Node<V>>>
CParseTreeUtils. collectNodesByPath(java.util.List<Node<V>> parents, java.lang.String path, C collection)Collects all nodes underneath the given parents that match the given path.static <V,C extends java.util.Collection<Node<V>>>
CParseTreeUtils. collectNodesByPath(Node<V> parent, java.lang.String path, C collection)Collects all nodes underneath the given parent that match the given path.Methods in org.parboiled.support that return Node Modifier and Type Method Description static <V> Node<V>ParseTreeUtils. findLastNode(java.util.List<Node<V>> parents, Predicate<Node<V>> predicate)Returns the last node underneath the given parents for which the given predicate evaluates to true.static <V> Node<V>ParseTreeUtils. findLastNode(Node<V> parent, Predicate<Node<V>> predicate)Returns the last node underneath the given parent for which the given predicate evaluates to true.static <V> Node<V>ParseTreeUtils. findNode(java.util.List<Node<V>> parents, Predicate<Node<V>> predicate)Returns the first node underneath the given parents for which the given predicate evaluates to true.static <V> Node<V>ParseTreeUtils. findNode(Node<V> parent, Predicate<Node<V>> predicate)Returns the first node underneath the given parent for which the given predicate evaluates to true.static <V> Node<V>ParseTreeUtils. findNodeByLabel(java.util.List<Node<V>> parents, java.lang.String labelPrefix)Returns the first node underneath the given parents which matches the given label prefix.static <V> Node<V>ParseTreeUtils. findNodeByLabel(Node<V> parent, java.lang.String labelPrefix)Returns the first node underneath the given parent for which matches the given label prefix.static <V> Node<V>ParseTreeUtils. findNodeByPath(java.util.List<Node<V>> parents, java.lang.String path)Returns the node underneath the given parents that matches the given path.static <V> Node<V>ParseTreeUtils. findNodeByPath(Node<V> parent, java.lang.String path)Returns the parse tree node underneath the given parent that matches the given path.Methods in org.parboiled.support with parameters of type Node Modifier and Type Method Description booleanLabelPrefixPredicate. apply(Node<V> input)static <V,C extends java.util.Collection<Node<V>>>
CParseTreeUtils. collectNodes(Node<V> parent, Predicate<Node<V>> predicate, C collection)Collects all nodes underneath the given parent for which the given predicate evaluates to true.static <V,C extends java.util.Collection<Node<V>>>
CParseTreeUtils. collectNodesByPath(Node<V> parent, java.lang.String path, C collection)Collects all nodes underneath the given parent that match the given path.static <V> Node<V>ParseTreeUtils. findLastNode(Node<V> parent, Predicate<Node<V>> predicate)Returns the last node underneath the given parent for which the given predicate evaluates to true.static <V> Node<V>ParseTreeUtils. findNode(Node<V> parent, Predicate<Node<V>> predicate)Returns the first node underneath the given parent for which the given predicate evaluates to true.static <V> Node<V>ParseTreeUtils. findNodeByLabel(Node<V> parent, java.lang.String labelPrefix)Returns the first node underneath the given parent for which matches the given label prefix.static <V> Node<V>ParseTreeUtils. findNodeByPath(Node<V> parent, java.lang.String path)Returns the parse tree node underneath the given parent that matches the given path.java.lang.StringNodeFormatter. format(Node<V> node)static java.lang.StringParseTreeUtils. getNodeText(Node<?> node, InputBuffer inputBuffer)Returns the input text matched by the given node, with error correction.Method parameters in org.parboiled.support with type arguments of type Node Modifier and Type Method Description static <V,C extends java.util.Collection<Node<V>>>
CParseTreeUtils. collectNodes(java.util.List<Node<V>> parents, Predicate<Node<V>> predicate, C collection)Collects all nodes underneath the given parents for which the given predicate evaluates to true.static <V,C extends java.util.Collection<Node<V>>>
CParseTreeUtils. collectNodes(java.util.List<Node<V>> parents, Predicate<Node<V>> predicate, C collection)Collects all nodes underneath the given parents for which the given predicate evaluates to true.static <V,C extends java.util.Collection<Node<V>>>
CParseTreeUtils. collectNodes(Node<V> parent, Predicate<Node<V>> predicate, C collection)Collects all nodes underneath the given parent for which the given predicate evaluates to true.static <V,C extends java.util.Collection<Node<V>>>
CParseTreeUtils. collectNodesByPath(java.util.List<Node<V>> parents, java.lang.String path, C collection)Collects all nodes underneath the given parents that match the given path.static <V> Node<V>ParseTreeUtils. findLastNode(java.util.List<Node<V>> parents, Predicate<Node<V>> predicate)Returns the last node underneath the given parents for which the given predicate evaluates to true.static <V> Node<V>ParseTreeUtils. findLastNode(java.util.List<Node<V>> parents, Predicate<Node<V>> predicate)Returns the last node underneath the given parents for which the given predicate evaluates to true.static <V> Node<V>ParseTreeUtils. findLastNode(Node<V> parent, Predicate<Node<V>> predicate)Returns the last node underneath the given parent for which the given predicate evaluates to true.static <V> Node<V>ParseTreeUtils. findNode(java.util.List<Node<V>> parents, Predicate<Node<V>> predicate)Returns the first node underneath the given parents for which the given predicate evaluates to true.static <V> Node<V>ParseTreeUtils. findNode(java.util.List<Node<V>> parents, Predicate<Node<V>> predicate)Returns the first node underneath the given parents for which the given predicate evaluates to true.static <V> Node<V>ParseTreeUtils. findNode(Node<V> parent, Predicate<Node<V>> predicate)Returns the first node underneath the given parent for which the given predicate evaluates to true.static <V> Node<V>ParseTreeUtils. findNodeByLabel(java.util.List<Node<V>> parents, java.lang.String labelPrefix)Returns the first node underneath the given parents which matches the given label prefix.static <V> Node<V>ParseTreeUtils. findNodeByPath(java.util.List<Node<V>> parents, java.lang.String path)Returns the node underneath the given parents that matches the given path.static <V> java.lang.StringParseTreeUtils. printNodeTree(ParsingResult<V> parsingResult, Predicate<Node<V>> nodeFilter, Predicate<Node<V>> subTreeFilter)Creates a readable string represenation of the parse tree in thee givenParsingResultobject.Constructors in org.parboiled.support with parameters of type Node Constructor Description ParsingResult(boolean matched, Node<V> parseTreeRoot, ValueStack<V> valueStack, java.util.List<ParseError> parseErrors, InputBuffer inputBuffer)Creates a new ParsingResult.
-