Package graphql.parser.antlr
Class GraphqlLexer
- java.lang.Object
-
- org.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
- org.antlr.v4.runtime.Lexer
-
- graphql.parser.antlr.GraphqlLexer
-
- All Implemented Interfaces:
org.antlr.v4.runtime.TokenSource
public class GraphqlLexer 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[]_decisionToDFAprivate static java.lang.String[]_LITERAL_NAMESstatic java.lang.String_serializedATNprotected static org.antlr.v4.runtime.atn.PredictionContextCache_sharedContextCacheprivate static java.lang.String[]_SYMBOLIC_NAMESstatic intBooleanValuestatic java.lang.String[]channelNamesstatic intCommastatic intCommentstatic intCRstatic intDIRECTIVEstatic intENUMstatic intEXTENDstatic intFloatValuestatic intFRAGMENTstatic intIMPLEMENTSstatic intINPUTstatic intINTERFACEstatic intIntValuestatic intLFstatic intLineTerminatorstatic java.lang.String[]modeNamesstatic intMUTATIONstatic intNAMEstatic intNullValuestatic intON_KEYWORDstatic intQUERYstatic intREPEATABLEstatic java.lang.String[]ruleNamesstatic intSCALARstatic intSCHEMAstatic intSpacestatic intStringValuestatic intSUBSCRIPTIONstatic intT__0static intT__1static intT__10static intT__11static intT__12static intT__13static intT__2static intT__3static intT__4static intT__5static intT__6static intT__7static intT__8static intT__9static intTabstatic java.lang.String[]tokenNamesDeprecated.UseVOCABULARYinstead.static intTYPEstatic intUnicodeBOMstatic intUNIONstatic org.antlr.v4.runtime.VocabularyVOCABULARY-
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 GraphqlLexer(org.antlr.v4.runtime.CharStream input)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description private booleanFloatValue_sempred(org.antlr.v4.runtime.RuleContext _localctx, int predIndex)org.antlr.v4.runtime.atn.ATNgetATN()java.lang.String[]getChannelNames()java.lang.StringgetGrammarFileName()java.lang.String[]getModeNames()java.lang.String[]getRuleNames()java.lang.StringgetSerializedATN()java.lang.String[]getTokenNames()Deprecated.org.antlr.v4.runtime.VocabularygetVocabulary()private booleanIntValue_sempred(org.antlr.v4.runtime.RuleContext _localctx, int predIndex)booleanisDigit(int c)booleanisDot(int c)booleanisNameStart(int c)private static java.lang.String[]makeLiteralNames()private static java.lang.String[]makeRuleNames()private static java.lang.String[]makeSymbolicNames()booleansempred(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int predIndex)private booleanStringValue_sempred(org.antlr.v4.runtime.RuleContext _localctx, int predIndex)-
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, 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
-
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
-
BooleanValue
public static final int BooleanValue
- See Also:
- Constant Field Values
-
NullValue
public static final int NullValue
- See Also:
- Constant Field Values
-
FRAGMENT
public static final int FRAGMENT
- See Also:
- Constant Field Values
-
QUERY
public static final int QUERY
- See Also:
- Constant Field Values
-
MUTATION
public static final int MUTATION
- See Also:
- Constant Field Values
-
SUBSCRIPTION
public static final int SUBSCRIPTION
- See Also:
- Constant Field Values
-
SCHEMA
public static final int SCHEMA
- See Also:
- Constant Field Values
-
SCALAR
public static final int SCALAR
- See Also:
- Constant Field Values
-
TYPE
public static final int TYPE
- See Also:
- Constant Field Values
-
INTERFACE
public static final int INTERFACE
- See Also:
- Constant Field Values
-
IMPLEMENTS
public static final int IMPLEMENTS
- See Also:
- Constant Field Values
-
ENUM
public static final int ENUM
- See Also:
- Constant Field Values
-
UNION
public static final int UNION
- See Also:
- Constant Field Values
-
INPUT
public static final int INPUT
- See Also:
- Constant Field Values
-
EXTEND
public static final int EXTEND
- See Also:
- Constant Field Values
-
DIRECTIVE
public static final int DIRECTIVE
- See Also:
- Constant Field Values
-
ON_KEYWORD
public static final int ON_KEYWORD
- See Also:
- Constant Field Values
-
REPEATABLE
public static final int REPEATABLE
- See Also:
- Constant Field Values
-
NAME
public static final int NAME
- See Also:
- Constant Field Values
-
IntValue
public static final int IntValue
- See Also:
- Constant Field Values
-
FloatValue
public static final int FloatValue
- See Also:
- Constant Field Values
-
StringValue
public static final int StringValue
- See Also:
- Constant Field Values
-
Comment
public static final int Comment
- See Also:
- Constant Field Values
-
LF
public static final int LF
- See Also:
- Constant Field Values
-
CR
public static final int CR
- See Also:
- Constant Field Values
-
LineTerminator
public static final int LineTerminator
- See Also:
- Constant Field Values
-
Space
public static final int Space
- See Also:
- Constant Field Values
-
Tab
public static final int Tab
- See Also:
- Constant Field Values
-
Comma
public static final int Comma
- See Also:
- Constant Field Values
-
UnicodeBOM
public static final int UnicodeBOM
- See Also:
- Constant Field Values
-
channelNames
public static java.lang.String[] channelNames
-
modeNames
public static java.lang.String[] modeNames
-
ruleNames
public static final java.lang.String[] ruleNames
-
_LITERAL_NAMES
private static final java.lang.String[] _LITERAL_NAMES
-
_SYMBOLIC_NAMES
private static final java.lang.String[] _SYMBOLIC_NAMES
-
VOCABULARY
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY
-
tokenNames
@Deprecated public static final java.lang.String[] tokenNames
Deprecated.UseVOCABULARYinstead.
-
_serializedATN
public static final java.lang.String _serializedATN
- See Also:
- Constant Field Values
-
_ATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
-
-
Method Detail
-
makeRuleNames
private static java.lang.String[] makeRuleNames()
-
makeLiteralNames
private static java.lang.String[] makeLiteralNames()
-
makeSymbolicNames
private static java.lang.String[] makeSymbolicNames()
-
getTokenNames
@Deprecated public java.lang.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<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
isDigit
public boolean isDigit(int c)
-
isNameStart
public boolean isNameStart(int c)
-
isDot
public boolean isDot(int c)
-
getGrammarFileName
public java.lang.String getGrammarFileName()
- Specified by:
getGrammarFileNamein classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getRuleNames
public java.lang.String[] getRuleNames()
- Specified by:
getRuleNamesin classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getSerializedATN
public java.lang.String getSerializedATN()
- Overrides:
getSerializedATNin classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getChannelNames
public java.lang.String[] getChannelNames()
- Overrides:
getChannelNamesin classorg.antlr.v4.runtime.Lexer
-
getModeNames
public java.lang.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<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
sempred
public boolean sempred(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int predIndex)- Overrides:
sempredin classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
IntValue_sempred
private boolean IntValue_sempred(org.antlr.v4.runtime.RuleContext _localctx, int predIndex)
-
FloatValue_sempred
private boolean FloatValue_sempred(org.antlr.v4.runtime.RuleContext _localctx, int predIndex)
-
StringValue_sempred
private boolean StringValue_sempred(org.antlr.v4.runtime.RuleContext _localctx, int predIndex)
-
-