This repository has been archived on 2023-09-09. You can view files and clone it, but cannot push or open issues/pull-requests.
skemla/lib/Loc.hpp

24 lines
356 B
C++

#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