Package antlr

Class GrammarAtom

    • Field Detail

      • label

        protected String label
      • atomText

        protected String atomText
      • tokenType

        protected int tokenType
      • not

        protected boolean not
      • ASTNodeType

        protected String ASTNodeType
        Set to type of AST node to create during parse. Defaults to what is set in the TokenSymbol.
    • Constructor Detail

      • GrammarAtom

        public GrammarAtom​(Grammar g,
                           Token t,
                           int autoGenType)