sapphirec  0.1
The Sapphire compiler.
Public Member Functions | Public Attributes | List of all members
Location Struct Reference

Public Member Functions

 Location (int ln, int col, std::string file)
 
std::string str () const
 
std::string paren_str () const
 
void advance ()
 
void pos_from_char (const char &character)
 
void operator= (const Location &other)
 
void copy (const Location &other)
 

Public Attributes

int line
 
int column
 
std::string fname
 
std::shared_ptr< Locationparent = nullptr
 

The documentation for this struct was generated from the following files: