public class FormCalcParser
extends org.antlr.v4.runtime.Parser
Modifier and Type | Field and Description |
---|---|
static org.antlr.v4.runtime.atn.ATN |
_ATN |
protected static org.antlr.v4.runtime.dfa.DFA[] |
_decisionToDFA |
static String |
_serializedATN |
protected static org.antlr.v4.runtime.atn.PredictionContextCache |
_sharedContextCache |
static int |
CharacterLiteral |
static int |
COMMENT |
static int |
DecimalLiteral |
static int |
FloatingPointLiteral |
static int |
HexLiteral |
static int |
Identifier |
static int |
LINE_COMMENT |
static int |
OctalLiteral |
static int |
RULE_accessor |
static int |
RULE_andOperators |
static int |
RULE_arguments |
static int |
RULE_arrayInitializer |
static int |
RULE_assign |
static int |
RULE_block |
static int |
RULE_blockStatement |
static int |
RULE_booleanLiteral |
static int |
RULE_compilationUnit |
static int |
RULE_elseIfStatement |
static int |
RULE_elseStatement |
static int |
RULE_equalityOperators |
static int |
RULE_expression |
static int |
RULE_expressionList |
static int |
RULE_forDownToStatement |
static int |
RULE_forUpToStatement |
static int |
RULE_funcCallExpression |
static int |
RULE_ifStatement |
static int |
RULE_integerLiteral |
static int |
RULE_literal |
static int |
RULE_methodBody |
static int |
RULE_nullEqualityExpression |
static int |
RULE_numericOperators |
static int |
RULE_orOperators |
static int |
RULE_parExpression |
static int |
RULE_primary |
static int |
RULE_primitiveType |
static int |
RULE_qualifiedName |
static int |
RULE_qualifiedNameList |
static int |
RULE_relationalOperators |
static int |
RULE_statement |
static int |
RULE_statementExpression |
static int |
RULE_thenStatement |
static int |
RULE_type |
static int |
RULE_variableAssign |
static int |
RULE_variableDeclarator |
static int |
RULE_variableDeclaratorId |
static int |
RULE_variableInitializer |
static int |
RULE_variableModifier |
static int |
RULE_whileStatement |
static int |
RULE_wildcardExpression |
static String[] |
ruleNames |
static int |
StringLiteral |
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__7 |
static int |
T__8 |
static int |
T__9 |
static String[] |
tokenNames |
static int |
WS |
Constructor and Description |
---|
FormCalcParser(org.antlr.v4.runtime.TokenStream input) |
addContextToParseTree, addParseListener, compileParseTreePattern, compileParseTreePattern, consume, 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, match, matchWildcard, notifyErrorListeners, notifyErrorListeners, precpred, pushNewRecursionContext, removeParseListener, removeParseListeners, reset, setBuildParseTree, setContext, setErrorHandler, setInputStream, setProfile, setTokenFactory, setTokenStream, setTrace, setTrimParseTree, triggerEnterRuleEvent, triggerExitRuleEvent, unrollRecursionContexts
action, addErrorListener, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, removeErrorListener, removeErrorListeners, setInterpreter, setState
protected static final org.antlr.v4.runtime.dfa.DFA[] _decisionToDFA
protected static final org.antlr.v4.runtime.atn.PredictionContextCache _sharedContextCache
public static final int T__61
public static final int T__60
public static final int T__59
public static final int T__58
public static final int T__57
public static final int T__56
public static final int T__55
public static final int T__54
public static final int T__53
public static final int T__52
public static final int T__51
public static final int T__50
public static final int T__49
public static final int T__48
public static final int T__47
public static final int T__46
public static final int T__45
public static final int T__44
public static final int T__43
public static final int T__42
public static final int T__41
public static final int T__40
public static final int T__39
public static final int T__38
public static final int T__37
public static final int T__36
public static final int T__35
public static final int T__34
public static final int T__33
public static final int T__32
public static final int T__31
public static final int T__30
public static final int T__29
public static final int T__28
public static final int T__27
public static final int T__26
public static final int T__25
public static final int T__24
public static final int T__23
public static final int T__22
public static final int T__21
public static final int T__20
public static final int T__19
public static final int T__18
public static final int T__17
public static final int T__16
public static final int T__15
public static final int T__14
public static final int T__13
public static final int T__12
public static final int T__11
public static final int T__10
public static final int T__9
public static final int T__8
public static final int T__7
public static final int T__6
public static final int T__5
public static final int T__4
public static final int T__3
public static final int T__2
public static final int T__1
public static final int T__0
public static final int HexLiteral
public static final int DecimalLiteral
public static final int OctalLiteral
public static final int FloatingPointLiteral
public static final int CharacterLiteral
public static final int StringLiteral
public static final int Identifier
public static final int COMMENT
public static final int WS
public static final int LINE_COMMENT
public static final String[] tokenNames
public static final int RULE_compilationUnit
public static final int RULE_variableAssign
public static final int RULE_variableDeclarator
public static final int RULE_variableDeclaratorId
public static final int RULE_variableInitializer
public static final int RULE_arrayInitializer
public static final int RULE_type
public static final int RULE_primitiveType
public static final int RULE_variableModifier
public static final int RULE_qualifiedNameList
public static final int RULE_methodBody
public static final int RULE_qualifiedName
public static final int RULE_literal
public static final int RULE_integerLiteral
public static final int RULE_booleanLiteral
public static final int RULE_block
public static final int RULE_blockStatement
public static final int RULE_ifStatement
public static final int RULE_thenStatement
public static final int RULE_elseIfStatement
public static final int RULE_elseStatement
public static final int RULE_forUpToStatement
public static final int RULE_forDownToStatement
public static final int RULE_whileStatement
public static final int RULE_statement
public static final int RULE_parExpression
public static final int RULE_expressionList
public static final int RULE_statementExpression
public static final int RULE_accessor
public static final int RULE_funcCallExpression
public static final int RULE_wildcardExpression
public static final int RULE_assign
public static final int RULE_nullEqualityExpression
public static final int RULE_expression
public static final int RULE_primary
public static final int RULE_orOperators
public static final int RULE_andOperators
public static final int RULE_equalityOperators
public static final int RULE_relationalOperators
public static final int RULE_numericOperators
public static final int RULE_arguments
public static final String[] ruleNames
public static final String _serializedATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
public String getGrammarFileName()
getGrammarFileName
in class org.antlr.v4.runtime.Recognizer
public String[] getTokenNames()
getTokenNames
in class org.antlr.v4.runtime.Recognizer
public String[] getRuleNames()
getRuleNames
in class org.antlr.v4.runtime.Recognizer
public String getSerializedATN()
getSerializedATN
in class org.antlr.v4.runtime.Recognizer
public org.antlr.v4.runtime.atn.ATN getATN()
getATN
in class org.antlr.v4.runtime.Recognizer
public final FormCalcParser.CompilationUnitContext compilationUnit() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.VariableAssignContext variableAssign() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.VariableDeclaratorContext variableDeclarator() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.VariableDeclaratorIdContext variableDeclaratorId() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.VariableInitializerContext variableInitializer() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.ArrayInitializerContext arrayInitializer() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.TypeContext type() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.PrimitiveTypeContext primitiveType() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.VariableModifierContext variableModifier() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.QualifiedNameListContext qualifiedNameList() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.MethodBodyContext methodBody() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.QualifiedNameContext qualifiedName() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.LiteralContext literal() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.IntegerLiteralContext integerLiteral() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.BooleanLiteralContext booleanLiteral() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.BlockContext block() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.BlockStatementContext blockStatement() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.IfStatementContext ifStatement() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.ThenStatementContext thenStatement() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.ElseIfStatementContext elseIfStatement() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.ElseStatementContext elseStatement() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.ForUpToStatementContext forUpToStatement() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.ForDownToStatementContext forDownToStatement() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.WhileStatementContext whileStatement() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.StatementContext statement() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.ParExpressionContext parExpression() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.ExpressionListContext expressionList() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.StatementExpressionContext statementExpression() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.AccessorContext accessor() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.FuncCallExpressionContext funcCallExpression() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.WildcardExpressionContext wildcardExpression() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.AssignContext assign() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.NullEqualityExpressionContext nullEqualityExpression() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.ExpressionContext expression() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.PrimaryContext primary() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.OrOperatorsContext orOperators() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.AndOperatorsContext andOperators() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.EqualityOperatorsContext equalityOperators() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.RelationalOperatorsContext relationalOperators() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.NumericOperatorsContext numericOperators() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final FormCalcParser.ArgumentsContext arguments() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public boolean sempred(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int predIndex)
sempred
in class org.antlr.v4.runtime.Recognizer
Copyright (C) 1998-2019 iText Group NV. All Rights Reserved.