Class 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 _ATN  
      protected static org.antlr.v4.runtime.dfa.DFA[] _decisionToDFA  
      static java.lang.String _serializedATN  
      protected static org.antlr.v4.runtime.atn.PredictionContextCache _sharedContextCache  
      static int CDATA  
      static int CharRef  
      static int CLOSE  
      static int COMMENT  
      static int DTD  
      static int EntityRef  
      static int EQUALS  
      static int INSIDE  
      static java.lang.String[] modeNames  
      static int Name  
      static int OPEN  
      static int PI  
      static int PROC_INSTR  
      static java.lang.String[] ruleNames  
      static int S  
      static int SEA_WS  
      static int SLASH  
      static int SLASH_CLOSE  
      static int SPECIAL_CLOSE  
      static int STRING  
      static int TEXT  
      static java.lang.String[] tokenNames
      Deprecated.
      Use VOCABULARY instead.
      static org.antlr.v4.runtime.Vocabulary VOCABULARY  
      static int XMLDeclOpen  
      • 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
      • Fields inherited from class org.antlr.v4.runtime.Recognizer

        _interp, EOF
    • 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.ATN getATN()  
      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()  
      • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XMLLexer

        public XMLLexer​(org.antlr.v4.runtime.CharStream input)
    • Method Detail

      • getTokenNames

        @Deprecated
        public java.lang.String[] getTokenNames()
        Deprecated.
        Overrides:
        getTokenNames in class org.antlr.v4.runtime.Lexer
      • getVocabulary

        public org.antlr.v4.runtime.Vocabulary getVocabulary()
        Overrides:
        getVocabulary in class org.antlr.v4.runtime.Recognizer<java.lang.Integer,​org.antlr.v4.runtime.atn.LexerATNSimulator>
      • getGrammarFileName

        public java.lang.String getGrammarFileName()
        Specified by:
        getGrammarFileName in class org.antlr.v4.runtime.Recognizer<java.lang.Integer,​org.antlr.v4.runtime.atn.LexerATNSimulator>
      • getRuleNames

        public java.lang.String[] getRuleNames()
        Specified by:
        getRuleNames in class org.antlr.v4.runtime.Recognizer<java.lang.Integer,​org.antlr.v4.runtime.atn.LexerATNSimulator>
      • getSerializedATN

        public java.lang.String getSerializedATN()
        Overrides:
        getSerializedATN in class org.antlr.v4.runtime.Recognizer<java.lang.Integer,​org.antlr.v4.runtime.atn.LexerATNSimulator>
      • getModeNames

        public java.lang.String[] getModeNames()
        Overrides:
        getModeNames in class org.antlr.v4.runtime.Lexer
      • getATN

        public org.antlr.v4.runtime.atn.ATN getATN()
        Specified by:
        getATN in class org.antlr.v4.runtime.Recognizer<java.lang.Integer,​org.antlr.v4.runtime.atn.LexerATNSimulator>