18 lines
303 B
C++

#pragma once
#include <string>
#include <functional>
class TokenPos
{
static const std::string EMPTY_FILENAME;
public:
std::reference_wrapper<const std::string> m_filename;
int m_line;
int m_column;
TokenPos();
TokenPos(const std::string& filename, int line, int column);
};