spot
1.0
|
Abstract a location. More...
#include <eltlparse/location.hh>
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. |
Abstract a location.
|
inline |
Construct a location.
|
inline |
Extend the current location to the COUNT next columns.
References end.
Referenced by eltlyy::operator+(), and eltlyy::operator+=().
|
inline |
Initialization.
References begin, end, and eltlyy::position::initialize().
|
inline |
Extend the current location to the COUNT next lines.
References end, and eltlyy::position::lines().
|
inline |
position eltlyy::location::begin |
Beginning of the located region.
Referenced by initialize(), eltlyy::operator<<(), eltlyy::operator==(), and step().
position eltlyy::location::end |
End of the located region.
Referenced by columns(), initialize(), lines(), eltlyy::operator+(), eltlyy::operator<<(), eltlyy::operator==(), and step().