Class SightlyParser
java.lang.Object
org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
org.antlr.v4.runtime.Parser
org.apache.sling.scripting.sightly.impl.parser.expr.generated.SightlyParser
public class SightlyParser
extends org.antlr.v4.runtime.Parser
-
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
Nested classes/interfaces inherited from class org.antlr.v4.runtime.Parser
org.antlr.v4.runtime.Parser.TraceListener, org.antlr.v4.runtime.Parser.TrimToSizeListener
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.antlr.v4.runtime.atn.ATN
protected static final org.antlr.v4.runtime.dfa.DFA[]
static final String
protected static final org.antlr.v4.runtime.atn.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 String[]
static final int
static final int
static final int
static final int
static final String[]
Deprecated.static final org.antlr.v4.runtime.Vocabulary
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, 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, sempred, setInterpreter, setState
-
Field Details
-
_decisionToDFA
protected static final org.antlr.v4.runtime.dfa.DFA[] _decisionToDFA -
ESC_EXPR
public static final int ESC_EXPR- See Also:
-
EXPR_START
public static final int EXPR_START- See Also:
-
TEXT_PART
public static final int TEXT_PART- See Also:
-
EXPR_END
public static final int EXPR_END- See Also:
-
BOOL_CONSTANT
public static final int BOOL_CONSTANT- See Also:
-
DOT
public static final int DOT- See Also:
-
LBRACKET
public static final int LBRACKET- See Also:
-
RBRACKET
public static final int RBRACKET- See Also:
-
IN_OP
public static final int IN_OP- See Also:
-
AND_OP
public static final int AND_OP- See Also:
-
OR_OP
public static final int OR_OP- See Also:
-
NOT_OP
public static final int NOT_OP- See Also:
-
COMMA
public static final int COMMA- See Also:
-
ARRAY_START
public static final int ARRAY_START- See Also:
-
ARRAY_END
public static final int ARRAY_END- See Also:
-
ASSIGN
public static final int ASSIGN- See Also:
-
OPTION_SEP
public static final int OPTION_SEP- See Also:
-
TERNARY_Q_OP
public static final int TERNARY_Q_OP- See Also:
-
TERNARY_BRANCHES_OP
public static final int TERNARY_BRANCHES_OP- See Also:
-
LT
public static final int LT- See Also:
-
LEQ
public static final int LEQ- See Also:
-
GEQ
public static final int GEQ- See Also:
-
GT
public static final int GT- See Also:
-
EQ
public static final int EQ- See Also:
-
NEQ
public static final int NEQ- See Also:
-
ID
public static final int ID- See Also:
-
INT
public static final int INT- See Also:
-
FLOAT
public static final int FLOAT- See Also:
-
COMMENT
public static final int COMMENT- See Also:
-
WS
public static final int WS- See Also:
-
STRING
public static final int STRING- See Also:
-
RULE_interpolation
public static final int RULE_interpolation- See Also:
-
RULE_textFrag
public static final int RULE_textFrag- See Also:
-
RULE_expression
public static final int RULE_expression- See Also:
-
RULE_optionList
public static final int RULE_optionList- See Also:
-
RULE_option
public static final int RULE_option- See Also:
-
RULE_exprNode
public static final int RULE_exprNode- See Also:
-
RULE_orBinaryOp
public static final int RULE_orBinaryOp- See Also:
-
RULE_andBinaryOp
public static final int RULE_andBinaryOp- See Also:
-
RULE_inBinaryOp
public static final int RULE_inBinaryOp- See Also:
-
RULE_comparisonTerm
public static final int RULE_comparisonTerm- See Also:
-
RULE_comparisonOp
public static final int RULE_comparisonOp- See Also:
-
RULE_factor
public static final int RULE_factor- See Also:
-
RULE_term
public static final int RULE_term- See Also:
-
RULE_field
public static final int RULE_field- See Also:
-
RULE_simple
public static final int RULE_simple- See Also:
-
RULE_valueList
public static final int RULE_valueList- See Also:
-
RULE_atom
public static final int RULE_atom- See Also:
-
RULE_stringConst
public static final int RULE_stringConst- See Also:
-
ruleNames
-
VOCABULARY
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY -
tokenNames
Deprecated.UseVOCABULARY
instead. -
_serializedATN
- See Also:
-
_ATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
-
-
Constructor Details
-
SightlyParser
public SightlyParser(org.antlr.v4.runtime.TokenStream input)
-
-
Method Details
-
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
- Specified by:
getGrammarFileName
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,
org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getRuleNames
- Specified by:
getRuleNames
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,
org.antlr.v4.runtime.atn.ParserATNSimulator>
-
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>
-
interpolation
public final SightlyParser.InterpolationContext interpolation() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
textFrag
public final SightlyParser.TextFragContext textFrag() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
expression
public final SightlyParser.ExpressionContext expression() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
optionList
public final SightlyParser.OptionListContext optionList() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
option
- Throws:
org.antlr.v4.runtime.RecognitionException
-
exprNode
public final SightlyParser.ExprNodeContext exprNode() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
orBinaryOp
public final SightlyParser.OrBinaryOpContext orBinaryOp() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
andBinaryOp
public final SightlyParser.AndBinaryOpContext andBinaryOp() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
inBinaryOp
public final SightlyParser.InBinaryOpContext inBinaryOp() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
comparisonTerm
public final SightlyParser.ComparisonTermContext comparisonTerm() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
comparisonOp
public final SightlyParser.ComparisonOpContext comparisonOp() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
factor
- Throws:
org.antlr.v4.runtime.RecognitionException
-
term
- Throws:
org.antlr.v4.runtime.RecognitionException
-
field
- Throws:
org.antlr.v4.runtime.RecognitionException
-
simple
- Throws:
org.antlr.v4.runtime.RecognitionException
-
valueList
public final SightlyParser.ValueListContext valueList() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
atom
- Throws:
org.antlr.v4.runtime.RecognitionException
-
stringConst
public final SightlyParser.StringConstContext stringConst() throws org.antlr.v4.runtime.RecognitionException- Throws:
org.antlr.v4.runtime.RecognitionException
-
VOCABULARY
instead.