Next: D Parser Interface, Previous: D Semantic Values, Up: D Parsers [Contents][Index]
When the directive %locations is used, the D parser supports location
tracking, see Tracking Locations. The position and the location
structures are provided.
The first, inclusive, position of the range, and the first beyond.
Position loc) ¶Create a Location denoting an empty range located at a given point.
Position begin, Position end) ¶Create a Location from the endpoints of the range.
The range represented by the location as a string.