#ifndef sk_LOC_HPP #define sk_LOC_HPP #include "commons.hpp" namespace sk { class Loc { public: explicit Loc(std::filesystem::path path, int line); virtual ~Loc(); std::filesystem::path path() const { return m_path; } int line() const { return m_line; } private: std::filesystem::path m_path; int m_line; }; } #endif