MySQL 5.6.14 Source Code Document
|
Public Member Functions | |
int | checkFunctionAsID (int proposedType) |
MySQLLexer (CharStream input) | |
MySQLLexer (CharStream input, RecognizerSharedState state) | |
void | setErrorListener (ErrorListener listener) |
ErrorListener | getErrorListener () |
void | displayRecognitionError (String[] tokenNames, RecognitionException e) |
String | getErrorHeader (RecognitionException e) |
void | emitErrorMessage (String msg) |
String | getErrorMessage (RecognitionException re, String[] tokenNames) |
void | reportError (RecognitionException e) |
void | originalDisplayError (String[] tokenNames, RecognitionException e) |
void | originalReportError (RecognitionException e) |
String | originalGetErrorHeader (RecognitionException e) |
String | originalGetErrorMessage (RecognitionException e, String[] tokenNames) |
void | originalEmitErrorMessage (String msg) |
Abstract superclass for MySQL Lexers, for now containing some common code, so it's not in the grammar. Author: kroepke
Definition at line 34 of file MySQLLexer.java.
|
inline |
Check ahead in the input stream for a left paren to distinguish between built-in functions and identifiers. TODO: This is the place to support certain SQL modes.
proposedType | the original token type for this input. |
Definition at line 49 of file MySQLLexer.java.
|
inline |
Delegate error presentation to our errorListener if that's set, otherwise pass up the chain.
Definition at line 74 of file MySQLLexer.java.