Package one.gfw.antlr4.sql.freemarker
Class FreemarkerLexer
- java.lang.Object
-
- org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
- org.antlr.v4.runtime.Lexer
-
- one.gfw.antlr4.sql.freemarker.FreemarkerLexer
-
- All Implemented Interfaces:
org.antlr.v4.runtime.TokenSource
public class FreemarkerLexer extends org.antlr.v4.runtime.Lexer
-
-
Field Summary
Fields Modifier and Type Field Description static org.antlr.v4.runtime.atn.ATN_ATNprotected static org.antlr.v4.runtime.dfa.DFA[]_decisionToDFAstatic String_serializedATNprotected static org.antlr.v4.runtime.atn.PredictionContextCache_sharedContextCachestatic String[]channelNamesstatic intCOMMENTstatic intCONTENTstatic intDOUBLE_QUOTE_STRING_MODEstatic intDQS_CONTENTstatic intDQS_ENTER_EXPRstatic intDQS_ESCAPEstatic intDQS_EXITstatic intEND_DIRECTIVE_TAGstatic intEND_USER_DIR_TAGstatic intEXPR_ADDstatic intEXPR_ASstatic intEXPR_ASSIGNstatic intEXPR_ATstatic intEXPR_BANGstatic intEXPR_COLONstatic intEXPR_COMENTstatic intEXPR_COMMAstatic intEXPR_COMPARE_EQstatic intEXPR_COMPARE_NEQstatic intEXPR_DBL_QUESTIONstatic intEXPR_DIVstatic intEXPR_DOTstatic intEXPR_DOUBLE_STR_STARTstatic intEXPR_ELSEstatic intEXPR_ELSEIFstatic intEXPR_EQstatic intEXPR_EXIT_DIV_GTstatic intEXPR_EXIT_GTstatic intEXPR_EXIT_R_BRACEstatic intEXPR_FALSEstatic intEXPR_GT_STRstatic intEXPR_GTE_STRstatic intEXPR_GTE_SYMstatic intEXPR_IFstatic intEXPR_IMPORTstatic intEXPR_INCLUDEstatic intEXPR_L_PARENstatic intEXPR_L_SQ_PARENstatic intEXPR_LISTstatic intEXPR_LOGICAL_ANDstatic intEXPR_LOGICAL_ORstatic intEXPR_LT_STRstatic intEXPR_LT_SYMstatic intEXPR_LTE_STRstatic intEXPR_LTE_SYMstatic intEXPR_MACROstatic intEXPR_MODstatic intEXPR_MODEstatic intEXPR_MULstatic intEXPR_NESTEDstatic intEXPR_NUMstatic intEXPR_QUESTIONstatic intEXPR_R_PARENstatic intEXPR_R_SQ_PARENstatic intEXPR_RETURNstatic intEXPR_SEMICOLONstatic intEXPR_SINGLE_STR_STARTstatic intEXPR_STRUCTstatic intEXPR_SUBstatic intEXPR_SYMBOLstatic intEXPR_TRUEstatic intEXPR_WSstatic intINLINE_EXPR_STARTstatic String[]modeNamesstatic String[]ruleNamesstatic intSINGLE_QUOTE_STRING_MODEstatic intSQS_CONTENTstatic intSQS_ENTER_EXPRstatic intSQS_ESCAPEstatic intSQS_EXITstatic intSTART_DIRECTIVE_TAGstatic intSTART_USER_DIR_TAGstatic String[]tokenNamesDeprecated.static org.antlr.v4.runtime.VocabularyVOCABULARY-
Fields inherited from class org.antlr.v4.runtime.Lexer
_channel, _factory, _hitEOF, _input, _mode, _modeStack, _text, _token, _tokenFactorySourcePair, _tokenStartCharIndex, _tokenStartCharPositionInLine, _tokenStartLine, _type, DEFAULT_MODE, DEFAULT_TOKEN_CHANNEL, HIDDEN, MAX_CHAR_VALUE, MIN_CHAR_VALUE, MORE, SKIP
-
-
Constructor Summary
Constructors Constructor Description FreemarkerLexer(org.antlr.v4.runtime.CharStream input)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.antlr.v4.runtime.atn.ATNgetATN()String[]getChannelNames()StringgetGrammarFileName()String[]getModeNames()String[]getRuleNames()StringgetSerializedATN()String[]getTokenNames()Deprecated.org.antlr.v4.runtime.VocabularygetVocabulary()-
Methods inherited from class org.antlr.v4.runtime.Lexer
emit, emit, emitEOF, getAllTokens, getChannel, getCharErrorDisplay, getCharIndex, getCharPositionInLine, getErrorDisplay, getErrorDisplay, getInputStream, getLine, getSourceName, getText, getToken, getTokenFactory, getType, mode, more, nextToken, notifyListeners, popMode, pushMode, recover, recover, reset, setChannel, setCharPositionInLine, setInputStream, setLine, setText, setToken, setTokenFactory, setType, skip
-
Methods inherited from class org.antlr.v4.runtime.Recognizer
action, addErrorListener, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getParseInfo, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, precpred, removeErrorListener, removeErrorListeners, sempred, setInterpreter, setState
-
-
-
-
Field Detail
-
_decisionToDFA
protected static final org.antlr.v4.runtime.dfa.DFA[] _decisionToDFA
-
_sharedContextCache
protected static final org.antlr.v4.runtime.atn.PredictionContextCache _sharedContextCache
-
COMMENT
public static final int COMMENT
- See Also:
- Constant Field Values
-
START_DIRECTIVE_TAG
public static final int START_DIRECTIVE_TAG
- See Also:
- Constant Field Values
-
END_DIRECTIVE_TAG
public static final int END_DIRECTIVE_TAG
- See Also:
- Constant Field Values
-
START_USER_DIR_TAG
public static final int START_USER_DIR_TAG
- See Also:
- Constant Field Values
-
END_USER_DIR_TAG
public static final int END_USER_DIR_TAG
- See Also:
- Constant Field Values
-
INLINE_EXPR_START
public static final int INLINE_EXPR_START
- See Also:
- Constant Field Values
-
CONTENT
public static final int CONTENT
- See Also:
- Constant Field Values
-
DQS_EXIT
public static final int DQS_EXIT
- See Also:
- Constant Field Values
-
DQS_ESCAPE
public static final int DQS_ESCAPE
- See Also:
- Constant Field Values
-
DQS_ENTER_EXPR
public static final int DQS_ENTER_EXPR
- See Also:
- Constant Field Values
-
DQS_CONTENT
public static final int DQS_CONTENT
- See Also:
- Constant Field Values
-
SQS_EXIT
public static final int SQS_EXIT
- See Also:
- Constant Field Values
-
SQS_ESCAPE
public static final int SQS_ESCAPE
- See Also:
- Constant Field Values
-
SQS_ENTER_EXPR
public static final int SQS_ENTER_EXPR
- See Also:
- Constant Field Values
-
SQS_CONTENT
public static final int SQS_CONTENT
- See Also:
- Constant Field Values
-
EXPR_IF
public static final int EXPR_IF
- See Also:
- Constant Field Values
-
EXPR_ELSE
public static final int EXPR_ELSE
- See Also:
- Constant Field Values
-
EXPR_ELSEIF
public static final int EXPR_ELSEIF
- See Also:
- Constant Field Values
-
EXPR_ASSIGN
public static final int EXPR_ASSIGN
- See Also:
- Constant Field Values
-
EXPR_AS
public static final int EXPR_AS
- See Also:
- Constant Field Values
-
EXPR_LIST
public static final int EXPR_LIST
- See Also:
- Constant Field Values
-
EXPR_TRUE
public static final int EXPR_TRUE
- See Also:
- Constant Field Values
-
EXPR_FALSE
public static final int EXPR_FALSE
- See Also:
- Constant Field Values
-
EXPR_INCLUDE
public static final int EXPR_INCLUDE
- See Also:
- Constant Field Values
-
EXPR_IMPORT
public static final int EXPR_IMPORT
- See Also:
- Constant Field Values
-
EXPR_MACRO
public static final int EXPR_MACRO
- See Also:
- Constant Field Values
-
EXPR_NESTED
public static final int EXPR_NESTED
- See Also:
- Constant Field Values
-
EXPR_RETURN
public static final int EXPR_RETURN
- See Also:
- Constant Field Values
-
EXPR_LT_SYM
public static final int EXPR_LT_SYM
- See Also:
- Constant Field Values
-
EXPR_LT_STR
public static final int EXPR_LT_STR
- See Also:
- Constant Field Values
-
EXPR_LTE_SYM
public static final int EXPR_LTE_SYM
- See Also:
- Constant Field Values
-
EXPR_LTE_STR
public static final int EXPR_LTE_STR
- See Also:
- Constant Field Values
-
EXPR_GT_STR
public static final int EXPR_GT_STR
- See Also:
- Constant Field Values
-
EXPR_GTE_SYM
public static final int EXPR_GTE_SYM
- See Also:
- Constant Field Values
-
EXPR_GTE_STR
public static final int EXPR_GTE_STR
- See Also:
- Constant Field Values
-
EXPR_NUM
public static final int EXPR_NUM
- See Also:
- Constant Field Values
-
EXPR_EXIT_R_BRACE
public static final int EXPR_EXIT_R_BRACE
- See Also:
- Constant Field Values
-
EXPR_EXIT_GT
public static final int EXPR_EXIT_GT
- See Also:
- Constant Field Values
-
EXPR_EXIT_DIV_GT
public static final int EXPR_EXIT_DIV_GT
- See Also:
- Constant Field Values
-
EXPR_WS
public static final int EXPR_WS
- See Also:
- Constant Field Values
-
EXPR_COMENT
public static final int EXPR_COMENT
- See Also:
- Constant Field Values
-
EXPR_STRUCT
public static final int EXPR_STRUCT
- See Also:
- Constant Field Values
-
EXPR_DOUBLE_STR_START
public static final int EXPR_DOUBLE_STR_START
- See Also:
- Constant Field Values
-
EXPR_SINGLE_STR_START
public static final int EXPR_SINGLE_STR_START
- See Also:
- Constant Field Values
-
EXPR_AT
public static final int EXPR_AT
- See Also:
- Constant Field Values
-
EXPR_DBL_QUESTION
public static final int EXPR_DBL_QUESTION
- See Also:
- Constant Field Values
-
EXPR_QUESTION
public static final int EXPR_QUESTION
- See Also:
- Constant Field Values
-
EXPR_BANG
public static final int EXPR_BANG
- See Also:
- Constant Field Values
-
EXPR_ADD
public static final int EXPR_ADD
- See Also:
- Constant Field Values
-
EXPR_SUB
public static final int EXPR_SUB
- See Also:
- Constant Field Values
-
EXPR_MUL
public static final int EXPR_MUL
- See Also:
- Constant Field Values
-
EXPR_DIV
public static final int EXPR_DIV
- See Also:
- Constant Field Values
-
EXPR_MOD
public static final int EXPR_MOD
- See Also:
- Constant Field Values
-
EXPR_L_PAREN
public static final int EXPR_L_PAREN
- See Also:
- Constant Field Values
-
EXPR_R_PAREN
public static final int EXPR_R_PAREN
- See Also:
- Constant Field Values
-
EXPR_L_SQ_PAREN
public static final int EXPR_L_SQ_PAREN
- See Also:
- Constant Field Values
-
EXPR_R_SQ_PAREN
public static final int EXPR_R_SQ_PAREN
- See Also:
- Constant Field Values
-
EXPR_COMPARE_EQ
public static final int EXPR_COMPARE_EQ
- See Also:
- Constant Field Values
-
EXPR_EQ
public static final int EXPR_EQ
- See Also:
- Constant Field Values
-
EXPR_COMPARE_NEQ
public static final int EXPR_COMPARE_NEQ
- See Also:
- Constant Field Values
-
EXPR_LOGICAL_AND
public static final int EXPR_LOGICAL_AND
- See Also:
- Constant Field Values
-
EXPR_LOGICAL_OR
public static final int EXPR_LOGICAL_OR
- See Also:
- Constant Field Values
-
EXPR_DOT
public static final int EXPR_DOT
- See Also:
- Constant Field Values
-
EXPR_COMMA
public static final int EXPR_COMMA
- See Also:
- Constant Field Values
-
EXPR_COLON
public static final int EXPR_COLON
- See Also:
- Constant Field Values
-
EXPR_SEMICOLON
public static final int EXPR_SEMICOLON
- See Also:
- Constant Field Values
-
EXPR_SYMBOL
public static final int EXPR_SYMBOL
- See Also:
- Constant Field Values
-
DOUBLE_QUOTE_STRING_MODE
public static final int DOUBLE_QUOTE_STRING_MODE
- See Also:
- Constant Field Values
-
SINGLE_QUOTE_STRING_MODE
public static final int SINGLE_QUOTE_STRING_MODE
- See Also:
- Constant Field Values
-
EXPR_MODE
public static final int EXPR_MODE
- See Also:
- Constant Field Values
-
channelNames
public static String[] channelNames
-
modeNames
public static String[] modeNames
-
ruleNames
public static final String[] ruleNames
-
VOCABULARY
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY
-
tokenNames
@Deprecated public static final String[] tokenNames
Deprecated.
-
_serializedATN
public static final String _serializedATN
- See Also:
- Constant Field Values
-
_ATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
-
-
Method Detail
-
getTokenNames
@Deprecated public String[] getTokenNames()
Deprecated.- Overrides:
getTokenNamesin classorg.antlr.v4.runtime.Lexer
-
getVocabulary
public org.antlr.v4.runtime.Vocabulary getVocabulary()
- Overrides:
getVocabularyin classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getGrammarFileName
public String getGrammarFileName()
- Specified by:
getGrammarFileNamein classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getRuleNames
public String[] getRuleNames()
- Specified by:
getRuleNamesin classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getSerializedATN
public String getSerializedATN()
- Overrides:
getSerializedATNin classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getChannelNames
public String[] getChannelNames()
- Overrides:
getChannelNamesin classorg.antlr.v4.runtime.Lexer
-
getModeNames
public String[] getModeNames()
- Overrides:
getModeNamesin classorg.antlr.v4.runtime.Lexer
-
getATN
public org.antlr.v4.runtime.atn.ATN getATN()
- Specified by:
getATNin classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
-