bux API Reference 1.9.0
Static library of whatever are seen required in general purpose but not directly supported from Modern C++. Or whatever reusable originated from my side projects.
|
#include <ParserBase.h>
Public Member Functions | |
auto | getCount (E_LogLevel ll) const |
void | log (E_LogLevel ll, const C_SourcePos &pos, std::string_view message) |
Protected Member Functions | |
virtual std::string | toStr (const C_SourcePos &pos) const |
virtual void | println (const std::string &line)=0 |
Protected Attributes | |
std::array< unsigned, 5 > | m_count {} |
Definition at line 73 of file ParserBase.h.
|
inline |
Definition at line 78 of file ParserBase.h.
References m_count.
void bux::C_ParserLogCount::log | ( | E_LogLevel | ll, |
const C_SourcePos & | pos, | ||
std::string_view | message ) |
Definition at line 11 of file ParserBase.cpp.
|
protectedpure virtual |
|
protectedvirtual |
Definition at line 18 of file ParserBase.cpp.
References bux::C_SourcePos::m_Col, bux::C_SourcePos::m_Line, and bux::C_SourcePos::m_Source.
Referenced by log().
|
protected |
Definition at line 84 of file ParserBase.h.
Referenced by getCount(), and log().