#include <ParserContext.hpp>
Public Member Functions | |
ParserContext (std::string filename) | |
Public Attributes | |
std::string | filename {} |
the filename of the currently parsed-file More... | |
std::size_t | line {1U} |
the current line the parser is parsing More... | |
std::size_t | column {0U} |
the current column the parser is parsing More... | |
Context of a Parser-State
Definition at line 10 of file ParserContext.hpp.
|
explicit |
Constructor.
filename | the filename of the file to parse |
Definition at line 8 of file ParserContext.cpp.
References filename.
std::size_t ParserContext::column {0U} |
the current column the parser is parsing
Definition at line 13 of file ParserContext.hpp.
Referenced by Parser::elementsOf().
std::string ParserContext::filename {} |
the filename of the currently parsed-file
Definition at line 11 of file ParserContext.hpp.
Referenced by ParserContext().
std::size_t ParserContext::line {1U} |
the current line the parser is parsing
Definition at line 12 of file ParserContext.hpp.
Referenced by Parser::elementsOf().