MySQL 8.0.39
Source Code Documentation
gen_lex_token_string Struct Reference

Generated token. More...

Public Member Functions

 gen_lex_token_string (const char *token_string, int token_length, bool append_space, bool start_expr)
 
 gen_lex_token_string ()
 

Public Attributes

const char * m_token_string
 Real lexeme string or user-specified text to output with a normalized query string. More...
 
int m_token_length
 Byte length of m_token_string. More...
 
bool m_append_space
 If true, output ' ' after this token to a normalized query string. More...
 
bool m_start_expr
 See digest_add_token(). More...
 
bool m_initialized {false}
 The structure is uninitialized if false. More...
 

Detailed Description

Generated token.

Constructor & Destructor Documentation

◆ gen_lex_token_string() [1/2]

gen_lex_token_string::gen_lex_token_string ( const char *  token_string,
int  token_length,
bool  append_space,
bool  start_expr 
)
inline

◆ gen_lex_token_string() [2/2]

gen_lex_token_string::gen_lex_token_string ( )
inline

Member Data Documentation

◆ m_append_space

bool gen_lex_token_string::m_append_space

If true, output ' ' after this token to a normalized query string.

See digest_add_token().

◆ m_initialized

bool gen_lex_token_string::m_initialized {false}

The structure is uninitialized if false.

◆ m_start_expr

bool gen_lex_token_string::m_start_expr

See digest_add_token().

◆ m_token_length

int gen_lex_token_string::m_token_length

Byte length of m_token_string.

◆ m_token_string

const char* gen_lex_token_string::m_token_string

Real lexeme string or user-specified text to output with a normalized query string.


The documentation for this struct was generated from the following file: