23#ifndef PARSE_LOCATION_INCLUDED
24#define PARSE_LOCATION_INCLUDED
58#define YYLTYPE_IS_DECLARED 1
69#define YYLLOC_DEFAULT(Current, Rhs, N) \
72 (Current).cpp.start = YYRHSLOC(Rhs, 1).cpp.start; \
73 (Current).cpp.end = YYRHSLOC(Rhs, N).cpp.end; \
74 (Current).raw.start = YYRHSLOC(Rhs, 1).raw.start; \
75 (Current).raw.end = YYRHSLOC(Rhs, N).raw.end; \
77 (Current).cpp.start = (Current).cpp.end = YYRHSLOC(Rhs, 0).cpp.end; \
78 (Current).raw.start = (Current).raw.end = YYRHSLOC(Rhs, 0).raw.end; \
YYLTYPE POS
Definition: parse_location.h:56
Helper class for the YYLTYPE.
Definition: parse_location.h:31
bool is_empty() const
Definition: parse_location.h:35
const char * start
Definition: parse_location.h:32
const char * end
Definition: parse_location.h:33
size_t length() const
Definition: parse_location.h:36
Bison "location" class.
Definition: parse_location.h:42
Symbol_location raw
Definition: parse_location.h:44
Symbol_location cpp
Definition: parse_location.h:43
bool is_empty() const
Definition: parse_location.h:46