Ruby: RNode Struct Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Data Fields
RNode Struct Reference

`#include <node.h>`

## Data Fields
VALUE | flags
union {
struct RNode * node
ID id
VALUE value
ID * tbl
} | u1
union {
struct RNode * node
ID id
long argc
VALUE value
} | u2
union {
struct RNode * node
ID id
long state
struct rb_args_info * args
struct rb_ary_pattern_info * apinfo
struct rb_fnd_pattern_info * fpinfo
VALUE value
} | u3
rb_code_location_t | nd_loc
int | node_id

## Detailed Description

Definition at line 149 of file node.h.

## Field Documentation

## ◆ apinfo

struct rb_ary_pattern_info* RNode::apinfo

Definition at line 168 of file node.h.

## ◆ argc

long RNode::argc

Definition at line 160 of file node.h.

## ◆ args

struct rb_args_info* RNode::args

Definition at line 167 of file node.h.

## ◆ flags

VALUE RNode::flags

Definition at line 150 of file node.h.

Referenced by rb_node_init().

## ◆ fpinfo

struct rb_fnd_pattern_info* RNode::fpinfo

Definition at line 169 of file node.h.

## ◆ id

ID RNode::id

Definition at line 153 of file node.h.

## ◆ nd_loc

rb_code_location_t RNode::nd_loc

Definition at line 172 of file node.h.

Referenced by rb_iseq_new_with_opt(), and rb_node_init().

## ◆ node

struct RNode* RNode::node

Definition at line 152 of file node.h.

## ◆ node_id

int RNode::node_id

Definition at line 173 of file node.h.

## ◆ state

long RNode::state

Definition at line 166 of file node.h.

## ◆ tbl

ID* RNode::tbl

Definition at line 155 of file node.h.

## ◆

union { ... } RNode::u1

Referenced by rb_node_init().

## ◆

union { ... } RNode::u2

Referenced by rb_node_init().

## ◆

union { ... } RNode::u3

Referenced by rb_node_init().

## ◆ value

VALUE RNode::value

Definition at line 154 of file node.h.

Referenced by rb_node_init().

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

- node.h