MySQL 9.1.0
Source Code Documentation
|
#include "ha_prototypes.h"
#include "mem0mem.h"
#include "fts0ast.h"
#include "fts0blex.h"
#include "fts0tlex.h"
#include "fts0pars.h"
#include <my_sys.h>
#include <stddef.h>
#include <stdlib.h>
Classes | |
struct | fts_lexer_t |
union | YYSTYPE |
union | yyalloc |
Macros | |
#define | YYBISON 1 |
#define | YYBISON_VERSION "2.5" |
#define | YYSKELETON_NAME "yacc.c" |
#define | YYPURE 1 |
#define | YYPUSH 0 |
#define | YYPULL 1 |
#define | YYLSP_NEEDED 0 |
#define | yyparse ftsparse |
#define | yylex ftslex |
#define | yyerror ftserror |
#define | yylval ftslval |
#define | yychar ftschar |
#define | yydebug ftsdebug |
#define | yynerrs ftsnerrs |
#define | ftslex fts_lexer |
#define | YYERROR_VERBOSE |
#define | YYPARSE_PARAM state |
#define | YYLEX_PARAM ((fts_ast_state_t*) state)->lexer |
#define | YYTOKENFREE(token) fts_ast_string_free((token)) |
#define | YYDEBUG 0 |
#define | YYERROR_VERBOSE 1 |
#define | YYTOKEN_TABLE 0 |
#define | YYTOKENTYPE |
#define | YYSTYPE_IS_TRIVIAL 1 |
#define | yystype YYSTYPE /* obsolescent; will be withdrawn */ |
#define | YYSTYPE_IS_DECLARED 1 |
#define | YYSIZE_T size_t |
#define | YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
#define | YY_(msgid) msgid |
#define | YYUSE(e) ((void) (e)) |
#define | YYID(n) (n) |
#define | YYSTACK_ALLOC YYMALLOC |
#define | YYSTACK_FREE YYFREE |
#define | YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
#define | EXIT_SUCCESS 0 |
#define | YYMALLOC malloc |
#define | YYFREE free |
#define | YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
#define | YYSTACK_BYTES(N) |
#define | YYCOPY_NEEDED 1 |
#define | YYSTACK_RELOCATE(Stack_alloc, Stack) |
#define | YYCOPY(To, From, Count) |
#define | YYFINAL 3 |
#define | YYLAST 52 |
#define | YYNTOKENS 16 |
#define | YYNNTS 8 |
#define | YYNRULES 24 |
#define | YYNSTATES 33 |
#define | YYUNDEFTOK 2 |
#define | YYMAXUTOK 261 |
#define | YYTRANSLATE(YYX) ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
#define | YYPACT_NINF -5 |
#define | YYTABLE_NINF -1 |
#define | yypact_value_is_default(yystate) ((yystate) == (-5)) |
#define | yytable_value_is_error(yytable_value) YYID (0) |
#define | yyerrok (yyerrstatus = 0) |
#define | yyclearin (yychar = YYEMPTY) |
#define | YYEMPTY (-2) |
#define | YYEOF 0 |
#define | YYACCEPT goto yyacceptlab |
#define | YYABORT goto yyabortlab |
#define | YYERROR goto yyerrorlab |
#define | YYFAIL goto yyerrlab |
#define | YYRECOVERING() (!!yyerrstatus) |
#define | YYBACKUP(Token, Value) |
#define | YYTERROR 1 |
#define | YYERRCODE 256 |
#define | YYERRCLEANUP |
#define | YYRHSLOC(Rhs, K) ((Rhs)[K]) |
#define | YYLLOC_DEFAULT(Current, Rhs, N) |
#define | YY_LOCATION_PRINT(File, Loc) ((void) 0) |
#define | YYLEX yylex (&yylval, YYLEX_PARAM) |
#define | YYDPRINTF(Args) |
#define | YY_SYMBOL_PRINT(Title, Type, Value, Location) |
#define | YY_STACK_PRINT(Bottom, Top) |
#define | YY_REDUCE_PRINT(Rule) |
#define | YYINITDEPTH 200 |
#define | YYMAXDEPTH 10000 |
#define | YYCASE_(N, S) |
#define | YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) |
#define | YYSYNTAX_ERROR |
Typedefs | |
typedef int(* | fts_scan) () |
typedef int(* | fts_scanner_alt) (YYSTYPE *val, yyscan_t yyscanner) |
typedef int(* | fts_scanner) () |
typedef union YYSTYPE | YYSTYPE |
typedef unsigned char | yytype_uint8 |
typedef signed char | yytype_int8 |
typedef unsigned short int | yytype_uint16 |
typedef short int | yytype_int16 |
Functions | |
int | fts_lexer (YYSTYPE *, fts_lexer_t *) |
int | fts_blexer (YYSTYPE *, yyscan_t) |
int | fts_tlexer (YYSTYPE *, yyscan_t) |
int | ftserror (const char *p) |
static YYSIZE_T | yystrlen (const char *yystr) |
static char * | yystpcpy (char *yydest, const char *yysrc) |
static YYSIZE_T | yytnamerr (char *yyres, const char *yystr) |
static int | yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg, yytype_int16 *yyssp, int yytoken) |
static void | yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep) |
int | yyparse (void *YYPARSE_PARAM) |
fts_lexer_t * | fts_lexer_create (bool boolean_mode, const byte *query, ulint query_len) |
void | fts_lexer_free (fts_lexer_t *fts_lexer) |
in: lexer instance to free More... | |
int | fts_parse (fts_ast_state_t *state) |
in: ast state instance. More... | |
Variables | |
static const yytype_uint8 | yytranslate [] |
static const char *const | yytname [] |
static const yytype_uint8 | yyr1 [] |
static const yytype_uint8 | yyr2 [] |
static const yytype_uint8 | yydefact [] |
static const yytype_int8 | yydefgoto [] |
static const yytype_int8 | yypact [] |
static const yytype_int8 | yypgoto [] |
static const yytype_uint8 | yytable [] |
static const yytype_int8 | yycheck [] |
static const yytype_uint8 | yystos [] |
#define EXIT_SUCCESS 0 |
#define ftslex fts_lexer |
#define YY_ | ( | msgid | ) | msgid |
#define YY_LOCATION_PRINT | ( | File, | |
Loc | |||
) | ((void) 0) |
#define YY_REDUCE_PRINT | ( | Rule | ) |
#define YY_STACK_PRINT | ( | Bottom, | |
Top | |||
) |
#define YY_SYMBOL_PRINT | ( | Title, | |
Type, | |||
Value, | |||
Location | |||
) |
#define YYABORT goto yyabortlab |
#define YYACCEPT goto yyacceptlab |
#define YYBACKUP | ( | Token, | |
Value | |||
) |
#define YYBISON 1 |
#define YYBISON_VERSION "2.5" |
#define YYCASE_ | ( | N, | |
S | |||
) |
#define yychar ftschar |
#define YYCOPY | ( | To, | |
From, | |||
Count | |||
) |
#define YYCOPY_NEEDED 1 |
#define yydebug ftsdebug |
#define YYDEBUG 0 |
#define YYDPRINTF | ( | Args | ) |
#define YYEMPTY (-2) |
#define YYEOF 0 |
#define YYERRCLEANUP |
#define YYERRCODE 256 |
#define yyerrok (yyerrstatus = 0) |
#define yyerror ftserror |
#define YYERROR goto yyerrorlab |
#define YYERROR_VERBOSE |
#define YYERROR_VERBOSE 1 |
#define YYFAIL goto yyerrlab |
#define YYFINAL 3 |
#define YYFREE free |
#define YYINITDEPTH 200 |
#define YYLAST 52 |
#define yylex | ( | void | ) | ftslex |
#define YYLEX yylex (&yylval, YYLEX_PARAM) |
#define YYLEX_PARAM ((fts_ast_state_t*) state)->lexer |
#define YYLLOC_DEFAULT | ( | Current, | |
Rhs, | |||
N | |||
) |
#define YYLSP_NEEDED 0 |
YYSTYPE yylval ftslval |
#define YYMALLOC malloc |
#define YYMAXDEPTH 10000 |
#define YYMAXUTOK 261 |
#define yynerrs ftsnerrs |
#define YYNNTS 8 |
#define YYNRULES 24 |
#define YYNSTATES 33 |
#define YYNTOKENS 16 |
#define YYPACT_NINF -5 |
#define yypact_value_is_default | ( | yystate | ) | ((yystate) == (-5)) |
#define yyparse | ( | void | ) | ftsparse |
#define YYPARSE_PARAM state |
#define YYPOPSTACK | ( | N | ) | (yyvsp -= (N), yyssp -= (N)) |
#define YYPULL 1 |
#define YYPURE 1 |
#define YYPUSH 0 |
#define YYRECOVERING | ( | ) | (!!yyerrstatus) |
#define YYRHSLOC | ( | Rhs, | |
K | |||
) | ((Rhs)[K]) |
#define YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
#define YYSIZE_T size_t |
#define YYSKELETON_NAME "yacc.c" |
#define YYSTACK_ALLOC YYMALLOC |
#define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
#define YYSTACK_BYTES | ( | N | ) |
#define YYSTACK_FREE YYFREE |
#define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
#define YYSTACK_RELOCATE | ( | Stack_alloc, | |
Stack | |||
) |
#define yystype YYSTYPE /* obsolescent; will be withdrawn */ |
#define YYSTYPE_IS_DECLARED 1 |
#define YYSTYPE_IS_TRIVIAL 1 |
#define YYSYNTAX_ERROR |
#define YYTABLE_NINF -1 |
#define yytable_value_is_error | ( | yytable_value | ) | YYID (0) |
#define YYTERROR 1 |
#define YYTOKEN_TABLE 0 |
#define YYTOKENFREE | ( | token | ) | fts_ast_string_free((token)) |
#define YYTOKENTYPE |
#define YYTRANSLATE | ( | YYX | ) | ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
#define YYUNDEFTOK 2 |
#define YYUSE | ( | e | ) | ((void) (e)) |
typedef int(* fts_scan) () |
typedef int(* fts_scanner) () |
typedef short int yytype_int16 |
typedef signed char yytype_int8 |
typedef unsigned short int yytype_uint16 |
typedef unsigned char yytype_uint8 |
enum yytokentype |
int fts_lexer | ( | YYSTYPE * | val, |
fts_lexer_t * | fts_lexer | ||
) |
fts_lexer_t * fts_lexer_create | ( | bool | boolean_mode, |
const byte * | query, | ||
ulint | query_len | ||
) |
boolean_mode | in: query type |
query | in: query string |
query_len | in: query string len |
void fts_lexer_free | ( | fts_lexer_t * | fts_lexer | ) |
in: lexer instance to free
int fts_parse | ( | fts_ast_state_t * | state | ) |
in: ast state instance.
int ftserror | ( | const char * | p | ) |
|
static |
int yyparse | ( | void * | YYPARSE_PARAM | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |