Internal state of the parser.
More...
#include <sql_lexer_parser_state.h>
|
| Parser_state (int grammar_selector_token) |
| Constructor for special parsers of partial SQL clauses (DD) More...
|
|
| Parser_state (int grammar_selector_token) |
| Constructor for special parsers of partial SQL clauses (DD) More...
|
|
Internal state of the parser.
The complete state consist of:
- input parameters that control the parser behavior
- state data used during lexical parsing,
- state data used during syntactic parsing.
◆ Parser_state() [1/4]
Parser_state::Parser_state |
( |
int |
grammar_selector_token | ) |
|
|
inlineexplicitprotected |
Constructor for special parsers of partial SQL clauses (DD)
- Parameters
-
grammar_selector_token | See Lex_input_stream::grammar_selector_token |
◆ Parser_state() [2/4]
Parser_state::Parser_state |
( |
| ) |
|
|
inline |
◆ Parser_state() [3/4]
Parser_state::Parser_state |
( |
int |
grammar_selector_token | ) |
|
|
inlineexplicitprotected |
Constructor for special parsers of partial SQL clauses (DD)
- Parameters
-
grammar_selector_token | See Lex_input_stream::grammar_selector_token |
◆ Parser_state() [4/4]
Parser_state::Parser_state |
( |
| ) |
|
|
inline |
◆ add_comment() [1/2]
void Parser_state::add_comment |
( |
| ) |
|
|
inline |
Signal that the current query has a comment.
◆ add_comment() [2/2]
void Parser_state::add_comment |
( |
| ) |
|
|
inline |
Signal that the current query has a comment.
◆ has_comment() [1/2]
bool Parser_state::has_comment |
( |
| ) |
const |
|
inline |
Check whether the current query has a comment.
◆ has_comment() [2/2]
bool Parser_state::has_comment |
( |
| ) |
const |
|
inline |
Check whether the current query has a comment.
◆ init() [1/2]
bool Parser_state::init |
( |
THD * |
thd, |
|
|
const char * |
buff, |
|
|
size_t |
length |
|
) |
| |
|
inline |
Object initializer.
Must be called before usage.
- Return values
-
◆ init() [2/2]
bool Parser_state::init |
( |
THD * |
thd, |
|
|
const char * |
buff, |
|
|
size_t |
length |
|
) |
| |
|
inline |
Object initializer.
Must be called before usage.
- Return values
-
◆ reset() [1/2]
void Parser_state::reset |
( |
const char * |
found_semicolon, |
|
|
size_t |
length |
|
) |
| |
|
inline |
◆ reset() [2/2]
void Parser_state::reset |
( |
const char * |
found_semicolon, |
|
|
size_t |
length |
|
) |
| |
|
inline |
◆ m_comment
bool Parser_state::m_comment |
|
private |
True if current query contains comments.
◆ m_digest_psi
Current performance digest instrumentation.
◆ m_input
◆ m_lip
◆ m_yacc
The documentation for this class was generated from the following files: