Line information for error messages for parser using STL string iterators as source scanners.
More...
#include <sourceLineInfo.hpp>
Line information for error messages for parser using STL string iterators as source scanners.
_Wolframe::utils::SourceLineInfo::SourceLineInfo |
( |
| ) |
|
|
inline |
_Wolframe::utils::SourceLineInfo::SourceLineInfo |
( |
unsigned int |
line_, |
|
|
unsigned int |
column_ |
|
) |
| |
|
inline |
_Wolframe::utils::SourceLineInfo::SourceLineInfo |
( |
const SourceLineInfo & |
o | ) |
|
|
inline |
unsigned int _Wolframe::utils::SourceLineInfo::column |
( |
| ) |
const |
|
inline |
void _Wolframe::utils::SourceLineInfo::incrementColumn |
( |
| ) |
|
|
inline |
Increment the current column.
void _Wolframe::utils::SourceLineInfo::incrementLine |
( |
| ) |
|
|
inline |
Increment the current line.
unsigned int _Wolframe::utils::SourceLineInfo::line |
( |
| ) |
const |
|
inline |
void _Wolframe::utils::SourceLineInfo::update |
( |
const std::string::const_iterator & |
lastpos, |
|
|
const std::string::const_iterator & |
pos |
|
) |
| |
Update this line info by scanning the source parsed from 'lastpos' to 'pos', counting lines and characters inbetween.
unsigned int _Wolframe::utils::SourceLineInfo::m_column |
|
private |
unsigned int _Wolframe::utils::SourceLineInfo::m_line |
|
private |
The documentation for this class was generated from the following file: