class SqlBaseLexer extends Lexer
- Annotations
- @SuppressWarnings()
- Alphabetic
- By Inheritance
- SqlBaseLexer
- Lexer
- TokenSource
- Recognizer
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SqlBaseLexer(input: CharStream)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
action(_localctx: RuleContext, ruleIndex: Int, actionIndex: Int): Unit
- Definition Classes
- SqlBaseLexer → Recognizer
- Annotations
- @Override()
-
def
addErrorListener(arg0: ANTLRErrorListener): Unit
- Definition Classes
- Recognizer
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
emit(): Token
- Definition Classes
- Lexer
-
def
emit(arg0: Token): Unit
- Definition Classes
- Lexer
-
def
emitEOF(): Token
- Definition Classes
- Lexer
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getATN(): ATN
- Definition Classes
- SqlBaseLexer → Recognizer
- Annotations
- @Override()
-
def
getAllTokens(): List[_ <: Token]
- Definition Classes
- Lexer
-
def
getChannel(): Int
- Definition Classes
- Lexer
-
def
getChannelNames(): Array[String]
- Definition Classes
- SqlBaseLexer → Lexer
- Annotations
- @Override()
-
def
getCharErrorDisplay(arg0: Int): String
- Definition Classes
- Lexer
-
def
getCharIndex(): Int
- Definition Classes
- Lexer
-
def
getCharPositionInLine(): Int
- Definition Classes
- Lexer → TokenSource
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getErrorDisplay(arg0: Int): String
- Definition Classes
- Lexer
-
def
getErrorDisplay(arg0: String): String
- Definition Classes
- Lexer
-
def
getErrorHeader(arg0: RecognitionException): String
- Definition Classes
- Recognizer
-
def
getErrorListenerDispatch(): ANTLRErrorListener
- Definition Classes
- Recognizer
-
def
getErrorListeners(): List[_ <: ANTLRErrorListener]
- Definition Classes
- Recognizer
-
def
getGrammarFileName(): String
- Definition Classes
- SqlBaseLexer → Recognizer
- Annotations
- @Override()
-
def
getInputStream(): CharStream
- Definition Classes
- Lexer → TokenSource → Recognizer
-
def
getInterpreter(): LexerATNSimulator
- Definition Classes
- Recognizer
-
def
getLine(): Int
- Definition Classes
- Lexer → TokenSource
-
def
getModeNames(): Array[String]
- Definition Classes
- SqlBaseLexer → Lexer
- Annotations
- @Override()
-
def
getParseInfo(): ParseInfo
- Definition Classes
- Recognizer
-
def
getRuleIndexMap(): Map[String, Integer]
- Definition Classes
- Recognizer
-
def
getRuleNames(): Array[String]
- Definition Classes
- SqlBaseLexer → Recognizer
- Annotations
- @Override()
-
def
getSerializedATN(): String
- Definition Classes
- SqlBaseLexer → Recognizer
- Annotations
- @Override()
-
def
getSourceName(): String
- Definition Classes
- Lexer → TokenSource
-
final
def
getState(): Int
- Definition Classes
- Recognizer
-
def
getText(): String
- Definition Classes
- Lexer
-
def
getToken(): Token
- Definition Classes
- Lexer
-
def
getTokenFactory(): TokenFactory[_ <: Token]
- Definition Classes
- Lexer → TokenSource → Recognizer
-
def
getTokenType(arg0: String): Int
- Definition Classes
- Recognizer
-
def
getTokenTypeMap(): Map[String, Integer]
- Definition Classes
- Recognizer
-
def
getType(): Int
- Definition Classes
- Lexer
-
def
getVocabulary(): Vocabulary
- Definition Classes
- SqlBaseLexer → Recognizer
- Annotations
- @Override()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
isHint(): Boolean
This method will be called when we see '/*' and try to match it as a bracketed comment.
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 '+'.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isValidDecimal(): Boolean
Verify whether current token is a valid decimal token (which contains dot).
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.
-
def
markUnclosedComment(): Unit
This method will be called when the character stream ends and try to find out the unclosed bracketed comment.
This method will be called when the character stream ends and try to find out the unclosed bracketed comment. If the method be called, it means the end of the entire character stream match, and we set the flag and fail later.
-
def
mode(arg0: Int): Unit
- Definition Classes
- Lexer
-
def
more(): Unit
- Definition Classes
- Lexer
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
nextToken(): Token
- Definition Classes
- Lexer → TokenSource
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
notifyListeners(arg0: LexerNoViableAltException): Unit
- Definition Classes
- Lexer
-
def
popMode(): Int
- Definition Classes
- Lexer
-
def
precpred(arg0: RuleContext, arg1: Int): Boolean
- Definition Classes
- Recognizer
-
def
pushMode(arg0: Int): Unit
- Definition Classes
- Lexer
-
def
recover(arg0: RecognitionException): Unit
- Definition Classes
- Lexer
-
def
recover(arg0: LexerNoViableAltException): Unit
- Definition Classes
- Lexer
-
def
removeErrorListener(arg0: ANTLRErrorListener): Unit
- Definition Classes
- Recognizer
-
def
removeErrorListeners(): Unit
- Definition Classes
- Recognizer
-
def
reset(): Unit
- Definition Classes
- Lexer
-
def
sempred(_localctx: RuleContext, ruleIndex: Int, predIndex: Int): Boolean
- Definition Classes
- SqlBaseLexer → Recognizer
- Annotations
- @Override()
-
def
setChannel(arg0: Int): Unit
- Definition Classes
- Lexer
-
def
setCharPositionInLine(arg0: Int): Unit
- Definition Classes
- Lexer
-
def
setInputStream(arg0: IntStream): Unit
- Definition Classes
- Lexer → Recognizer
-
def
setInterpreter(arg0: LexerATNSimulator): Unit
- Definition Classes
- Recognizer
-
def
setLine(arg0: Int): Unit
- Definition Classes
- Lexer
-
final
def
setState(arg0: Int): Unit
- Definition Classes
- Recognizer
-
def
setText(arg0: String): Unit
- Definition Classes
- Lexer
-
def
setToken(arg0: Token): Unit
- Definition Classes
- Lexer
-
def
setTokenFactory(arg0: TokenFactory[_]): Unit
- Definition Classes
- Lexer → TokenSource → Recognizer
-
def
setType(arg0: Int): Unit
- Definition Classes
- Lexer
-
def
skip(): Unit
- Definition Classes
- Lexer
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
Deprecated Value Members
-
def
getTokenErrorDisplay(arg0: Token): String
- Definition Classes
- Recognizer
- Annotations
- @Deprecated
- Deprecated
-
def
getTokenNames(): Array[String]
- Definition Classes
- SqlBaseLexer → Lexer → Recognizer
- Annotations
- @Override() @Deprecated
- Deprecated