|
Ruby 4.1.0dev (2026-09-08 revision b6830f5d2be2f96904fe123f333bd3d832d202af)
|
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 pm_encoding_t * | encoding |
| 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 23 of file static_literals.c.
| const pm_encoding_t* pm_static_literals_metadata_t::encoding |
The encoding that the parser is using.
Definition at line 34 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 25 of file static_literals.c.
| const uint8_t* pm_static_literals_metadata_t::start |
The start of the source being parsed.
Definition at line 28 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 31 of file static_literals.c.