12 std::shared_ptr<Location>
parent =
nullptr;
15 Location(
int ln,
int col, std::string file);
20 std::string
str()
const;
int line
Definition: Location.h:7
void advance()
Definition: Location.cpp:24
void copy(const Location &other)
Definition: Location.cpp:46
std::string fname
Definition: Location.h:9
Location(int ln, int col, std::string file)
Definition: Location.cpp:4
void operator=(const Location &other)
Definition: Location.cpp:38
std::string paren_str() const
Definition: Location.cpp:19
void pos_from_char(const char &character)
Definition: Location.cpp:29
std::string str() const
Definition: Location.cpp:12
int column
Definition: Location.h:8
std::shared_ptr< Location > parent
Definition: Location.h:12
~Location()
Definition: Location.cpp:8