| Top |
| int | raptor_locator_print () |
| int | raptor_locator_format () |
| int | raptor_locator_line () |
| int | raptor_locator_column () |
| int | raptor_locator_byte () |
| const char * | raptor_locator_file () |
| const char * | raptor_locator_uri () |
A small structure that can be optionally filled in when errors, warnings or other messages are generated and returned to user code.
int raptor_locator_format (char *buffer,size_t length,raptor_locator *locator);
typedef struct {
raptor_uri *uri;
const char *file;
int line;
int column;
int byte;
} raptor_locator;
Location information for an error, warning or information message.
raptor_uri * |
URI of location (or NULL) |
|
Filename of location (or NULL) |
||
Line number of location (or <0 for no line) |
||
Column number of location (or <0 for no column) |
||
Byte number of location (or <0 for no byte) |