Package antlr

Class DefineGrammarSymbols

  • All Implemented Interfaces:
    ANTLRGrammarParseBehavior
    Direct Known Subclasses:
    MakeGrammar

    public class DefineGrammarSymbols
    extends java.lang.Object
    implements ANTLRGrammarParseBehavior
    DefineGrammarSymbols is a behavior for the ANTLRParser that adds all the token and rule symbols to the grammar symbol table. Token types are assigned to token symbols in this class also. The token type for a token is done in the order seen (lexically).