Ruby: pm_parse_error_format_t Struct Reference

Ruby 3.4.5p51 (2025-07-16 revision 20cda200d3ce092571d0b5d342dadca69636cb0f)

Data Fields
pm_parse_error_format_t Struct Reference

The format that will be used to format the errors into the output. More...

## Data Fields
const char * | number_prefix
| The prefix that will be used for line numbers.
const char * | blank_prefix
| The prefix that will be used for blank lines.
const char * | divider
| The divider that will be used between sections of source code.
size_t | blank_prefix_length
| The length of the blank prefix.
size_t | divider_length
| The length of the divider.

## Detailed Description

The format that will be used to format the errors into the output.

Definition at line 10521 of file prism_compile.c.

## Field Documentation

## ◆ blank_prefix

const char* pm_parse_error_format_t::blank_prefix

The prefix that will be used for blank lines.

Definition at line 10526 of file prism_compile.c.

## ◆ blank_prefix_length

size_t pm_parse_error_format_t::blank_prefix_length

The length of the blank prefix.

Definition at line 10532 of file prism_compile.c.

## ◆ divider

const char* pm_parse_error_format_t::divider

The divider that will be used between sections of source code.

Definition at line 10529 of file prism_compile.c.

## ◆ divider_length

size_t pm_parse_error_format_t::divider_length

The length of the divider.

Definition at line 10535 of file prism_compile.c.

## ◆ number_prefix

const char* pm_parse_error_format_t::number_prefix

The prefix that will be used for line numbers.

Definition at line 10523 of file prism_compile.c.

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

- prism_compile.c