Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members

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

Ctor & dtor.
 Location (void)
 Construct a Location.

Line and Column related manipulators
void step (void)
 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.


Constructor & Destructor Documentation

yy::Location::Location void   )  [inline]
 

Construct a Location.


Member Function Documentation

void yy::Location::columns unsigned int  count = 1  )  [inline]
 

Extend the current location to the COUNT next columns.

void yy::Location::lines unsigned int  count = 1  )  [inline]
 

Extend the current location to the COUNT next lines.

void yy::Location::step void   )  [inline]
 

Reset initial location to final location.


Member Data Documentation

Position yy::Location::begin
 

Beginning of the located region.

Position yy::Location::end
 

End of the located region.


The documentation for this class was generated from the following file:
Generated on Mon Mar 8 23:32:29 2004 for spot by doxygen 1.3.5