MySQL  8.0.27
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 YYSTYPE_IS_DECLARED
 

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 = 1200
 
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

◆ YYSTYPE_IS_DECLARED

#define YYSTYPE_IS_DECLARED

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 = 1200

◆ 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:246
@ MAX_EXECUTION_TIME_HINT
Definition: sql_hints.yy.h:48
const int start
Definition: gen_lex_token.cc:232

◆ range_for_sql_yacc1

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

◆ range_for_sql_yacc2

range range_for_sql_yacc2
Initial value:
{"sql/sql_yacc.yy (before YYUNDEF)", YYUNDEF,
const int MY_MAX_TOKEN
Definition: gen_lex_token.cc:147
#define YYUNDEF
Definition: sql_hints.yy.cc:246

◆ 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