26#ifndef ROUTING_SQL_LEXER_INCLUDED
27#define ROUTING_SQL_LEXER_INCLUDED
Definition: sql_lexer.h:48
THD * session_
Definition: sql_lexer.h:79
iterator & operator++()
Definition: sql_lexer.cc:1353
Token token_
Definition: sql_lexer.h:82
friend bool operator!=(const iterator &a, const iterator &b)
Definition: sql_lexer.cc:1399
Token next_token()
Definition: sql_lexer.cc:1328
std::string_view get_token_text(TokenId token_id) const
Definition: sql_lexer.cc:1368
friend bool operator==(const iterator &a, const iterator &b)
Definition: sql_lexer.cc:1395
value_type operator*() const
Definition: sql_lexer.h:65
const_pointer operator->() const
Definition: sql_lexer.h:67
pointer operator->()
Definition: sql_lexer.h:66
lexer_state st
Definition: sql_lexer.h:80
iterator(THD *session)
Definition: sql_lexer.cc:1290
iterator(THD *session, Token token)
Definition: sql_lexer.h:62
Definition: sql_lexer.h:35
static void init_library()
init the library that's used by the lexer.
Definition: sql_lexer.cc:1278
iterator end()
Definition: sql_lexer.h:86
THD * session_
Definition: sql_lexer.h:89
SqlLexer(THD *session)
Definition: sql_lexer.cc:1284
iterator begin()
Definition: sql_lexer.h:85
int TokenId
Definition: sql_lexer.h:37
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
Definition: gcs_xcom_synode.h:64
Definition: sql_lexer.h:50
std::string_view text
Definition: sql_lexer.h:51
TokenId id
Definition: sql_lexer.h:52
Definition: lexer_yystype.h:33