|
Ruby 4.1.0dev (2026-04-04 revision 3b6245536cf55da9e8bfcdb03c845fe9ef931d7f)
|
A small struct used for passing around a subset of the information that is stored on the parser. More...
Data Fields | |
| const pm_line_offset_list_t * | line_offsets |
| The list of newline offsets to use to calculate line numbers. | |
| const uint8_t * | start |
| The start of the source being parsed. | |
| int32_t | start_line |
| The line number that the parser starts on. | |
| const char * | encoding_name |
| The name of the encoding that the parser is using. | |
A small struct used for passing around a subset of the information that is stored on the parser.
We use this to avoid having static literals explicitly depend on the parser struct.
Definition at line 22 of file static_literals.c.
| const char* pm_static_literals_metadata_t::encoding_name |
The name of the encoding that the parser is using.
Definition at line 33 of file static_literals.c.
| const pm_line_offset_list_t* pm_static_literals_metadata_t::line_offsets |
The list of newline offsets to use to calculate line numbers.
Definition at line 24 of file static_literals.c.
| const uint8_t* pm_static_literals_metadata_t::start |
The start of the source being parsed.
Definition at line 27 of file static_literals.c.
| int32_t pm_static_literals_metadata_t::start_line |
The line number that the parser starts on.
Definition at line 30 of file static_literals.c.