1 #include "parse_info.h"
4 namespace Odb::Lib::FileModel
6 std::string parse_info::toString(
const std::string& message )
const
12 ss << message << std::endl;
15 if (!dataFile.empty() || !dataLine.empty() || !dataToken.empty())
17 ss <<
"current file: [" << dataFile.relative_path().string() <<
":" << dataLineNumber <<
"]" << std::endl
18 <<
"current line: [" << dataLine <<
"]" << std::endl
19 <<
"current token: [" << dataToken <<
"]";