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

yy::Location Class Reference

Abstract a Location. More...

#include <ltlparse/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:
Please comment this page and report errors about it on the RefDocComments page.
Generated on Mon Jan 31 12:56:16 2005 for spot by doxygen 1.4.0