satyr 0.43
|
A location of a parser in the input stream. More...
#include <location.h>
Data Fields | |
int | line |
int | column |
const char * | message |
A location of a parser in the input stream.
A location in the stacktrace file with an attached message. It's used for error reporting: the line and the column points to the place where a parser error occurred, and the message explains what the parser expected and didn't find on that place.
Definition at line 42 of file location.h.
int sr_location::column |
Starts from 0.
Definition at line 47 of file location.h.
int sr_location::line |
Starts from 1.
Definition at line 45 of file location.h.
const char* sr_location::message |
Error message related to the line and column. Do not release the memory this pointer points to.
Definition at line 52 of file location.h.