Package com.fizzed.rocker.antlr4
Class RockerLexer
- java.lang.Object
-
- org.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
- org.antlr.v4.runtime.Lexer
-
- com.fizzed.rocker.antlr4.RockerLexer
-
- All Implemented Interfaces:
org.antlr.v4.runtime.TokenSource
public class RockerLexer 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[]_decisionToDFAprivate static java.lang.String[]_LITERAL_NAMESstatic java.lang.String_serializedATNprotected static org.antlr.v4.runtime.atn.PredictionContextCache_sharedContextCacheprivate static java.lang.String[]_SYMBOLIC_NAMESstatic intATstatic intCASEstatic intCASE_EXPRESSIONstatic java.lang.String[]channelNamesstatic intCOMMENTstatic intDEFAULTstatic intDEFAULT_EXPRESSIONstatic intELSEstatic intELSE_IFstatic intLCURLYstatic java.lang.String[]modeNamesstatic intMVstatic intMV_ARGSstatic intMV_CONTENT_CLOSUREstatic intMV_EVALstatic intMV_FORstatic intMV_IFstatic intMV_IMPORTstatic intMV_NULL_TERNARY_LHstatic intMV_NULL_TERNARY_RHstatic intMV_OPTIONstatic intMV_SWITCHstatic intMV_VALUEstatic intMV_VALUE_CLOSUREstatic intMV_WITHstatic intNULL_TERNARY_EXPRstatic intPLAINstatic intRCURLYstatic java.lang.String[]ruleNamesstatic java.lang.String[]tokenNamesDeprecated.UseVOCABULARYinstead.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 RockerLexer(org.antlr.v4.runtime.CharStream input)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.antlr.v4.runtime.atn.ATNgetATN()java.lang.String[]getChannelNames()java.lang.StringgetGrammarFileName()java.lang.String[]getModeNames()java.lang.String[]getRuleNames()java.lang.StringgetSerializedATN()java.lang.String[]getTokenNames()Deprecated.org.antlr.v4.runtime.VocabularygetVocabulary()private booleanJavaLetter_sempred(org.antlr.v4.runtime.RuleContext _localctx, int predIndex)private booleanJavaLetterOrDigit_sempred(org.antlr.v4.runtime.RuleContext _localctx, int predIndex)private static java.lang.String[]makeLiteralNames()private static java.lang.String[]makeRuleNames()private static java.lang.String[]makeSymbolicNames()booleansempred(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int predIndex)-
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, 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
-
ELSE_IF
public static final int ELSE_IF
- See Also:
- Constant Field Values
-
ELSE
public static final int ELSE
- See Also:
- Constant Field Values
-
CASE
public static final int CASE
- See Also:
- Constant Field Values
-
CASE_EXPRESSION
public static final int CASE_EXPRESSION
- See Also:
- Constant Field Values
-
DEFAULT
public static final int DEFAULT
- See Also:
- Constant Field Values
-
DEFAULT_EXPRESSION
public static final int DEFAULT_EXPRESSION
- See Also:
- Constant Field Values
-
LCURLY
public static final int LCURLY
- See Also:
- Constant Field Values
-
RCURLY
public static final int RCURLY
- See Also:
- Constant Field Values
-
COMMENT
public static final int COMMENT
- See Also:
- Constant Field Values
-
PLAIN
public static final int PLAIN
- See Also:
- Constant Field Values
-
AT
public static final int AT
- See Also:
- Constant Field Values
-
MV_IMPORT
public static final int MV_IMPORT
- See Also:
- Constant Field Values
-
MV_OPTION
public static final int MV_OPTION
- See Also:
- Constant Field Values
-
MV_ARGS
public static final int MV_ARGS
- See Also:
- Constant Field Values
-
MV_IF
public static final int MV_IF
- See Also:
- Constant Field Values
-
MV_SWITCH
public static final int MV_SWITCH
- See Also:
- Constant Field Values
-
MV_FOR
public static final int MV_FOR
- See Also:
- Constant Field Values
-
MV_WITH
public static final int MV_WITH
- See Also:
- Constant Field Values
-
MV_CONTENT_CLOSURE
public static final int MV_CONTENT_CLOSURE
- See Also:
- Constant Field Values
-
MV_VALUE_CLOSURE
public static final int MV_VALUE_CLOSURE
- See Also:
- Constant Field Values
-
MV_EVAL
public static final int MV_EVAL
- See Also:
- Constant Field Values
-
MV_NULL_TERNARY_LH
public static final int MV_NULL_TERNARY_LH
- See Also:
- Constant Field Values
-
MV_VALUE
public static final int MV_VALUE
- See Also:
- Constant Field Values
-
MV_NULL_TERNARY_RH
public static final int MV_NULL_TERNARY_RH
- See Also:
- Constant Field Values
-
MV
public static final int MV
- See Also:
- Constant Field Values
-
NULL_TERNARY_EXPR
public static final int NULL_TERNARY_EXPR
- See Also:
- Constant Field Values
-
channelNames
public static java.lang.String[] channelNames
-
modeNames
public static java.lang.String[] modeNames
-
ruleNames
public static final java.lang.String[] ruleNames
-
_LITERAL_NAMES
private static final java.lang.String[] _LITERAL_NAMES
-
_SYMBOLIC_NAMES
private static final java.lang.String[] _SYMBOLIC_NAMES
-
VOCABULARY
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY
-
tokenNames
@Deprecated public static final java.lang.String[] tokenNames
Deprecated.UseVOCABULARYinstead.
-
_serializedATN
public static final java.lang.String _serializedATN
- See Also:
- Constant Field Values
-
_ATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
-
-
Method Detail
-
makeRuleNames
private static java.lang.String[] makeRuleNames()
-
makeLiteralNames
private static java.lang.String[] makeLiteralNames()
-
makeSymbolicNames
private static java.lang.String[] makeSymbolicNames()
-
getTokenNames
@Deprecated public java.lang.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<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getGrammarFileName
public java.lang.String getGrammarFileName()
- Specified by:
getGrammarFileNamein classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getRuleNames
public java.lang.String[] getRuleNames()
- Specified by:
getRuleNamesin classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getSerializedATN
public java.lang.String getSerializedATN()
- Overrides:
getSerializedATNin classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getChannelNames
public java.lang.String[] getChannelNames()
- Overrides:
getChannelNamesin classorg.antlr.v4.runtime.Lexer
-
getModeNames
public java.lang.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<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
sempred
public boolean sempred(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int predIndex)- Overrides:
sempredin classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
JavaLetter_sempred
private boolean JavaLetter_sempred(org.antlr.v4.runtime.RuleContext _localctx, int predIndex)
-
JavaLetterOrDigit_sempred
private boolean JavaLetterOrDigit_sempred(org.antlr.v4.runtime.RuleContext _localctx, int predIndex)
-
-