Class ANTLRParser.GrammarASTErrorNode

  • All Implemented Interfaces:
    org.antlr.runtime.tree.Tree
    Enclosing class:
    ANTLRParser

    private static class ANTLRParser.GrammarASTErrorNode
    extends GrammarAST
    • Field Detail

      • input

        public org.antlr.runtime.IntStream input
      • start

        public org.antlr.runtime.Token start
      • stop

        public org.antlr.runtime.Token stop
      • trappedException

        public org.antlr.runtime.RecognitionException trappedException
    • Constructor Detail

      • GrammarASTErrorNode

        public GrammarASTErrorNode​(org.antlr.runtime.TokenStream input,
                                   org.antlr.runtime.Token start,
                                   org.antlr.runtime.Token stop,
                                   org.antlr.runtime.RecognitionException e)
    • Method Detail

      • isNil

        public boolean isNil()
        Specified by:
        isNil in interface org.antlr.runtime.tree.Tree
        Overrides:
        isNil in class org.antlr.runtime.tree.CommonTree
      • getText

        public java.lang.String getText()
        Specified by:
        getText in interface org.antlr.runtime.tree.Tree
        Overrides:
        getText in class GrammarAST
      • setText

        public void setText​(java.lang.String value)
        Overrides:
        setText in class GrammarAST
      • getType

        public int getType()
        Specified by:
        getType in interface org.antlr.runtime.tree.Tree
        Overrides:
        getType in class GrammarAST
      • setType

        public void setType​(int value)
        Overrides:
        setType in class GrammarAST
      • toString

        public java.lang.String toString()
        Specified by:
        toString in interface org.antlr.runtime.tree.Tree
        Overrides:
        toString in class org.antlr.runtime.tree.CommonTree