Package io.opsit.explang.parser.alg
Class AlgParserParser
- java.lang.Object
-
- org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
- org.antlr.v4.runtime.Parser
-
- io.opsit.explang.parser.alg.AlgParserParser
-
public class AlgParserParser extends org.antlr.v4.runtime.Parser
-
-
Nested Class Summary
-
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 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 intMULOPstatic intNIL_LITstatic intNOTEQUALstatic intNOTOPstatic intNOTSAMEstatic intNUMBERstatic intNUMEQUALstatic intNUMGEstatic intNUMGTstatic intNUMLEstatic intNUMLTstatic intOROPstatic intREGEXPstatic intREMOPstatic intRESULTstatic intRETURNstatic intRPstatic intRULE_atomstatic intRULE_beblockstatic intRULE_blockstatic intRULE_catchspecstatic intRULE_clzspecstatic intRULE_exprstatic intRULE_exprListstatic intRULE_fieldspecstatic intRULE_fspartstatic intRULE_fsymbolstatic intRULE_lambdastatic intRULE_loopforstatic intRULE_optassignstatic intRULE_replblockstatic intRULE_vectorstatic 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
-
Constructor Summary
Constructors Constructor Description AlgParserParser(org.antlr.v4.runtime.TokenStream input)
-
Method Summary
-
Methods inherited from class org.antlr.v4.runtime.Parser
addContextToParseTree, addParseListener, compileParseTreePattern, compileParseTreePattern, consume, createErrorNode, createTerminalNode, dumpDFA, enterOuterAlt, enterRecursionRule, enterRecursionRule, enterRule, exitRule, getATNWithBypassAlts, getBuildParseTree, getContext, getCurrentToken, getDFAStrings, getErrorHandler, getExpectedTokens, getExpectedTokensWithinCurrentRule, getInputStream, getInvokingContext, getNumberOfSyntaxErrors, getParseInfo, getParseListeners, getPrecedence, getRuleContext, getRuleIndex, getRuleInvocationStack, getRuleInvocationStack, getSourceName, getTokenFactory, getTokenStream, getTrimParseTree, inContext, isExpectedToken, isMatchedEOF, isTrace, match, matchWildcard, notifyErrorListeners, notifyErrorListeners, precpred, pushNewRecursionContext, removeParseListener, removeParseListeners, reset, setBuildParseTree, setContext, setErrorHandler, setInputStream, setProfile, setTokenFactory, setTokenStream, setTrace, setTrimParseTree, triggerEnterRuleEvent, triggerExitRuleEvent, unrollRecursionContexts
-
Methods inherited from class org.antlr.v4.runtime.Recognizer
action, addErrorListener, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, 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
-
RULE_expr
public static final int RULE_expr
- See Also:
- Constant Field Values
-
RULE_loopfor
public static final int RULE_loopfor
- See Also:
- Constant Field Values
-
RULE_lambda
public static final int RULE_lambda
- See Also:
- Constant Field Values
-
RULE_beblock
public static final int RULE_beblock
- See Also:
- Constant Field Values
-
RULE_replblock
public static final int RULE_replblock
- See Also:
- Constant Field Values
-
RULE_optassign
public static final int RULE_optassign
- See Also:
- Constant Field Values
-
RULE_catchspec
public static final int RULE_catchspec
- See Also:
- Constant Field Values
-
RULE_clzspec
public static final int RULE_clzspec
- See Also:
- Constant Field Values
-
RULE_fspart
public static final int RULE_fspart
- See Also:
- Constant Field Values
-
RULE_fieldspec
public static final int RULE_fieldspec
- See Also:
- Constant Field Values
-
RULE_vector
public static final int RULE_vector
- See Also:
- Constant Field Values
-
RULE_exprList
public static final int RULE_exprList
- See Also:
- Constant Field Values
-
RULE_block
public static final int RULE_block
- See Also:
- Constant Field Values
-
RULE_fsymbol
public static final int RULE_fsymbol
- See Also:
- Constant Field Values
-
RULE_atom
public static final int RULE_atom
- See Also:
- Constant Field Values
-
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.- Specified by:
getTokenNamesin classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getVocabulary
public org.antlr.v4.runtime.Vocabulary getVocabulary()
- Overrides:
getVocabularyin classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getGrammarFileName
public String getGrammarFileName()
- Specified by:
getGrammarFileNamein classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getRuleNames
public String[] getRuleNames()
- Specified by:
getRuleNamesin classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getSerializedATN
public String getSerializedATN()
- Overrides:
getSerializedATNin classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getATN
public org.antlr.v4.runtime.atn.ATN getATN()
- Specified by:
getATNin classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
expr
public final AlgParserParser.ExprContext expr() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
loopfor
public final AlgParserParser.LoopforContext loopfor() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
lambda
public final AlgParserParser.LambdaContext lambda() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
beblock
public final AlgParserParser.BeblockContext beblock() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
replblock
public final AlgParserParser.ReplblockContext replblock() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
optassign
public final AlgParserParser.OptassignContext optassign() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
catchspec
public final AlgParserParser.CatchspecContext catchspec() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
clzspec
public final AlgParserParser.ClzspecContext clzspec() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
fspart
public final AlgParserParser.FspartContext fspart() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
fieldspec
public final AlgParserParser.FieldspecContext fieldspec() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
vector
public final AlgParserParser.VectorContext vector() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
exprList
public final AlgParserParser.ExprListContext exprList() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
block
public final AlgParserParser.BlockContext block() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
fsymbol
public final AlgParserParser.FsymbolContext fsymbol() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
atom
public final AlgParserParser.AtomContext atom() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
sempred
public boolean sempred(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int predIndex)- Overrides:
sempredin classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
-