MySQL  8.0.18
Source Code Documentation
sql_chars.h File Reference
#include "my_compiler.h"
#include "my_inttypes.h"
#include "my_macros.h"

Go to the source code of this file.

Classes

struct  lex_state_maps_st
 

Typedefs

typedef struct lex_state_maps_st lex_state_maps_st
 

Enumerations

enum  my_lex_states {
  MY_LEX_START, MY_LEX_CHAR, MY_LEX_IDENT, MY_LEX_IDENT_SEP,
  MY_LEX_IDENT_START, MY_LEX_REAL, MY_LEX_HEX_NUMBER, MY_LEX_BIN_NUMBER,
  MY_LEX_CMP_OP, MY_LEX_LONG_CMP_OP, MY_LEX_STRING, MY_LEX_COMMENT,
  MY_LEX_END, MY_LEX_NUMBER_IDENT, MY_LEX_INT_OR_REAL, MY_LEX_REAL_OR_POINT,
  MY_LEX_BOOL, MY_LEX_EOL, MY_LEX_LONG_COMMENT, MY_LEX_END_LONG_COMMENT,
  MY_LEX_SEMICOLON, MY_LEX_SET_VAR, MY_LEX_USER_END, MY_LEX_HOSTNAME,
  MY_LEX_SKIP, MY_LEX_USER_VARIABLE_DELIMITER, MY_LEX_SYSTEM_VAR, MY_LEX_IDENT_OR_KEYWORD,
  MY_LEX_IDENT_OR_HEX, MY_LEX_IDENT_OR_BIN, MY_LEX_IDENT_OR_NCHAR, MY_LEX_STRING_OR_DELIMITER
}
 
enum  hint_lex_char_classes {
  HINT_CHR_ASTERISK, HINT_CHR_AT, HINT_CHR_BACKQUOTE, HINT_CHR_CHAR,
  HINT_CHR_DIGIT, HINT_CHR_DOUBLEQUOTE, HINT_CHR_EOF, HINT_CHR_IDENT,
  HINT_CHR_MB, HINT_CHR_NL, HINT_CHR_QUOTE, HINT_CHR_SLASH,
  HINT_CHR_SPACE
}
 

Functions

bool init_state_maps (CHARSET_INFO *cs)
 

Typedef Documentation

◆ lex_state_maps_st

Enumeration Type Documentation

◆ hint_lex_char_classes

Enumerator
HINT_CHR_ASTERISK 
HINT_CHR_AT 
HINT_CHR_BACKQUOTE 
HINT_CHR_CHAR 
HINT_CHR_DIGIT 
HINT_CHR_DOUBLEQUOTE 
HINT_CHR_EOF 
HINT_CHR_IDENT 
HINT_CHR_MB 
HINT_CHR_NL 
HINT_CHR_QUOTE 
HINT_CHR_SLASH 
HINT_CHR_SPACE 

◆ my_lex_states

Enumerator
MY_LEX_START 
MY_LEX_CHAR 
MY_LEX_IDENT 
MY_LEX_IDENT_SEP 
MY_LEX_IDENT_START 
MY_LEX_REAL 
MY_LEX_HEX_NUMBER 
MY_LEX_BIN_NUMBER 
MY_LEX_CMP_OP 
MY_LEX_LONG_CMP_OP 
MY_LEX_STRING 
MY_LEX_COMMENT 
MY_LEX_END 
MY_LEX_NUMBER_IDENT 
MY_LEX_INT_OR_REAL 
MY_LEX_REAL_OR_POINT 
MY_LEX_BOOL 
MY_LEX_EOL 
MY_LEX_LONG_COMMENT 
MY_LEX_END_LONG_COMMENT 
MY_LEX_SEMICOLON 
MY_LEX_SET_VAR 
MY_LEX_USER_END 
MY_LEX_HOSTNAME 
MY_LEX_SKIP 
MY_LEX_USER_VARIABLE_DELIMITER 
MY_LEX_SYSTEM_VAR 
MY_LEX_IDENT_OR_KEYWORD 
MY_LEX_IDENT_OR_HEX 
MY_LEX_IDENT_OR_BIN 
MY_LEX_IDENT_OR_NCHAR 
MY_LEX_STRING_OR_DELIMITER 

Function Documentation

◆ init_state_maps()

bool init_state_maps ( CHARSET_INFO cs)