Class LexerATNFactory

    • Field Detail

      • codegenTemplates

        public STGroup codegenTemplates
      • COMMON_CONSTANTS

        public static final Map<String,Integer> COMMON_CONSTANTS
        Provides a map of names of predefined constants which are likely to appear as the argument for lexer commands. These names would be resolved by the Java compiler for lexer commands that are translated to embedded actions, but are required during code generation for creating LexerAction instances that are usable by a lexer interpreter.
      • indexToActionMap

        protected Map<Integer,LexerAction> indexToActionMap
        Maps from an action index to a LexerAction object.
      • actionToIndexMap

        protected Map<LexerAction,Integer> actionToIndexMap
        Maps from a LexerAction object to the action index.
    • Constructor Detail