Uses of Interface
org.parboiled.Node

Packages that use Node
Package
Description
 
 
  • Uses of Node in org.parboiled

    Subinterfaces with type arguments of type Node in org.parboiled
    Modifier and Type
    Interface
    Description
    interface 
    Node<V>
    Represents a node in the parse tree created during a parsing run.
    Methods in org.parboiled that return Node
    Modifier and Type
    Method
    Description
    MatcherContext.getNode()
     
    Methods in org.parboiled that return types with arguments of type Node
    Modifier and Type
    Method
    Description
    Context.getSubNodes()
    Returns the parse tree subnodes already created in the current context scope.
    MatcherContext.getSubNodes()
     
  • Uses of Node in org.parboiled.support

    Classes in org.parboiled.support that implement interfaces with type arguments of type Node
    Modifier and Type
    Class
    Description
    class 
    A simple Node predicate determining whether a Node matches a given label prefix.
    class 
    A simple Formatter that provides String representation for parse tree nodes.
    Fields in org.parboiled.support declared as Node
    Modifier and Type
    Field
    Description
    final Node<V>
    ParsingResult.parseTreeRoot
    The 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 final Predicate<Node<Object>>
    A predicate for Node tree printing, suppresses printing of parse tree nodes for Optional rules that do not have sub nodes.
    static final Predicate<Node<Object>>
    A predicate for Node tree printing, suppresses printing of parse tree nodes for Optional and ZeroOrMore rules that do not have sub nodes.
    static final Predicate<Node<Object>>
    A 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 Collection<Node<V>>>
    C
    ParseTreeUtils.collectNodes(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 Collection<Node<V>>>
    C
    ParseTreeUtils.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 Collection<Node<V>>>
    C
    ParseTreeUtils.collectNodesByPath(List<Node<V>> parents, String path, C collection)
    Collects all nodes underneath the given parents that match the given path.
    static <V, C extends Collection<Node<V>>>
    C
    ParseTreeUtils.collectNodesByPath(Node<V> parent, 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(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(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(List<Node<V>> parents, 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, String labelPrefix)
    Returns the first node underneath the given parent for which matches the given label prefix.
    static <V> Node<V>
    ParseTreeUtils.findNodeByPath(List<Node<V>> parents, String path)
    Returns the node underneath the given parents that matches the given path.
    static <V> Node<V>
    ParseTreeUtils.findNodeByPath(Node<V> parent, 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
    boolean
    LabelPrefixPredicate.apply(Node<V> input)
     
    static <V, C extends Collection<Node<V>>>
    C
    ParseTreeUtils.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 Collection<Node<V>>>
    C
    ParseTreeUtils.collectNodesByPath(Node<V> parent, 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, 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, String path)
    Returns the parse tree node underneath the given parent that matches the given path.
    NodeFormatter.format(Node<V> node)
     
    static String
    ParseTreeUtils.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 Collection<Node<V>>>
    C
    ParseTreeUtils.collectNodes(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 Collection<Node<V>>>
    C
    ParseTreeUtils.collectNodes(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 Collection<Node<V>>>
    C
    ParseTreeUtils.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 Collection<Node<V>>>
    C
    ParseTreeUtils.collectNodesByPath(List<Node<V>> parents, String path, C collection)
    Collects all nodes underneath the given parents that match the given path.
    static <V> Node<V>
    ParseTreeUtils.findLastNode(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(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(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(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(List<Node<V>> parents, String labelPrefix)
    Returns the first node underneath the given parents which matches the given label prefix.
    static <V> Node<V>
    ParseTreeUtils.findNodeByPath(List<Node<V>> parents, String path)
    Returns the node underneath the given parents that matches the given path.
    static <V> String
    ParseTreeUtils.printNodeTree(ParsingResult<V> parsingResult, Predicate<Node<V>> nodeFilter, Predicate<Node<V>> subTreeFilter)
    Creates a readable string represenation of the parse tree in thee given ParsingResult object.
    Constructors in org.parboiled.support with parameters of type Node
    Modifier
    Constructor
    Description
     
    ParsingResult(boolean matched, Node<V> parseTreeRoot, ValueStack<V> valueStack, List<ParseError> parseErrors, InputBuffer inputBuffer)
    Creates a new ParsingResult.