24#ifndef PARSE_LOCATION_INCLUDED
25#define PARSE_LOCATION_INCLUDED
59#define YYLTYPE_IS_DECLARED 1
70#define YYLLOC_DEFAULT(Current, Rhs, N) \
73 (Current).cpp.start = YYRHSLOC(Rhs, 1).cpp.start; \
74 (Current).cpp.end = YYRHSLOC(Rhs, N).cpp.end; \
75 (Current).raw.start = YYRHSLOC(Rhs, 1).raw.start; \
76 (Current).raw.end = YYRHSLOC(Rhs, N).raw.end; \
78 (Current).cpp.start = (Current).cpp.end = YYRHSLOC(Rhs, 0).cpp.end; \
79 (Current).raw.start = (Current).raw.end = YYRHSLOC(Rhs, 0).raw.end; \
YYLTYPE POS
Definition: parse_location.h:57
Helper class for the YYLTYPE.
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
Bison "location" class.
Definition: parse_location.h:43
Symbol_location raw
Definition: parse_location.h:45
Symbol_location cpp
Definition: parse_location.h:44
bool is_empty() const
Definition: parse_location.h:47