yy::location Class Reference

Abstract a location. More...

#include <location.hh>

Collaboration diagram for yy::location:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 location ()
 Construct a location.
void initialize (std::string *fn)
 Initialization.
Line and Column related manipulators
void step ()
 Reset initial location to final location.
void columns (unsigned int count=1)
 Extend the current location to the COUNT next columns.
void lines (unsigned int count=1)
 Extend the current location to the COUNT next lines.

Public Attributes

position begin
 Beginning of the located region.
position end
 End of the located region.

Detailed Description

Abstract a location.

Definition at line 56 of file location.hh.


The documentation for this class was generated from the following file:

Generated on Fri Aug 21 08:15:08 2009 for mqn2mps by  doxygen 1.6.0