Package io.opsit.explang.parser.alg
Class AlgParserLexer
- java.lang.Object
-
- org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
- org.antlr.v4.runtime.Lexer
-
- io.opsit.explang.parser.alg.AlgParserLexer
-
- All Implemented Interfaces:
org.antlr.v4.runtime.TokenSource
public class AlgParserLexer 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 intADDOPstatic intANDOPstatic intASOPstatic intBBstatic intBLOCK_COMMENTstatic intCATCHstatic String[]channelNamesstatic intCHARstatic intDIGITstatic intDIVOPstatic intDOTstatic intDWIM_MATCHESstatic intEBstatic intELLIPSISstatic intELSEstatic intELSEIFstatic intEQUALstatic intFALSE_LITstatic intFIELDSOPstatic intFINALLYstatic intFORstatic intFUNCstatic intGLOBALstatic intHDstatic intIFstatic intINOPstatic intIPOL_ENDstatic intIPOL_MIDDLEstatic intIPOL_STARTstatic intIPOL_VOIDstatic intISSAMEstatic intLASSIGNstatic intLETstatic intLINE_COMMENTstatic intLOCALstatic intLPstatic String[]modeNamesstatic intMULOPstatic intNIL_LITstatic intNOTEQUALstatic intNOTOPstatic intNOTSAMEstatic intNUMBERstatic intNUMEQUALstatic intNUMGEstatic intNUMGTstatic intNUMLEstatic intNUMLTstatic intOROPstatic intREGEXPstatic intREMOPstatic intRESULTstatic intRETURNstatic intRPstatic String[]ruleNamesstatic intSEARCHOPstatic intSTRINGstatic intSUBOPstatic intSYMBOLstatic intSYMFUNCstatic intT__0static intT__1static intT__2static intT__3static intT__4static intT__5static intT__6static intT__7static intT__8static String[]tokenNamesDeprecated.UseVOCABULARYinstead.static intTRUE_LITstatic intTRYstatic intVERSIONstatic org.antlr.v4.runtime.VocabularyVOCABULARYstatic intWHILEstatic intWS-
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 AlgParserLexer(org.antlr.v4.runtime.CharStream input)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaction(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int actionIndex)org.antlr.v4.runtime.atn.ATNgetATN()String[]getChannelNames()StringgetGrammarFileName()String[]getModeNames()String[]getRuleNames()StringgetSerializedATN()String[]getTokenNames()Deprecated.org.antlr.v4.runtime.VocabularygetVocabulary()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
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
-
T__0
public static final int T__0
- See Also:
- Constant Field Values
-
T__1
public static final int T__1
- See Also:
- Constant Field Values
-
T__2
public static final int T__2
- See Also:
- Constant Field Values
-
T__3
public static final int T__3
- See Also:
- Constant Field Values
-
T__4
public static final int T__4
- See Also:
- Constant Field Values
-
T__5
public static final int T__5
- See Also:
- Constant Field Values
-
T__6
public static final int T__6
- See Also:
- Constant Field Values
-
T__7
public static final int T__7
- See Also:
- Constant Field Values
-
T__8
public static final int T__8
- See Also:
- Constant Field Values
-
REGEXP
public static final int REGEXP
- See Also:
- Constant Field Values
-
SYMFUNC
public static final int SYMFUNC
- See Also:
- Constant Field Values
-
VERSION
public static final int VERSION
- See Also:
- Constant Field Values
-
CHAR
public static final int CHAR
- See Also:
- Constant Field Values
-
STRING
public static final int STRING
- See Also:
- Constant Field Values
-
WS
public static final int WS
- See Also:
- Constant Field Values
-
FOR
public static final int FOR
- See Also:
- Constant Field Values
-
RETURN
public static final int RETURN
- See Also:
- Constant Field Values
-
RESULT
public static final int RESULT
- See Also:
- Constant Field Values
-
IF
public static final int IF
- See Also:
- Constant Field Values
-
ELSE
public static final int ELSE
- See Also:
- Constant Field Values
-
ELSEIF
public static final int ELSEIF
- See Also:
- Constant Field Values
-
WHILE
public static final int WHILE
- See Also:
- Constant Field Values
-
SEARCHOP
public static final int SEARCHOP
- See Also:
- Constant Field Values
-
ASOP
public static final int ASOP
- See Also:
- Constant Field Values
-
FIELDSOP
public static final int FIELDSOP
- See Also:
- Constant Field Values
-
FUNC
public static final int FUNC
- See Also:
- Constant Field Values
-
BB
public static final int BB
- See Also:
- Constant Field Values
-
EB
public static final int EB
- See Also:
- Constant Field Values
-
TRY
public static final int TRY
- See Also:
- Constant Field Values
-
CATCH
public static final int CATCH
- See Also:
- Constant Field Values
-
FINALLY
public static final int FINALLY
- See Also:
- Constant Field Values
-
ANDOP
public static final int ANDOP
- See Also:
- Constant Field Values
-
OROP
public static final int OROP
- See Also:
- Constant Field Values
-
INOP
public static final int INOP
- See Also:
- Constant Field Values
-
NIL_LIT
public static final int NIL_LIT
- See Also:
- Constant Field Values
-
TRUE_LIT
public static final int TRUE_LIT
- See Also:
- Constant Field Values
-
FALSE_LIT
public static final int FALSE_LIT
- See Also:
- Constant Field Values
-
NOTOP
public static final int NOTOP
- See Also:
- Constant Field Values
-
LOCAL
public static final int LOCAL
- See Also:
- Constant Field Values
-
GLOBAL
public static final int GLOBAL
- See Also:
- Constant Field Values
-
LET
public static final int LET
- See Also:
- Constant Field Values
-
SYMBOL
public static final int SYMBOL
- See Also:
- Constant Field Values
-
NUMBER
public static final int NUMBER
- See Also:
- Constant Field Values
-
DIGIT
public static final int DIGIT
- See Also:
- Constant Field Values
-
HD
public static final int HD
- See Also:
- Constant Field Values
-
DOT
public static final int DOT
- See Also:
- Constant Field Values
-
ISSAME
public static final int ISSAME
- See Also:
- Constant Field Values
-
EQUAL
public static final int EQUAL
- See Also:
- Constant Field Values
-
NOTSAME
public static final int NOTSAME
- See Also:
- Constant Field Values
-
NUMEQUAL
public static final int NUMEQUAL
- See Also:
- Constant Field Values
-
NOTEQUAL
public static final int NOTEQUAL
- See Also:
- Constant Field Values
-
NUMLT
public static final int NUMLT
- See Also:
- Constant Field Values
-
NUMGT
public static final int NUMGT
- See Also:
- Constant Field Values
-
NUMGE
public static final int NUMGE
- See Also:
- Constant Field Values
-
NUMLE
public static final int NUMLE
- See Also:
- Constant Field Values
-
ADDOP
public static final int ADDOP
- See Also:
- Constant Field Values
-
SUBOP
public static final int SUBOP
- See Also:
- Constant Field Values
-
DIVOP
public static final int DIVOP
- See Also:
- Constant Field Values
-
MULOP
public static final int MULOP
- See Also:
- Constant Field Values
-
REMOP
public static final int REMOP
- See Also:
- Constant Field Values
-
LASSIGN
public static final int LASSIGN
- See Also:
- Constant Field Values
-
DWIM_MATCHES
public static final int DWIM_MATCHES
- See Also:
- Constant Field Values
-
ELLIPSIS
public static final int ELLIPSIS
- See Also:
- Constant Field Values
-
LP
public static final int LP
- See Also:
- Constant Field Values
-
RP
public static final int RP
- See Also:
- Constant Field Values
-
IPOL_VOID
public static final int IPOL_VOID
- See Also:
- Constant Field Values
-
IPOL_START
public static final int IPOL_START
- See Also:
- Constant Field Values
-
IPOL_END
public static final int IPOL_END
- See Also:
- Constant Field Values
-
IPOL_MIDDLE
public static final int IPOL_MIDDLE
- See Also:
- Constant Field Values
-
BLOCK_COMMENT
public static final int BLOCK_COMMENT
- See Also:
- Constant Field Values
-
LINE_COMMENT
public static final int LINE_COMMENT
- 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.UseVOCABULARYinstead.
-
_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>
-
action
public void action(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int actionIndex)- Overrides:
actionin classorg.antlr.v4.runtime.Recognizer<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<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
-