Package com.sk89q.worldedit.antlr
Class ExpressionParser
java.lang.Object
org.antlr.v4.runtime.Recognizer<Token,ParserATNSimulator>
org.antlr.v4.runtime.Parser
com.sk89q.worldedit.antlr.ExpressionParser
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
Nested classes/interfaces inherited from class org.antlr.v4.runtime.Parser
Parser.TraceListener, Parser.TrimToSizeListener
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ATN
protected static final DFA[]
static final String
protected static final PredictionContextCache
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final String[]
static final int
static final int
static final int
static final int
static final String[]
Deprecated.static final Vocabulary
static final int
static final int
Fields inherited from class org.antlr.v4.runtime.Parser
_buildParseTrees, _ctx, _errHandler, _input, _parseListeners, _precedenceStack, _syntaxErrors, matchedEOF
Fields inherited from class org.antlr.v4.runtime.Recognizer
_interp, EOF
-
Constructor Summary
-
Method Summary
Methods inherited from class org.antlr.v4.runtime.Parser
addContextToParseTree, addParseListener, compileParseTreePattern, compileParseTreePattern, consume, createErrorNode, createTerminalNode, dumpDFA, 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
-
PLUS
public static final int PLUS- See Also:
-
MINUS
public static final int MINUS- See Also:
-
TIMES
public static final int TIMES- See Also:
-
DIVIDE
public static final int DIVIDE- See Also:
-
MODULO
public static final int MODULO- See Also:
-
POWER
public static final int POWER- See Also:
-
LEFT_SHIFT
public static final int LEFT_SHIFT- See Also:
-
RIGHT_SHIFT
public static final int RIGHT_SHIFT- See Also:
-
ASSIGN
public static final int ASSIGN- See Also:
-
COMPLEMENT
public static final int COMPLEMENT- See Also:
-
PLUS_ASSIGN
public static final int PLUS_ASSIGN- See Also:
-
MINUS_ASSIGN
public static final int MINUS_ASSIGN- See Also:
-
TIMES_ASSIGN
public static final int TIMES_ASSIGN- See Also:
-
DIVIDE_ASSIGN
public static final int DIVIDE_ASSIGN- See Also:
-
MODULO_ASSIGN
public static final int MODULO_ASSIGN- See Also:
-
POWER_ASSIGN
public static final int POWER_ASSIGN- See Also:
-
EQUAL
public static final int EQUAL- See Also:
-
NOT_EQUAL
public static final int NOT_EQUAL- See Also:
-
NEAR
public static final int NEAR- See Also:
-
LESS_THAN
public static final int LESS_THAN- See Also:
-
LESS_THAN_OR_EQUAL
public static final int LESS_THAN_OR_EQUAL- See Also:
-
GREATER_THAN
public static final int GREATER_THAN- See Also:
-
GREATER_THAN_OR_EQUAL
public static final int GREATER_THAN_OR_EQUAL- See Also:
-
AND_SC
public static final int AND_SC- See Also:
-
OR_SC
public static final int OR_SC- See Also:
-
INCREMENT
public static final int INCREMENT- See Also:
-
DECREMENT
public static final int DECREMENT- See Also:
-
COMMA
public static final int COMMA- See Also:
-
OPEN_PAREN
public static final int OPEN_PAREN- See Also:
-
CLOSE_PAREN
public static final int CLOSE_PAREN- See Also:
-
OPEN_BRACKET
public static final int OPEN_BRACKET- See Also:
-
CLOSE_BRACKET
public static final int CLOSE_BRACKET- See Also:
-
SEMI_COLON
public static final int SEMI_COLON- See Also:
-
QUESTION_MARK
public static final int QUESTION_MARK- See Also:
-
COLON
public static final int COLON- See Also:
-
EXCLAMATION_MARK
public static final int EXCLAMATION_MARK- See Also:
-
IF
public static final int IF- See Also:
-
ELSE
public static final int ELSE- See Also:
-
WHILE
public static final int WHILE- See Also:
-
DO
public static final int DO- See Also:
-
FOR
public static final int FOR- See Also:
-
BREAK
public static final int BREAK- See Also:
-
CONTINUE
public static final int CONTINUE- See Also:
-
RETURN
public static final int RETURN- See Also:
-
SWITCH
public static final int SWITCH- See Also:
-
CASE
public static final int CASE- See Also:
-
DEFAULT
public static final int DEFAULT- See Also:
-
NUMBER
public static final int NUMBER- See Also:
-
ID
public static final int ID- See Also:
-
WS
public static final int WS- See Also:
-
RULE_allStatements
public static final int RULE_allStatements- See Also:
-
RULE_statements
public static final int RULE_statements- See Also:
-
RULE_statement
public static final int RULE_statement- See Also:
-
RULE_block
public static final int RULE_block- See Also:
-
RULE_ifStatement
public static final int RULE_ifStatement- See Also:
-
RULE_whileStatement
public static final int RULE_whileStatement- See Also:
-
RULE_doStatement
public static final int RULE_doStatement- See Also:
-
RULE_forStatement
public static final int RULE_forStatement- See Also:
-
RULE_simpleForStatement
public static final int RULE_simpleForStatement- See Also:
-
RULE_breakStatement
public static final int RULE_breakStatement- See Also:
-
RULE_continueStatement
public static final int RULE_continueStatement- See Also:
-
RULE_returnStatement
public static final int RULE_returnStatement- See Also:
-
RULE_switchStatement
public static final int RULE_switchStatement- See Also:
-
RULE_switchLabel
public static final int RULE_switchLabel- See Also:
-
RULE_expressionStatement
public static final int RULE_expressionStatement- See Also:
-
RULE_emptyStatement
public static final int RULE_emptyStatement- See Also:
-
RULE_expression
public static final int RULE_expression- See Also:
-
RULE_assignmentExpression
public static final int RULE_assignmentExpression- See Also:
-
RULE_assignment
public static final int RULE_assignment- See Also:
-
RULE_assignmentOperator
public static final int RULE_assignmentOperator- See Also:
-
RULE_conditionalExpression
public static final int RULE_conditionalExpression- See Also:
-
RULE_conditionalOrExpression
public static final int RULE_conditionalOrExpression- See Also:
-
RULE_conditionalAndExpression
public static final int RULE_conditionalAndExpression- See Also:
-
RULE_equalityExpression
public static final int RULE_equalityExpression- See Also:
-
RULE_relationalExpression
public static final int RULE_relationalExpression- See Also:
-
RULE_shiftExpression
public static final int RULE_shiftExpression- See Also:
-
RULE_additiveExpression
public static final int RULE_additiveExpression- See Also:
-
RULE_multiplicativeExpression
public static final int RULE_multiplicativeExpression- See Also:
-
RULE_powerExpression
public static final int RULE_powerExpression- See Also:
-
RULE_unaryExpression
public static final int RULE_unaryExpression- See Also:
-
RULE_postfixExpression
public static final int RULE_postfixExpression- See Also:
-
RULE_unprioritizedExpression
public static final int RULE_unprioritizedExpression- See Also:
-
RULE_constantExpression
public static final int RULE_constantExpression- See Also:
-
RULE_functionCall
public static final int RULE_functionCall- See Also:
-
ruleNames
-
VOCABULARY
-
tokenNames
Deprecated.UseVOCABULARY
instead. -
_serializedATN
- See Also:
-
_ATN
-
-
Constructor Details
-
ExpressionParser
-
-
Method Details
-
getTokenNames
Deprecated.- Specified by:
getTokenNames
in classRecognizer<Token,
ParserATNSimulator>
-
getVocabulary
- Overrides:
getVocabulary
in classRecognizer<Token,
ParserATNSimulator>
-
getGrammarFileName
- Specified by:
getGrammarFileName
in classRecognizer<Token,
ParserATNSimulator>
-
getRuleNames
- Specified by:
getRuleNames
in classRecognizer<Token,
ParserATNSimulator>
-
getSerializedATN
- Overrides:
getSerializedATN
in classRecognizer<Token,
ParserATNSimulator>
-
getATN
- Specified by:
getATN
in classRecognizer<Token,
ParserATNSimulator>
-
allStatements
- Throws:
RecognitionException
-
statements
- Throws:
RecognitionException
-
statement
- Throws:
RecognitionException
-
block
- Throws:
RecognitionException
-
ifStatement
- Throws:
RecognitionException
-
whileStatement
- Throws:
RecognitionException
-
doStatement
- Throws:
RecognitionException
-
forStatement
- Throws:
RecognitionException
-
simpleForStatement
public final ExpressionParser.SimpleForStatementContext simpleForStatement() throws RecognitionException- Throws:
RecognitionException
-
breakStatement
- Throws:
RecognitionException
-
continueStatement
public final ExpressionParser.ContinueStatementContext continueStatement() throws RecognitionException- Throws:
RecognitionException
-
returnStatement
- Throws:
RecognitionException
-
switchStatement
- Throws:
RecognitionException
-
switchLabel
- Throws:
RecognitionException
-
expressionStatement
public final ExpressionParser.ExpressionStatementContext expressionStatement() throws RecognitionException- Throws:
RecognitionException
-
emptyStatement
- Throws:
RecognitionException
-
expression
- Throws:
RecognitionException
-
assignmentExpression
public final ExpressionParser.AssignmentExpressionContext assignmentExpression() throws RecognitionException- Throws:
RecognitionException
-
assignment
- Throws:
RecognitionException
-
assignmentOperator
public final ExpressionParser.AssignmentOperatorContext assignmentOperator() throws RecognitionException- Throws:
RecognitionException
-
conditionalExpression
public final ExpressionParser.ConditionalExpressionContext conditionalExpression() throws RecognitionException- Throws:
RecognitionException
-
conditionalOrExpression
public final ExpressionParser.ConditionalOrExpressionContext conditionalOrExpression() throws RecognitionException- Throws:
RecognitionException
-
conditionalAndExpression
public final ExpressionParser.ConditionalAndExpressionContext conditionalAndExpression() throws RecognitionException- Throws:
RecognitionException
-
equalityExpression
public final ExpressionParser.EqualityExpressionContext equalityExpression() throws RecognitionException- Throws:
RecognitionException
-
relationalExpression
public final ExpressionParser.RelationalExpressionContext relationalExpression() throws RecognitionException- Throws:
RecognitionException
-
shiftExpression
- Throws:
RecognitionException
-
additiveExpression
public final ExpressionParser.AdditiveExpressionContext additiveExpression() throws RecognitionException- Throws:
RecognitionException
-
multiplicativeExpression
public final ExpressionParser.MultiplicativeExpressionContext multiplicativeExpression() throws RecognitionException- Throws:
RecognitionException
-
powerExpression
- Throws:
RecognitionException
-
unaryExpression
- Throws:
RecognitionException
-
postfixExpression
public final ExpressionParser.PostfixExpressionContext postfixExpression() throws RecognitionException- Throws:
RecognitionException
-
unprioritizedExpression
public final ExpressionParser.UnprioritizedExpressionContext unprioritizedExpression() throws RecognitionException- Throws:
RecognitionException
-
constantExpression
public final ExpressionParser.ConstantExpressionContext constantExpression() throws RecognitionException- Throws:
RecognitionException
-
functionCall
- Throws:
RecognitionException
-
sempred
- Overrides:
sempred
in classRecognizer<Token,
ParserATNSimulator>
-
VOCABULARY
instead.