24#ifndef PARSE_LOCATION_INCLUDED
25#define PARSE_LOCATION_INCLUDED
34 const char *
end =
nullptr;
60#define MY_SQL_PARSER_LTYPE_IS_DECLARED 1
71#define YYLLOC_DEFAULT(Current, Rhs, N) \
74 (Current).cpp.start = YYRHSLOC(Rhs, 1).cpp.start; \
75 (Current).cpp.end = YYRHSLOC(Rhs, N).cpp.end; \
76 (Current).raw.start = YYRHSLOC(Rhs, 1).raw.start; \
77 (Current).raw.end = YYRHSLOC(Rhs, N).raw.end; \
79 (Current).cpp.start = (Current).cpp.end = YYRHSLOC(Rhs, 0).cpp.end; \
80 (Current).raw.start = (Current).raw.end = YYRHSLOC(Rhs, 0).raw.end; \
struct MY_SQL_PARSER_LTYPE MY_SQL_PARSER_LTYPE
Definition: sql_yacc.h:1688
Bison "location" class.
Definition: parse_location.h:43
bool is_empty() const
Definition: parse_location.h:47
Symbol_location cpp
Definition: parse_location.h:44
Symbol_location raw
Definition: parse_location.h:45
Helper class for the MY_SQL_PARSER_LTYPE.
Definition: parse_location.h:32
bool is_empty() const
Definition: parse_location.h:36
const char * start
Definition: parse_location.h:33
const char * end
Definition: parse_location.h:34
size_t length() const
Definition: parse_location.h:37