Ruby 3.4.7p58 (2025-10-08 revision 7a5688e2a27668e48f8d6ff4af5b2208b98a2f5e)
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 10520 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 10531 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 10528 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 10522 of file prism_compile.c.

◆ line

int32_t pm_parse_error_t::line

The start line of the diagnostic message.

Definition at line 10525 of file prism_compile.c.


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