Ruby: pm_parse_error_t Struct Reference

Ruby 3.4.6p54 (2025-09-16 revision dbd83256b1cec76c69756ecb8758b9e1079833de)

Data Fields
pm_parse_error_t Struct Reference

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

## Data Fields
pm_diagnostic_t * | error
| 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 10508 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 10519 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 10516 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 10510 of file prism_compile.c.

## ◆ line

int32_t pm_parse_error_t::line

The start line of the diagnostic message.

Definition at line 10513 of file prism_compile.c.

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

- prism_compile.c