Class IcebergSqlExtensionsLexer

  • All Implemented Interfaces:
    org.antlr.v4.runtime.TokenSource

    public class IcebergSqlExtensionsLexer
    extends org.antlr.v4.runtime.Lexer
    • Constructor Summary

      Constructors 
      Constructor Description
      IcebergSqlExtensionsLexer​(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[] 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()  
      boolean isHint()
      This method will be called when we see '/*' and try to match it as a bracketed comment.
      boolean isValidDecimal()
      Verify whether current token is a valid decimal token (which contains dot).
      boolean sempred​(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int predIndex)  
      • 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, setInterpreter, setState
      • Methods inherited from class java.lang.Object

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

      • IcebergSqlExtensionsLexer

        public IcebergSqlExtensionsLexer​(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>
      • isValidDecimal

        public boolean isValidDecimal()
        Verify whether current token is a valid decimal token (which contains dot). Returns true if the character that follows the token is not a digit or letter or underscore. For example: For char stream "2.3", "2." is not a valid decimal token, because it is followed by digit '3'. For char stream "2.3_", "2.3" is not a valid decimal token, because it is followed by '_'. For char stream "2.3W", "2.3" is not a valid decimal token, because it is followed by 'W'. For char stream "12.0D 34.E2+0.12 " 12.0D is a valid decimal token because it is followed by a space. 34.E2 is a valid decimal token because it is followed by symbol '+' which is not a digit or letter or underscore.
      • isHint

        public boolean isHint()
        This method will be called when we see '/*' and try to match it as a bracketed comment. If the next character is '+', it should be parsed as hint later, and we cannot match it as a bracketed comment. Returns true if the next character is '+'.
      • 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>
      • sempred

        public boolean sempred​(org.antlr.v4.runtime.RuleContext _localctx,
                               int ruleIndex,
                               int predIndex)
        Overrides:
        sempred in class org.antlr.v4.runtime.Recognizer<java.lang.Integer,​org.antlr.v4.runtime.atn.LexerATNSimulator>