yy::position Class Reference

Abstract a position. More...

#include <position.hh>

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

List of all members.

Public Member Functions

 position ()
 Construct a position.
void initialize (std::string *fn)
 Initialization.
Line and Column related manipulators
void lines (int count=1)
 (line related) Advance to the COUNT next lines.
void columns (int count=1)
 (column related) Advance to the COUNT next columns.

Public Attributes

std::string * filename
 File name to which this position refers.
unsigned int line
 Current line number.
unsigned int column
 Current column number.

Detailed Description

Abstract a position.

Definition at line 55 of file position.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