|
Lime Parser Generator 0.1.0
Runtime-extensible LALR(1) parser with SIMD tokenization and LLVM JIT
|
Source location tracking for Lime-generated parsers. More...
#include <lime_location.h>
Data Fields | |
| const char * | filename |
| Borrowed filename pointer, or NULL. | |
| uint32_t | first_column |
| First column of the span (1-based) | |
| uint32_t | first_line |
| First line of the span (1-based) | |
| uint32_t | last_column |
| Last column of the span (1-based) | |
| uint32_t | last_line |
| Last line of the span (1-based) | |
Source location tracking for Lime-generated parsers.
Used when the locations directive is active. All line and column numbers are 1-based; zero indicates "unknown".
Definition at line 16 of file lime_location.h.
| const char* LimeLocation::filename |
Borrowed filename pointer, or NULL.
Definition at line 21 of file lime_location.h.
| uint32_t LimeLocation::first_column |
First column of the span (1-based)
Definition at line 18 of file lime_location.h.
| uint32_t LimeLocation::first_line |
First line of the span (1-based)
Definition at line 17 of file lime_location.h.
| uint32_t LimeLocation::last_column |
Last column of the span (1-based)
Definition at line 20 of file lime_location.h.
| uint32_t LimeLocation::last_line |
Last line of the span (1-based)
Definition at line 19 of file lime_location.h.