Class UISCParser
java.lang.Object
org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
org.antlr.v4.runtime.Parser
com.bradyrussell.uiscoin.lang.generated.UISCParser
public class UISCParser
extends org.antlr.v4.runtime.Parser
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description static org.antlr.v4.runtime.atn.ATN
_ATN
protected static org.antlr.v4.runtime.dfa.DFA[]
_decisionToDFA
static java.lang.String
_serializedATN
protected static org.antlr.v4.runtime.atn.PredictionContextCache
_sharedContextCache
static int
CHAR
static int
CONST
static int
FLOAT
static int
HEXSTRING
static int
ID
static int
INT
static int
INVALID
static int
ML_COMMENT
static int
RULE_arrayInitializer
static int
RULE_assembly
static int
RULE_assertion
static int
RULE_block
static int
RULE_booleanLiteral
static int
RULE_catchStatement
static int
RULE_elseifStatement
static int
RULE_elseStatement
static int
RULE_exception
static int
RULE_expression
static int
RULE_exprList
static int
RULE_file
static int
RULE_flag
static int
RULE_flagData
static int
RULE_formalParameter
static int
RULE_formalParameters
static int
RULE_functionDeclaration
static int
RULE_include
static int
RULE_inferredType
static int
RULE_number
static int
RULE_pointer
static int
RULE_primitiveType
static int
RULE_statement
static int
RULE_structDeclaration
static int
RULE_structField
static int
RULE_structType
static int
RULE_tryStatement
static int
RULE_type
static int
RULE_varDeclaration
static java.lang.String[]
ruleNames
static int
SL_COMMENT
static int
STRING
static int
T__0
static int
T__1
static int
T__10
static int
T__11
static int
T__12
static int
T__13
static int
T__14
static int
T__15
static int
T__16
static int
T__17
static int
T__18
static int
T__19
static int
T__2
static int
T__20
static int
T__21
static int
T__22
static int
T__23
static int
T__24
static int
T__25
static int
T__26
static int
T__27
static int
T__28
static int
T__29
static int
T__3
static int
T__30
static int
T__31
static int
T__32
static int
T__33
static int
T__34
static int
T__35
static int
T__36
static int
T__37
static int
T__38
static int
T__39
static int
T__4
static int
T__40
static int
T__41
static int
T__42
static int
T__43
static int
T__44
static int
T__45
static int
T__46
static int
T__47
static int
T__48
static int
T__49
static int
T__5
static int
T__50
static int
T__51
static int
T__52
static int
T__53
static int
T__54
static int
T__55
static int
T__56
static int
T__57
static int
T__58
static int
T__59
static int
T__6
static int
T__60
static int
T__61
static int
T__62
static int
T__63
static int
T__64
static int
T__65
static int
T__66
static int
T__67
static int
T__68
static int
T__69
static int
T__7
static int
T__70
static int
T__71
static int
T__72
static int
T__73
static int
T__74
static int
T__8
static int
T__9
static java.lang.String[]
tokenNames
Deprecated.UseVOCABULARY
instead.static org.antlr.v4.runtime.Vocabulary
VOCABULARY
static int
WS
-
Constructor Summary
Constructors Constructor Description UISCParser(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 Details
-
_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
-
T__9
public static final int T__9- See Also:
- Constant Field Values
-
T__10
public static final int T__10- See Also:
- Constant Field Values
-
T__11
public static final int T__11- See Also:
- Constant Field Values
-
T__12
public static final int T__12- See Also:
- Constant Field Values
-
T__13
public static final int T__13- See Also:
- Constant Field Values
-
T__14
public static final int T__14- See Also:
- Constant Field Values
-
T__15
public static final int T__15- See Also:
- Constant Field Values
-
T__16
public static final int T__16- See Also:
- Constant Field Values
-
T__17
public static final int T__17- See Also:
- Constant Field Values
-
T__18
public static final int T__18- See Also:
- Constant Field Values
-
T__19
public static final int T__19- See Also:
- Constant Field Values
-
T__20
public static final int T__20- See Also:
- Constant Field Values
-
T__21
public static final int T__21- See Also:
- Constant Field Values
-
T__22
public static final int T__22- See Also:
- Constant Field Values
-
T__23
public static final int T__23- See Also:
- Constant Field Values
-
T__24
public static final int T__24- See Also:
- Constant Field Values
-
T__25
public static final int T__25- See Also:
- Constant Field Values
-
T__26
public static final int T__26- See Also:
- Constant Field Values
-
T__27
public static final int T__27- See Also:
- Constant Field Values
-
T__28
public static final int T__28- See Also:
- Constant Field Values
-
T__29
public static final int T__29- See Also:
- Constant Field Values
-
T__30
public static final int T__30- See Also:
- Constant Field Values
-
T__31
public static final int T__31- See Also:
- Constant Field Values
-
T__32
public static final int T__32- See Also:
- Constant Field Values
-
T__33
public static final int T__33- See Also:
- Constant Field Values
-
T__34
public static final int T__34- See Also:
- Constant Field Values
-
T__35
public static final int T__35- See Also:
- Constant Field Values
-
T__36
public static final int T__36- See Also:
- Constant Field Values
-
T__37
public static final int T__37- See Also:
- Constant Field Values
-
T__38
public static final int T__38- See Also:
- Constant Field Values
-
T__39
public static final int T__39- See Also:
- Constant Field Values
-
T__40
public static final int T__40- See Also:
- Constant Field Values
-
T__41
public static final int T__41- See Also:
- Constant Field Values
-
T__42
public static final int T__42- See Also:
- Constant Field Values
-
T__43
public static final int T__43- See Also:
- Constant Field Values
-
T__44
public static final int T__44- See Also:
- Constant Field Values
-
T__45
public static final int T__45- See Also:
- Constant Field Values
-
T__46
public static final int T__46- See Also:
- Constant Field Values
-
T__47
public static final int T__47- See Also:
- Constant Field Values
-
T__48
public static final int T__48- See Also:
- Constant Field Values
-
T__49
public static final int T__49- See Also:
- Constant Field Values
-
T__50
public static final int T__50- See Also:
- Constant Field Values
-
T__51
public static final int T__51- See Also:
- Constant Field Values
-
T__52
public static final int T__52- See Also:
- Constant Field Values
-
T__53
public static final int T__53- See Also:
- Constant Field Values
-
T__54
public static final int T__54- See Also:
- Constant Field Values
-
T__55
public static final int T__55- See Also:
- Constant Field Values
-
T__56
public static final int T__56- See Also:
- Constant Field Values
-
T__57
public static final int T__57- See Also:
- Constant Field Values
-
T__58
public static final int T__58- See Also:
- Constant Field Values
-
T__59
public static final int T__59- See Also:
- Constant Field Values
-
T__60
public static final int T__60- See Also:
- Constant Field Values
-
T__61
public static final int T__61- See Also:
- Constant Field Values
-
T__62
public static final int T__62- See Also:
- Constant Field Values
-
T__63
public static final int T__63- See Also:
- Constant Field Values
-
T__64
public static final int T__64- See Also:
- Constant Field Values
-
T__65
public static final int T__65- See Also:
- Constant Field Values
-
T__66
public static final int T__66- See Also:
- Constant Field Values
-
T__67
public static final int T__67- See Also:
- Constant Field Values
-
T__68
public static final int T__68- See Also:
- Constant Field Values
-
T__69
public static final int T__69- See Also:
- Constant Field Values
-
T__70
public static final int T__70- See Also:
- Constant Field Values
-
T__71
public static final int T__71- See Also:
- Constant Field Values
-
T__72
public static final int T__72- See Also:
- Constant Field Values
-
T__73
public static final int T__73- See Also:
- Constant Field Values
-
T__74
public static final int T__74- See Also:
- Constant Field Values
-
CONST
public static final int CONST- See Also:
- Constant Field Values
-
ID
public static final int ID- See Also:
- Constant Field Values
-
INT
public static final int INT- See Also:
- Constant Field Values
-
FLOAT
public static final int FLOAT- See Also:
- Constant Field Values
-
HEXSTRING
public static final int HEXSTRING- See Also:
- Constant Field Values
-
STRING
public static final int STRING- See Also:
- Constant Field Values
-
CHAR
public static final int CHAR- See Also:
- Constant Field Values
-
WS
public static final int WS- See Also:
- Constant Field Values
-
SL_COMMENT
public static final int SL_COMMENT- See Also:
- Constant Field Values
-
ML_COMMENT
public static final int ML_COMMENT- See Also:
- Constant Field Values
-
INVALID
public static final int INVALID- See Also:
- Constant Field Values
-
RULE_file
public static final int RULE_file- See Also:
- Constant Field Values
-
RULE_pointer
public static final int RULE_pointer- See Also:
- Constant Field Values
-
RULE_varDeclaration
public static final int RULE_varDeclaration- See Also:
- Constant Field Values
-
RULE_structDeclaration
public static final int RULE_structDeclaration- See Also:
- Constant Field Values
-
RULE_type
public static final int RULE_type- See Also:
- Constant Field Values
-
RULE_primitiveType
public static final int RULE_primitiveType- See Also:
- Constant Field Values
-
RULE_structType
public static final int RULE_structType- See Also:
- Constant Field Values
-
RULE_inferredType
public static final int RULE_inferredType- See Also:
- Constant Field Values
-
RULE_booleanLiteral
public static final int RULE_booleanLiteral- See Also:
- Constant Field Values
-
RULE_arrayInitializer
public static final int RULE_arrayInitializer- See Also:
- Constant Field Values
-
RULE_functionDeclaration
public static final int RULE_functionDeclaration- See Also:
- Constant Field Values
-
RULE_formalParameters
public static final int RULE_formalParameters- See Also:
- Constant Field Values
-
RULE_formalParameter
public static final int RULE_formalParameter- See Also:
- Constant Field Values
-
RULE_block
public static final int RULE_block- See Also:
- Constant Field Values
-
RULE_statement
public static final int RULE_statement- See Also:
- Constant Field Values
-
RULE_elseifStatement
public static final int RULE_elseifStatement- See Also:
- Constant Field Values
-
RULE_elseStatement
public static final int RULE_elseStatement- See Also:
- Constant Field Values
-
RULE_tryStatement
public static final int RULE_tryStatement- See Also:
- Constant Field Values
-
RULE_catchStatement
public static final int RULE_catchStatement- See Also:
- Constant Field Values
-
RULE_number
public static final int RULE_number- See Also:
- Constant Field Values
-
RULE_assembly
public static final int RULE_assembly- See Also:
- Constant Field Values
-
RULE_assertion
public static final int RULE_assertion- See Also:
- Constant Field Values
-
RULE_exception
public static final int RULE_exception- See Also:
- Constant Field Values
-
RULE_include
public static final int RULE_include- See Also:
- Constant Field Values
-
RULE_flag
public static final int RULE_flag- See Also:
- Constant Field Values
-
RULE_flagData
public static final int RULE_flagData- See Also:
- Constant Field Values
-
RULE_structField
public static final int RULE_structField- See Also:
- Constant Field Values
-
RULE_expression
public static final int RULE_expression- See Also:
- Constant Field Values
-
RULE_exprList
public static final int RULE_exprList- See Also:
- Constant Field Values
-
ruleNames
public static final java.lang.String[] ruleNames -
VOCABULARY
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY -
tokenNames
@Deprecated public static final java.lang.String[] tokenNamesDeprecated.UseVOCABULARY
instead. -
_serializedATN
public static final java.lang.String _serializedATN- See Also:
- Constant Field Values
-
_ATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
-
-
Constructor Details
-
UISCParser
public UISCParser(org.antlr.v4.runtime.TokenStream input)
-
-
Method Details
-
getTokenNames
@Deprecated public java.lang.String[] getTokenNames()Deprecated.- Specified by:
getTokenNames
in 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:
getVocabulary
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getGrammarFileName
public java.lang.String getGrammarFileName()- Specified by:
getGrammarFileName
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getRuleNames
public java.lang.String[] getRuleNames()- Specified by:
getRuleNames
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getSerializedATN
public java.lang.String getSerializedATN()- Overrides:
getSerializedATN
in 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:
getATN
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
file
- Throws:
org.antlr.v4.runtime.RecognitionException
-
pointer
- Throws:
org.antlr.v4.runtime.RecognitionException
-
varDeclaration
public final UISCParser.VarDeclarationContext varDeclaration() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
structDeclaration
public final UISCParser.StructDeclarationContext structDeclaration() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
type
- Throws:
org.antlr.v4.runtime.RecognitionException
-
primitiveType
public final UISCParser.PrimitiveTypeContext primitiveType() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
structType
public final UISCParser.StructTypeContext structType() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
inferredType
public final UISCParser.InferredTypeContext inferredType() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
booleanLiteral
public final UISCParser.BooleanLiteralContext booleanLiteral() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
arrayInitializer
public final UISCParser.ArrayInitializerContext arrayInitializer() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
functionDeclaration
public final UISCParser.FunctionDeclarationContext functionDeclaration() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
formalParameters
public final UISCParser.FormalParametersContext formalParameters() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
formalParameter
public final UISCParser.FormalParameterContext formalParameter() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
block
- Throws:
org.antlr.v4.runtime.RecognitionException
-
statement
public final UISCParser.StatementContext statement() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
elseifStatement
public final UISCParser.ElseifStatementContext elseifStatement() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
elseStatement
public final UISCParser.ElseStatementContext elseStatement() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
tryStatement
public final UISCParser.TryStatementContext tryStatement() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
catchStatement
public final UISCParser.CatchStatementContext catchStatement() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
number
- Throws:
org.antlr.v4.runtime.RecognitionException
-
assembly
- Throws:
org.antlr.v4.runtime.RecognitionException
-
assertion
public final UISCParser.AssertionContext assertion() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
exception
public final UISCParser.ExceptionContext exception() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
include
- Throws:
org.antlr.v4.runtime.RecognitionException
-
flag
- Throws:
org.antlr.v4.runtime.RecognitionException
-
flagData
- Throws:
org.antlr.v4.runtime.RecognitionException
-
structField
public final UISCParser.StructFieldContext structField() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
expression
public final UISCParser.ExpressionContext expression() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
exprList
- Throws:
org.antlr.v4.runtime.RecognitionException
-
sempred
public boolean sempred(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int predIndex)- Overrides:
sempred
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-