Ruby: pm_block_node Struct Reference

Ruby 3.3.6p108 (2024-11-05 revision 75015d4c1f6965b5e85e96fb309f1f2129f933c0)

Data Fields
pm_block_node Struct Reference

BlockNode. More...

`#include <ast.h>`

## Data Fields
pm_node_t | base
| The embedded base node.
pm_constant_id_list_t | locals
| BlockNode#locals.
uint32_t | locals_body_index
| BlockNode#locals_body_index.
struct pm_node * | parameters
| BlockNode#parameters.
struct pm_node * | body
| BlockNode#body.
pm_location_t | opening_loc
| BlockNode#opening_loc.
pm_location_t | closing_loc
| BlockNode#closing_loc.
Data Fields inherited from pm_node
pm_node_type_t | type
| This represents the type of the node.
pm_node_flags_t | flags
| This represents any flags on the node.
pm_location_t | location
| This is the location of the node in the source.

## Detailed Description

BlockNode.

Type: PM_BLOCK_NODE

Definition at line 1359 of file ast.h.

## Field Documentation

## ◆ base

pm_node_t pm_block_node::base

The embedded base node.

Definition at line 1361 of file ast.h.

## ◆ body

struct pm_node* pm_block_node::body

BlockNode#body.

Definition at line 1373 of file ast.h.

Referenced by pm_node_destroy().

## ◆ closing_loc

pm_location_t pm_block_node::closing_loc

BlockNode#closing_loc.

Definition at line 1379 of file ast.h.

## ◆ locals

pm_constant_id_list_t pm_block_node::locals

BlockNode#locals.

Definition at line 1364 of file ast.h.

Referenced by pm_node_destroy().

## ◆ locals_body_index

uint32_t pm_block_node::locals_body_index

BlockNode#locals_body_index.

Definition at line 1367 of file ast.h.

## ◆ opening_loc

pm_location_t pm_block_node::opening_loc

BlockNode#opening_loc.

Definition at line 1376 of file ast.h.

## ◆ parameters

struct pm_node* pm_block_node::parameters

BlockNode#parameters.

Definition at line 1370 of file ast.h.

Referenced by pm_node_destroy().

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

- prism/ast.h