MySQL 8.4.0
Source Code Documentation
gen_lex_token.cc File Reference
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include "sql/lex.h"
#include "sql/lex_symbol.h"
#include "sql/sql_hints.yy.h"
#include "sql/sql_yacc.h"
#include "welcome_copyright_notice.h"

Classes

struct  gen_lex_token_string
 Generated token. More...
 
struct  range
 

Macros

#define MY_SQL_PARSER_UNDEF   YYUNDEF
 

Functions

static void set_start_expr_token (int tok)
 
static void compute_tokens ()
 
static void print_tokens ()
 
int main (int, char **)
 

Variables

const int MY_MAX_TOKEN = 1251
 
gen_lex_token_string compiled_token_array [MY_MAX_TOKEN]
 
range range_for_sql_yacc2
 
range range_for_digests {"digest specials", 1100, range_for_sql_yacc2.start - 1}
 
range range_for_sql_hints
 
range range_for_sql_yacc1
 
int tok_generic_value = 0
 
int tok_generic_value_list = 0
 
int tok_row_single_value = 0
 
int tok_row_single_value_list = 0
 
int tok_row_multiple_value = 0
 
int tok_row_multiple_value_list = 0
 
int tok_in_generic_value_expression = 0
 
int tok_ident = 0
 
int tok_ident_at = 0
 Fake token for the left part of table@query_block. More...
 
int tok_hint_comment_open
 Fake token value for "/*+" of hint comments. More...
 
int tok_hint_comment_close
 Fake token value for "*&zwj;/" of hint comments. More...
 
int tok_unused = 0
 
static const int zerofill_expected_value = 906
 

Macro Definition Documentation

◆ MY_SQL_PARSER_UNDEF

#define MY_SQL_PARSER_UNDEF   YYUNDEF

Function Documentation

◆ compute_tokens()

static void compute_tokens ( )
static

◆ main()

int main ( int  ,
char **   
)

◆ print_tokens()

static void print_tokens ( )
static

◆ set_start_expr_token()

static void set_start_expr_token ( int  tok)
static

Variable Documentation

◆ compiled_token_array

gen_lex_token_string compiled_token_array[MY_MAX_TOKEN]

◆ MY_MAX_TOKEN

const int MY_MAX_TOKEN = 1251

◆ range_for_digests

range range_for_digests {"digest specials", 1100, range_for_sql_yacc2.start - 1}

◆ range_for_sql_hints

range range_for_sql_hints
Initial value:
{"sql/sql_hints.yy", MAX_EXECUTION_TIME_HINT,
range range_for_digests
Definition: gen_lex_token.cc:253
@ MAX_EXECUTION_TIME_HINT
Definition: sql_hints.yy.h:56
const int start
Definition: gen_lex_token.cc:230

◆ range_for_sql_yacc1

range range_for_sql_yacc1
Initial value:
{"sql/sql_yacc.yy (after MY_SQL_PARSER_UNDEF)", 256,
range range_for_sql_hints
Definition: gen_lex_token.cc:257

◆ range_for_sql_yacc2

range range_for_sql_yacc2
Initial value:
{"sql/sql_yacc.yy (before MY_SQL_PARSER_UNDEF)",
const int MY_MAX_TOKEN
Definition: gen_lex_token.cc:145
#define MY_SQL_PARSER_UNDEF
Definition: gen_lex_token.cc:243

◆ tok_generic_value

int tok_generic_value = 0

◆ tok_generic_value_list

int tok_generic_value_list = 0

◆ tok_hint_comment_close

int tok_hint_comment_close
Initial value:
=
0

Fake token value for "*&zwj;/" of hint comments.

◆ tok_hint_comment_open

int tok_hint_comment_open
Initial value:
=
0

Fake token value for "/*+" of hint comments.

◆ tok_ident

int tok_ident = 0

◆ tok_ident_at

int tok_ident_at = 0

Fake token for the left part of table@query_block.

◆ tok_in_generic_value_expression

int tok_in_generic_value_expression = 0

◆ tok_row_multiple_value

int tok_row_multiple_value = 0

◆ tok_row_multiple_value_list

int tok_row_multiple_value_list = 0

◆ tok_row_single_value

int tok_row_single_value = 0

◆ tok_row_single_value_list

int tok_row_single_value_list = 0

◆ tok_unused

int tok_unused = 0

◆ zerofill_expected_value

const int zerofill_expected_value = 906
static