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>
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) |
A location in the source file is identified by its starting and ending lines and byte offsets for the start and end lines.
1.6.3