souffle
2.0.2-371-g6315b36
|
Go to the documentation of this file.
38 return line < other.line || (
line == other.line &&
column < other.column);
45 void print(std::ostream& out)
const {
71 std::string
extloc()
const;
73 void print(std::ostream& out)
const;
A utility class enabling representation of ranges by pairing two iterator instances marking lower and...
Point start
The start location.
bool operator<(const Point &other) const
A comparison for points.
void print(std::ostream &out) const
friend std::ostream & operator<<(std::ostream &out, const SrcLocation &range)
Enables ranges to be printed.
Point end
The End location.
bool operator<(const SrcLocation &other) const
A comparison for source locations.
int column
The column in the source file.
friend std::ostream & operator<<(std::ostream &out, const Point &loc)
Enables locations to be printed.
bool operator>(const Point &other) const
std::vector< std::string > filenames
The file referred to.
void print(std::ostream &out) const
void setFilename(std::string filename)
A class locating a single point in an input file.
int line
The line in the source file.
A class describing a range in an input file.
std::string extloc() const
An extended string describing this location in a end-user friendly way.