Class PostgreSQLLexerBase

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

    public abstract class PostgreSQLLexerBase
    extends org.antlr.v4.runtime.Lexer
    SQL lexer base for PostgreSQL.
    • Field Summary

      • 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 
      Modifier Constructor Description
      protected PostgreSQLLexerBase​(org.antlr.v4.runtime.CharStream input)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isTag()
      Judge is tag.
      void popTag()
      Pop tag.
      void pushTag()
      Push tag.
      • Methods inherited from class org.antlr.v4.runtime.Lexer

        emit, emit, emitEOF, getAllTokens, getChannel, getChannelNames, getCharErrorDisplay, getCharIndex, getCharPositionInLine, getErrorDisplay, getErrorDisplay, getInputStream, getLine, getModeNames, getSourceName, getText, getToken, getTokenFactory, getTokenNames, 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, getATN, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getGrammarFileName, getInterpreter, getParseInfo, getRuleIndexMap, getRuleNames, getSerializedATN, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, getVocabulary, precpred, removeErrorListener, removeErrorListeners, sempred, setInterpreter, setState
    • Constructor Detail

      • PostgreSQLLexerBase

        protected PostgreSQLLexerBase​(org.antlr.v4.runtime.CharStream input)
    • Method Detail

      • pushTag

        public void pushTag()
        Push tag.
      • isTag

        public boolean isTag()
        Judge is tag.
        Returns:
        is tag
      • popTag

        public void popTag()
        Pop tag.