Nearly CC
An educational compiler skeleton
Public Member Functions | List of all members
Location Class Reference

Public Member Functions

 Location (const std::string &srcfile, int line, int col)
 
 Location (const Location &other)
 
Locationoperator= (const Location &rhs)
 
bool is_valid () const
 
std::string get_srcfile () const
 
int get_line () const
 
int get_col () const
 
void advance (int num_cols)
 
void next_line ()
 

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