Joos1W Compiler Framework
All Classes Functions Typedefs Pages
SourceLocation Class Reference

A specific location (line, column) in a source file. More...

#include <Location.h>

Public Member Functions

 SourceLocation (SourceFile file, int line, int column)
 
std::ostream & print (std::ostream &os) const
 
std::string toString () const
 
bool isValid () const
 Returns true if the SourceLocation was not default constructed.
 
SourceFile file () const
 
int line () const
 
int column () const
 

Friends

class SourceRange
 

Detailed Description

A specific location (line, column) in a source file.

Definition at line 18 of file Location.h.


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