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 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 String[] modeNames  
      static int Name  
      static int OPEN  
      static int PI  
      static int PROC_INSTR  
      static 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 String[] tokenNames  
      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 
      Modifier and Type Method Description
      org.antlr.v4.runtime.atn.ATN getATN()  
      String getGrammarFileName()  
      String[] getModeNames()  
      String[] getRuleNames()  
      String getSerializedATN()  
      String[] getTokenNames()  
      • Methods inherited from class org.antlr.v4.runtime.Lexer

        emit, emit, emitEOF, getAllTokens, getChannel, getChannelNames, 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, getVocabulary, precpred, removeErrorListener, removeErrorListeners, sempred, setInterpreter, setState
    • Constructor Detail

      • XMLLexer

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

      • getGrammarFileName

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

        public String[] getTokenNames()
        Overrides:
        getTokenNames in class org.antlr.v4.runtime.Lexer
      • getRuleNames

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

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

        public 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<Integer,​org.antlr.v4.runtime.atn.LexerATNSimulator>