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