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
_ATN
protected static org.antlr.v4.runtime.dfa.DFA[]
_decisionToDFA
private static java.lang.String[]
_LITERAL_NAMES
static java.lang.String
_serializedATN
protected static org.antlr.v4.runtime.atn.PredictionContextCache
_sharedContextCache
private static java.lang.String[]
_SYMBOLIC_NAMES
static int
BooleanValue
static java.lang.String[]
channelNames
static int
Comma
static int
Comment
static int
CR
static int
DIRECTIVE
static int
ENUM
static int
EXTEND
static int
FloatValue
static int
FRAGMENT
static int
IMPLEMENTS
static int
INPUT
static int
INTERFACE
static int
IntValue
static int
LF
static int
LineTerminator
static java.lang.String[]
modeNames
static int
MUTATION
static int
NAME
static int
NullValue
static int
ON_KEYWORD
static int
QUERY
static int
REPEATABLE
static java.lang.String[]
ruleNames
static int
SCALAR
static int
SCHEMA
static int
Space
static int
StringValue
static int
SUBSCRIPTION
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__2
static int
T__3
static int
T__4
static int
T__5
static int
T__6
static int
T__7
static int
T__8
static int
T__9
static int
Tab
static java.lang.String[]
tokenNames
Deprecated.UseVOCABULARY
instead.static int
TYPE
static int
UnicodeBOM
static int
UNION
static org.antlr.v4.runtime.Vocabulary
VOCABULARY
-
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 boolean
FloatValue_sempred(org.antlr.v4.runtime.RuleContext _localctx, int predIndex)
org.antlr.v4.runtime.atn.ATN
getATN()
java.lang.String[]
getChannelNames()
java.lang.String
getGrammarFileName()
java.lang.String[]
getModeNames()
java.lang.String[]
getRuleNames()
java.lang.String
getSerializedATN()
java.lang.String[]
getTokenNames()
Deprecated.org.antlr.v4.runtime.Vocabulary
getVocabulary()
private boolean
IntValue_sempred(org.antlr.v4.runtime.RuleContext _localctx, int predIndex)
boolean
isDigit(int c)
boolean
isDot(int c)
boolean
isNameStart(int c)
private static java.lang.String[]
makeLiteralNames()
private static java.lang.String[]
makeRuleNames()
private static java.lang.String[]
makeSymbolicNames()
boolean
sempred(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int predIndex)
private boolean
StringValue_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.UseVOCABULARY
instead.
-
_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:
getTokenNames
in classorg.antlr.v4.runtime.Lexer
-
getVocabulary
public org.antlr.v4.runtime.Vocabulary getVocabulary()
- Overrides:
getVocabulary
in 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:
getGrammarFileName
in classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getRuleNames
public java.lang.String[] getRuleNames()
- Specified by:
getRuleNames
in classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getSerializedATN
public java.lang.String getSerializedATN()
- Overrides:
getSerializedATN
in classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getChannelNames
public java.lang.String[] getChannelNames()
- Overrides:
getChannelNames
in classorg.antlr.v4.runtime.Lexer
-
getModeNames
public java.lang.String[] getModeNames()
- Overrides:
getModeNames
in classorg.antlr.v4.runtime.Lexer
-
getATN
public org.antlr.v4.runtime.atn.ATN getATN()
- Specified by:
getATN
in 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:
sempred
in 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)
-
-