Class SightlyLexer
- java.lang.Object
-
- org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
- org.antlr.v4.runtime.Lexer
-
- org.apache.sling.scripting.sightly.impl.parser.expr.generated.SightlyLexer
-
- All Implemented Interfaces:
org.antlr.v4.runtime.TokenSource
public class SightlyLexer extends org.antlr.v4.runtime.Lexer
-
-
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 intAND_OPstatic intARRAY_ENDstatic intARRAY_STARTstatic intASSIGNstatic intBOOL_CONSTANTstatic String[]channelNamesstatic intCOMMAstatic intCOMMENTstatic intDOTstatic intEQstatic intESC_EXPRstatic intEXPR_ENDstatic intEXPR_STARTstatic intExpressionModestatic intFLOATstatic intGEQstatic intGTstatic intIDstatic intIN_OPstatic intINTstatic intLBRACKETstatic intLEQstatic intLTstatic String[]modeNamesstatic intNEQstatic intNOT_OPstatic intOPTION_SEPstatic intOR_OPstatic intRBRACKETstatic String[]ruleNamesstatic intSTRINGstatic intTERNARY_BRANCHES_OPstatic intTERNARY_Q_OPstatic intTEXT_PARTstatic String[]tokenNamesDeprecated.UseVOCABULARYinstead.static org.antlr.v4.runtime.VocabularyVOCABULARYstatic intWS-
Fields inherited from class org.antlr.v4.runtime.Lexer
_channel, _factory, _hitEOF, _input, _mode, _modeStack, _text, _token, _tokenFactorySourcePair, _tokenStartCharIndex, _tokenStartCharPositionInLine, _tokenStartLine, _type, DEFAULT_MODE, DEFAULT_TOKEN_CHANNEL, HIDDEN, MAX_CHAR_VALUE, MIN_CHAR_VALUE, MORE, SKIP
-
-
Constructor Summary
Constructors Constructor Description SightlyLexer(org.antlr.v4.runtime.CharStream input)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.antlr.v4.runtime.atn.ATNgetATN()String[]getChannelNames()StringgetGrammarFileName()String[]getModeNames()String[]getRuleNames()StringgetSerializedATN()String[]getTokenNames()Deprecated.org.antlr.v4.runtime.VocabularygetVocabulary()-
Methods inherited from class org.antlr.v4.runtime.Lexer
emit, emit, emitEOF, getAllTokens, getChannel, getCharErrorDisplay, getCharIndex, getCharPositionInLine, getErrorDisplay, getErrorDisplay, getInputStream, getLine, getSourceName, getText, getToken, getTokenFactory, getType, mode, more, nextToken, notifyListeners, popMode, pushMode, recover, recover, reset, setChannel, setCharPositionInLine, setInputStream, setLine, setText, setToken, setTokenFactory, setType, skip
-
Methods inherited from class org.antlr.v4.runtime.Recognizer
action, addErrorListener, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getParseInfo, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, precpred, removeErrorListener, removeErrorListeners, sempred, 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
-
ESC_EXPR
public static final int ESC_EXPR
- See Also:
- Constant Field Values
-
EXPR_START
public static final int EXPR_START
- See Also:
- Constant Field Values
-
TEXT_PART
public static final int TEXT_PART
- See Also:
- Constant Field Values
-
EXPR_END
public static final int EXPR_END
- See Also:
- Constant Field Values
-
BOOL_CONSTANT
public static final int BOOL_CONSTANT
- See Also:
- Constant Field Values
-
DOT
public static final int DOT
- See Also:
- Constant Field Values
-
LBRACKET
public static final int LBRACKET
- See Also:
- Constant Field Values
-
RBRACKET
public static final int RBRACKET
- See Also:
- Constant Field Values
-
IN_OP
public static final int IN_OP
- See Also:
- Constant Field Values
-
AND_OP
public static final int AND_OP
- See Also:
- Constant Field Values
-
OR_OP
public static final int OR_OP
- See Also:
- Constant Field Values
-
NOT_OP
public static final int NOT_OP
- See Also:
- Constant Field Values
-
COMMA
public static final int COMMA
- See Also:
- Constant Field Values
-
ARRAY_START
public static final int ARRAY_START
- See Also:
- Constant Field Values
-
ARRAY_END
public static final int ARRAY_END
- See Also:
- Constant Field Values
-
ASSIGN
public static final int ASSIGN
- See Also:
- Constant Field Values
-
OPTION_SEP
public static final int OPTION_SEP
- See Also:
- Constant Field Values
-
TERNARY_Q_OP
public static final int TERNARY_Q_OP
- See Also:
- Constant Field Values
-
TERNARY_BRANCHES_OP
public static final int TERNARY_BRANCHES_OP
- See Also:
- Constant Field Values
-
LT
public static final int LT
- See Also:
- Constant Field Values
-
LEQ
public static final int LEQ
- See Also:
- Constant Field Values
-
GEQ
public static final int GEQ
- See Also:
- Constant Field Values
-
GT
public static final int GT
- See Also:
- Constant Field Values
-
EQ
public static final int EQ
- See Also:
- Constant Field Values
-
NEQ
public static final int NEQ
- 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
-
COMMENT
public static final int COMMENT
- See Also:
- Constant Field Values
-
WS
public static final int WS
- See Also:
- Constant Field Values
-
STRING
public static final int STRING
- See Also:
- Constant Field Values
-
ExpressionMode
public static final int ExpressionMode
- See Also:
- Constant Field Values
-
channelNames
public static String[] channelNames
-
modeNames
public static String[] modeNames
-
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.- Overrides:
getTokenNamesin classorg.antlr.v4.runtime.Lexer
-
getVocabulary
public org.antlr.v4.runtime.Vocabulary getVocabulary()
- Overrides:
getVocabularyin classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getGrammarFileName
public String getGrammarFileName()
- Specified by:
getGrammarFileNamein classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getRuleNames
public String[] getRuleNames()
- Specified by:
getRuleNamesin classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getSerializedATN
public String getSerializedATN()
- Overrides:
getSerializedATNin classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getChannelNames
public String[] getChannelNames()
- Overrides:
getChannelNamesin classorg.antlr.v4.runtime.Lexer
-
getModeNames
public String[] getModeNames()
- Overrides:
getModeNamesin classorg.antlr.v4.runtime.Lexer
-
getATN
public org.antlr.v4.runtime.atn.ATN getATN()
- Specified by:
getATNin classorg.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
-