Ruby 4.0.5p0 (2026-05-20 revision 64336ffd0ee9e1f4c05891695a3d7b49cb709721)
pm_parse_error_t Struct Reference

An error that is going to be formatted into the output. More...

Data Fields

pm_diagnostic_terror
 A pointer to the diagnostic that was generated during parsing.
int32_t line
 The start line of the diagnostic message.
uint32_t column_start
 The column start of the diagnostic message.
uint32_t column_end
 The column end of the diagnostic message.

Detailed Description

An error that is going to be formatted into the output.

Definition at line 10537 of file prism_compile.c.

Field Documentation

◆ column_end

uint32_t pm_parse_error_t::column_end

The column end of the diagnostic message.

Definition at line 10548 of file prism_compile.c.

◆ column_start

uint32_t pm_parse_error_t::column_start

The column start of the diagnostic message.

Definition at line 10545 of file prism_compile.c.

◆ error

pm_diagnostic_t* pm_parse_error_t::error

A pointer to the diagnostic that was generated during parsing.

Definition at line 10539 of file prism_compile.c.

◆ line

int32_t pm_parse_error_t::line

The start line of the diagnostic message.

Definition at line 10542 of file prism_compile.c.


The documentation for this struct was generated from the following file: