[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
10.1.3 C++ Location Values
When the directive %locations
is used, the C++ parser supports
location tracking, see Tracking Locations.
By default, two auxiliary classes define a position
, a single point
in a file, and a location
, a range composed of a pair of
position
s (possibly spanning several files). But if the
%define
variable api.location.type
is defined, then these
classes will not be generated, and the user defined type will be used.
In this section uint
is an abbreviation for unsigned int
: in
genuine code only the latter is used.
10.1.3.1 C++ position | One point in the source file | |
10.1.3.2 C++ location | Two points in the source file | |
10.1.3.3 User Defined Location Type | Required interface for locations |
This document was generated on December 1, 2013 using texi2html 5.0.