Class ParseNode


  • public class ParseNode
    extends Object
    Node of a parse tree.
    • Constructor Detail

      • ParseNode

        public ParseNode​(int startIndex,
                         int endIndex,
                         List<ParseNode> children,
                         Matcher matcher)
      • ParseNode

        public ParseNode​(int startIndex,
                         int endIndex,
                         Matcher matcher)
        Leaf node.
    • Method Detail

      • getStartIndex

        public int getStartIndex()
      • getEndIndex

        public int getEndIndex()
        Be aware that element of input with this index is not included into this node.
      • getMatcher

        public Matcher getMatcher()