Ruby: pm_node_location_t Struct Reference

Ruby 3.4.9p82 (2026-03-11 revision 76cca827ab52ab1d346a728f068d5b8da3e2952b)

Data Fields
pm_node_location_t Struct Reference

This compiler defines its own concept of the location of a node. More...

## Data Fields
int32_t | line
| This is the line number of a node.
uint32_t | node_id
| This is a unique identifier for the node.

## Detailed Description

This compiler defines its own concept of the location of a node.

We do this because we want to pair line information with node identifier so that we can have reproducible parses.

Definition at line 9 of file prism_compile.c.

## Field Documentation

## ◆ line

int32_t pm_node_location_t::line

This is the line number of a node.

Definition at line 11 of file prism_compile.c.

## ◆ node_id

uint32_t pm_node_location_t::node_id

This is a unique identifier for the node.

Definition at line 14 of file prism_compile.c.

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

- prism_compile.c