26#ifndef ROUTING_SQL_LEXER_INCLUDED
27#define ROUTING_SQL_LEXER_INCLUDED
Definition: sql_lexer.h:41
THD * session_
Definition: sql_lexer.h:72
iterator & operator++()
Definition: sql_lexer.cc:1320
Token token_
Definition: sql_lexer.h:75
friend bool operator!=(const iterator &a, const iterator &b)
Definition: sql_lexer.cc:1366
Token next_token()
Definition: sql_lexer.cc:1295
std::string_view get_token_text(TokenId token_id) const
Definition: sql_lexer.cc:1335
friend bool operator==(const iterator &a, const iterator &b)
Definition: sql_lexer.cc:1362
value_type operator*() const
Definition: sql_lexer.h:58
const_pointer operator->() const
Definition: sql_lexer.h:60
pointer operator->()
Definition: sql_lexer.h:59
lexer_state st
Definition: sql_lexer.h:73
iterator(THD *session)
Definition: sql_lexer.cc:1288
iterator(THD *session, Token token)
Definition: sql_lexer.h:55
Definition: sql_lexer.h:35
iterator end()
Definition: sql_lexer.h:79
THD * session_
Definition: sql_lexer.h:82
SqlLexer(THD *session)
Definition: sql_lexer.cc:1278
iterator begin()
Definition: sql_lexer.h:78
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:34
Definition: gcs_xcom_synode.h:64
Definition: sql_lexer.h:43
std::string_view text
Definition: sql_lexer.h:44
TokenId id
Definition: sql_lexer.h:45
Definition: lexer_yystype.h:33