MySQL 8.4.2
Source Code Documentation
lex.h File Reference
#include "sql/lex_symbol.h"
#include "string_with_len.h"
#include "sql/sql_hints.yy.h"
#include "sql/sql_yacc.h"

Go to the source code of this file.

Macros

#define SYM_OR_NULL(A)   A
 
#define HINT_COMMENT_STARTER   "/*+"
 
#define HINT_COMMENT_TERMINATOR   "*/"
 
#define SYM(T, A)   STRING_WITH_LEN(T), SYM_OR_NULL(A), SG_KEYWORDS
 
#define SYM_FN(T, A)   STRING_WITH_LEN(T), SYM_OR_NULL(A), SG_FUNCTIONS
 
#define SYM_HK(T, A)   STRING_WITH_LEN(T), SYM_OR_NULL(A), SG_HINTABLE_KEYWORDS
 
#define SYM_H(T, A)   STRING_WITH_LEN(T), SYM_OR_NULL(A), SG_HINTS
 

Variables

static const SYMBOL symbols []
 

Macro Definition Documentation

◆ HINT_COMMENT_STARTER

#define HINT_COMMENT_STARTER   "/*+"

◆ HINT_COMMENT_TERMINATOR

#define HINT_COMMENT_TERMINATOR   "*/"

◆ SYM

#define SYM (   T,
 
)    STRING_WITH_LEN(T), SYM_OR_NULL(A), SG_KEYWORDS

◆ SYM_FN

#define SYM_FN (   T,
 
)    STRING_WITH_LEN(T), SYM_OR_NULL(A), SG_FUNCTIONS

◆ SYM_H

#define SYM_H (   T,
 
)    STRING_WITH_LEN(T), SYM_OR_NULL(A), SG_HINTS

◆ SYM_HK

#define SYM_HK (   T,
 
)    STRING_WITH_LEN(T), SYM_OR_NULL(A), SG_HINTABLE_KEYWORDS

◆ SYM_OR_NULL

#define SYM_OR_NULL (   A)    A

Variable Documentation

◆ symbols

const SYMBOL symbols[]
static