Package org.parboiled

Interface Node<V>

    • Method Detail

      • getMatcher

        Matcher getMatcher()
        Returns the matcher that created this node.
        Returns:
        the matcher that created this node.
      • getLabel

        String getLabel()
        Returns the label of this node which is equal to the name of the rule that created this node
        Returns:
        the label of this node
      • getStartIndex

        int getStartIndex()
        Returns the start index of this nodes text in the underlying input buffer.
        Returns:
        the start index
      • getEndIndex

        int getEndIndex()
        Returns the end index of this nodes text in the underlying input buffer, i.e. the index of the character immediately following the last character matched by this node.
        Returns:
        the end index
      • getValue

        V getValue()
        Returns the value object attached to this node.
        Returns:
        the value object
      • hasError

        boolean hasError()
        Returns:
        true if there were parse errors in the input range covered by this node