public class ProtoLexer
extends org.antlr.v4.runtime.Lexer
| Modifier and Type | Field and Description |
|---|---|
static org.antlr.v4.runtime.atn.ATN |
_ATN |
protected static org.antlr.v4.runtime.dfa.DFA[] |
_decisionToDFA |
static String |
_serializedATN |
protected static org.antlr.v4.runtime.atn.PredictionContextCache |
_sharedContextCache |
static int |
ASSIGN |
static int |
BOOLEAN_VALUE |
static int |
COLON |
static int |
COMMA |
static int |
COMMENT |
static int |
DOT |
static int |
ENUM |
static int |
EXTEND |
static int |
EXTENSIONS |
static int |
FLOAT_VALUE |
static int |
GROUP |
static int |
GT |
static int |
IMPORT |
static int |
INTEGER_VALUE |
static int |
LCURLY |
static int |
LINE_COMMENT |
static int |
LPAREN |
static int |
LSQUARE |
static int |
LT |
static int |
MAP |
static int |
MAX |
static int |
MESSAGE |
static String[] |
modeNames |
static int |
NAME |
static int |
ONEOF |
static int |
OPTION |
static int |
OPTIONAL |
static int |
PACKAGE |
static int |
PUBLIC |
static int |
RCURLY |
static int |
REPEATED |
static int |
REQUIRED |
static int |
RETURNS |
static int |
RPAREN |
static int |
RPC |
static int |
RSQUARE |
static String[] |
ruleNames |
static int |
SEMICOLON |
static int |
SERVICE |
static int |
STRING_VALUE |
static int |
SYNTAX |
static int |
TO |
static String[] |
tokenNames
Deprecated.
Use
VOCABULARY instead. |
static org.antlr.v4.runtime.Vocabulary |
VOCABULARY |
static int |
WS |
_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 and Description |
|---|
ProtoLexer(org.antlr.v4.runtime.CharStream input) |
| Modifier and Type | Method and Description |
|---|---|
org.antlr.v4.runtime.atn.ATN |
getATN() |
String |
getGrammarFileName() |
String[] |
getModeNames() |
String[] |
getRuleNames() |
String |
getSerializedATN() |
String[] |
getTokenNames()
Deprecated.
|
org.antlr.v4.runtime.Vocabulary |
getVocabulary() |
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, skipaction, addErrorListener, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getParseInfo, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, precpred, removeErrorListener, removeErrorListeners, sempred, setInterpreter, setStateprotected static final org.antlr.v4.runtime.dfa.DFA[] _decisionToDFA
protected static final org.antlr.v4.runtime.atn.PredictionContextCache _sharedContextCache
public static final int PACKAGE
public static final int SYNTAX
public static final int IMPORT
public static final int PUBLIC
public static final int OPTION
public static final int MESSAGE
public static final int GROUP
public static final int OPTIONAL
public static final int REQUIRED
public static final int REPEATED
public static final int ONEOF
public static final int EXTEND
public static final int EXTENSIONS
public static final int TO
public static final int MAX
public static final int ENUM
public static final int SERVICE
public static final int RPC
public static final int RETURNS
public static final int MAP
public static final int BOOLEAN_VALUE
public static final int COMMENT
public static final int LINE_COMMENT
public static final int WS
public static final int LCURLY
public static final int RCURLY
public static final int LPAREN
public static final int RPAREN
public static final int LSQUARE
public static final int RSQUARE
public static final int LT
public static final int GT
public static final int COMMA
public static final int DOT
public static final int COLON
public static final int SEMICOLON
public static final int ASSIGN
public static final int NAME
public static final int STRING_VALUE
public static final int INTEGER_VALUE
public static final int FLOAT_VALUE
public static String[] modeNames
public static final String[] ruleNames
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY
@Deprecated public static final String[] tokenNames
VOCABULARY instead.public static final String _serializedATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
@Deprecated public String[] getTokenNames()
getTokenNames in class org.antlr.v4.runtime.Lexerpublic org.antlr.v4.runtime.Vocabulary getVocabulary()
getVocabulary in class org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>public String getGrammarFileName()
getGrammarFileName in class org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>public String[] getRuleNames()
getRuleNames in class org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>public String getSerializedATN()
getSerializedATN in class org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>public String[] getModeNames()
getModeNames in class org.antlr.v4.runtime.Lexerpublic org.antlr.v4.runtime.atn.ATN getATN()
getATN in class org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>Copyright © 2015–2016. All rights reserved.