Ruby 4.1.0dev (2026-11-17 revision 373d8c72a360f0d6c3be9cd13d1f0c27360e5d90)
pm_statements_t Struct Reference

The body of a StatementsNode node that is still being parsed. More...

Data Fields

pm_node_list_t nodes
 The open list of statements.
pm_location_t location
 The location covering the statements.

Detailed Description

The body of a StatementsNode node that is still being parsed.

Definition at line 6351 of file prism.c.

Field Documentation

◆ location

pm_location_t pm_statements_t::location

The location covering the statements.

Statements are usually in source order, but error recovery inside a heredoc can resume parsing before an earlier statement, so this takes the earliest start and the latest end.

Definition at line 6360 of file prism.c.

◆ nodes

pm_node_list_t pm_statements_t::nodes

The open list of statements.

Definition at line 6353 of file prism.c.


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