Abstract a position. More...
#include <position.hh>
Public Member Functions | |
| position (std::string *f=YY_NULL, unsigned int l=1u, unsigned int c=1u) | |
| Construct a position. | |
| void | initialize (std::string *fn=YY_NULL, unsigned int l=1u, unsigned int c=1u) |
| 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. | |
Abstract a position.
Definition at line 58 of file position.hh.
|
|
hosts this site. |
Send comments to: QJson Developers |