Class JavascriptLexer

  • All Implemented Interfaces:
    org.antlr.v4.runtime.TokenSource
    Direct Known Subclasses:
    JavascriptErrorHandlingLexer

    class JavascriptLexer
    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  
      private static java.lang.String[] _LITERAL_NAMES  
      static java.lang.String _serializedATN  
      protected static org.antlr.v4.runtime.atn.PredictionContextCache _sharedContextCache  
      private static java.lang.String[] _SYMBOLIC_NAMES  
      static int ADD  
      static int BOOLAND  
      static int BOOLNOT  
      static int BOOLOR  
      static int BWAND  
      static int BWNOT  
      static int BWOR  
      static int BWXOR  
      static java.lang.String[] channelNames  
      static int COLON  
      static int COMMA  
      static int COND  
      static int DECIMAL  
      static int DIV  
      static int EQ  
      static int GT  
      static int GTE  
      static int HEX  
      static int LP  
      static int LSH  
      static int LT  
      static int LTE  
      static java.lang.String[] modeNames  
      static int MUL  
      static int NE  
      static int OCTAL  
      static int REM  
      static int RP  
      static int RSH  
      static java.lang.String[] ruleNames  
      static int SUB  
      static java.lang.String[] tokenNames
      Deprecated.
      Use VOCABULARY instead.
      static int USH  
      static int VARIABLE  
      static org.antlr.v4.runtime.Vocabulary VOCABULARY  
      static int WS  
      • 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
      JavascriptLexer​(org.antlr.v4.runtime.CharStream input)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      org.antlr.v4.runtime.atn.ATN getATN()  
      java.lang.String[] getChannelNames()  
      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()  
      private static java.lang.String[] makeLiteralNames()  
      private static java.lang.String[] makeRuleNames()  
      private static java.lang.String[] makeSymbolicNames()  
      • 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

      • JavascriptLexer

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

      • makeRuleNames

        private static java.lang.String[] makeRuleNames()
      • makeLiteralNames

        private static java.lang.String[] makeLiteralNames()
      • makeSymbolicNames

        private static java.lang.String[] makeSymbolicNames()
      • 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>
      • getChannelNames

        public java.lang.String[] getChannelNames()
        Overrides:
        getChannelNames in class org.antlr.v4.runtime.Lexer
      • 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>