il::location Class Reference

A location in the source file is identified by its starting and ending lines and byte offsets for the start and end lines. More...

#include <location.h>

List of all members.

Public Member Functions

string to_string () const
 location (uint16 start_byte, uint32 start_line, uint16 end_byte, uint32 end_line)
 location (uint32 start_line, uint16 start_byte)
void set_end_loc (uint32 line, uint16 byte)
string to_string (bool pp)
bool is_valid ()
void print ()

Public Attributes

uint16 byte_start
uint16 byte_end
uint32 line_start
uint32 line_end

Static Public Attributes

static const uint32 INVALID = ~(0)

Friends

class boost::serialization::access
ostream & operator<< (ostream &os, const location &obj)

Detailed Description

A location in the source file is identified by its starting and ending lines and byte offsets for the start and end lines.


The documentation for this class was generated from the following files:
Generated on Sun Oct 17 14:01:25 2010 by  doxygen 1.6.3