Class XMLLexer
- java.lang.Object
-
- org.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
- org.antlr.v4.runtime.Lexer
-
- org.openrewrite.xml.internal.grammar.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 java.lang.String[]channelNamesstatic intCharRefstatic intCLOSEstatic intCOMMENTstatic intDOCTYPEstatic intDTD_CLOSEstatic intDTD_OPENstatic intDTD_Sstatic intDTD_SUBSET_CLOSEstatic intDTD_SUBSET_OPENstatic intDTS_SUBSET_Sstatic intEntityRefstatic intEQUALSstatic intINSIDEstatic intINSIDE_DTDstatic intINSIDE_DTD_SUBSETstatic intINSIDE_MARKUPstatic intINSIDE_MARKUP_SUBSETstatic intINSIDE_PROCESS_INSTRUCTIONstatic intMARK_UP_CLOSEstatic intMARKUP_OPENstatic intMARKUP_Sstatic intMARKUP_SUBSETstatic intMARKUP_TEXTstatic java.lang.String[]modeNamesstatic intNamestatic intOPENstatic intParamEntityRefstatic intPI_Sstatic intPI_TEXTstatic java.lang.String[]ruleNamesstatic intSstatic intSEA_WSstatic intSLASHstatic intSLASH_CLOSEstatic intSPECIAL_CLOSEstatic intSPECIAL_OPENstatic intSPECIAL_OPEN_XMLstatic intSTRINGstatic intTEXTstatic java.lang.String[]tokenNamesDeprecated.UseVOCABULARYinstead.static intUTF_ENCODING_BOMstatic 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 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.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()-
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
-
ParamEntityRef
public static final int ParamEntityRef
- 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
-
UTF_ENCODING_BOM
public static final int UTF_ENCODING_BOM
- See Also:
- Constant Field Values
-
SPECIAL_OPEN_XML
public static final int SPECIAL_OPEN_XML
- See Also:
- Constant Field Values
-
OPEN
public static final int OPEN
- See Also:
- Constant Field Values
-
SPECIAL_OPEN
public static final int SPECIAL_OPEN
- See Also:
- Constant Field Values
-
DTD_OPEN
public static final int DTD_OPEN
- See Also:
- Constant Field Values
-
TEXT
public static final int TEXT
- See Also:
- Constant Field Values
-
DTD_CLOSE
public static final int DTD_CLOSE
- See Also:
- Constant Field Values
-
DTD_SUBSET_OPEN
public static final int DTD_SUBSET_OPEN
- See Also:
- Constant Field Values
-
DTD_S
public static final int DTD_S
- See Also:
- Constant Field Values
-
DOCTYPE
public static final int DOCTYPE
- See Also:
- Constant Field Values
-
DTD_SUBSET_CLOSE
public static final int DTD_SUBSET_CLOSE
- See Also:
- Constant Field Values
-
MARKUP_OPEN
public static final int MARKUP_OPEN
- See Also:
- Constant Field Values
-
DTS_SUBSET_S
public static final int DTS_SUBSET_S
- See Also:
- Constant Field Values
-
MARK_UP_CLOSE
public static final int MARK_UP_CLOSE
- See Also:
- Constant Field Values
-
MARKUP_S
public static final int MARKUP_S
- See Also:
- Constant Field Values
-
MARKUP_TEXT
public static final int MARKUP_TEXT
- See Also:
- Constant Field Values
-
MARKUP_SUBSET
public static final int MARKUP_SUBSET
- See Also:
- Constant Field Values
-
PI_S
public static final int PI_S
- See Also:
- Constant Field Values
-
PI_TEXT
public static final int PI_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
-
S
public static final int S
- 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
-
INSIDE_DTD
public static final int INSIDE_DTD
- See Also:
- Constant Field Values
-
INSIDE_DTD_SUBSET
public static final int INSIDE_DTD_SUBSET
- See Also:
- Constant Field Values
-
INSIDE_MARKUP
public static final int INSIDE_MARKUP
- See Also:
- Constant Field Values
-
INSIDE_MARKUP_SUBSET
public static final int INSIDE_MARKUP_SUBSET
- See Also:
- Constant Field Values
-
INSIDE_PROCESS_INSTRUCTION
public static final int INSIDE_PROCESS_INSTRUCTION
- See Also:
- Constant Field Values
-
INSIDE
public static final int INSIDE
- 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
-
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>
-
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>
-
-