Package android.databinding.parser
Class XMLLexer
- java.lang.Object
-
- org.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
- org.antlr.v4.runtime.Lexer
-
- android.databinding.parser.XMLLexer
-
- All Implemented Interfaces:
org.antlr.v4.runtime.TokenSource
public class XMLLexer 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 java.lang.String_serializedATNprotected static org.antlr.v4.runtime.atn.PredictionContextCache_sharedContextCachestatic intCDATAstatic intCharRefstatic intCLOSEstatic intCOMMENTstatic intDTDstatic intEntityRefstatic intEQUALSstatic intINSIDEstatic java.lang.String[]modeNamesstatic intNamestatic intOPENstatic intPIstatic intPROC_INSTRstatic java.lang.String[]ruleNamesstatic intSstatic intSEA_WSstatic intSLASHstatic intSLASH_CLOSEstatic intSPECIAL_CLOSEstatic intSTRINGstatic intTEXTstatic java.lang.String[]tokenNamesDeprecated.UseVOCABULARYinstead.static org.antlr.v4.runtime.VocabularyVOCABULARYstatic intXMLDeclOpen-
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 XMLLexer(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()java.lang.StringgetGrammarFileName()java.lang.String[]getModeNames()java.lang.String[]getRuleNames()java.lang.StringgetSerializedATN()java.lang.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
-
COMMENT
public static final int COMMENT
- See Also:
- Constant Field Values
-
CDATA
public static final int CDATA
- See Also:
- Constant Field Values
-
DTD
public static final int DTD
- See Also:
- Constant Field Values
-
EntityRef
public static final int EntityRef
- See Also:
- Constant Field Values
-
CharRef
public static final int CharRef
- See Also:
- Constant Field Values
-
SEA_WS
public static final int SEA_WS
- See Also:
- Constant Field Values
-
OPEN
public static final int OPEN
- See Also:
- Constant Field Values
-
XMLDeclOpen
public static final int XMLDeclOpen
- See Also:
- Constant Field Values
-
TEXT
public static final int TEXT
- See Also:
- Constant Field Values
-
CLOSE
public static final int CLOSE
- See Also:
- Constant Field Values
-
SPECIAL_CLOSE
public static final int SPECIAL_CLOSE
- See Also:
- Constant Field Values
-
SLASH_CLOSE
public static final int SLASH_CLOSE
- See Also:
- Constant Field Values
-
SLASH
public static final int SLASH
- See Also:
- Constant Field Values
-
EQUALS
public static final int EQUALS
- See Also:
- Constant Field Values
-
STRING
public static final int STRING
- See Also:
- Constant Field Values
-
Name
public static final int Name
- See Also:
- Constant Field Values
-
S
public static final int S
- See Also:
- Constant Field Values
-
PI
public static final int PI
- See Also:
- Constant Field Values
-
INSIDE
public static final int INSIDE
- See Also:
- Constant Field Values
-
PROC_INSTR
public static final int PROC_INSTR
- See Also:
- Constant Field Values
-
modeNames
public static java.lang.String[] modeNames
-
ruleNames
public static final java.lang.String[] ruleNames
-
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
-
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>
-
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>
-
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>
-
-