Ruby 4.0.6p0 (2026-07-14 revision 03b6d3f8898a28604fe6cb00eae3226b821168f4)
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 10553 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 10564 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 10561 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 10555 of file prism_compile.c.

◆ line

int32_t pm_parse_error_t::line

The start line of the diagnostic message.

Definition at line 10558 of file prism_compile.c.


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