Next: , Previous: C++ Semantic Values, Up: C++ Parsers


10.1.3 C++ Location Values

When the directive %locations is used, the C++ parser supports location tracking, see Tracking Locations. Two auxiliary classes define a position, a single point in a file, and a location, a range composed of a pair of positions (possibly spanning several files).

In this section uint is an abbreviation for unsigned int: in genuine code only the latter is used.