Ruby 3.3.2p78 (2024-05-30 revision e5a195edf62fe1bf7146a191da13fa1c4fecbd71)
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_nodeparameters
 BlockNode::parameters.
 
struct pm_nodebody
 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: