Ruby  2.4.2p198(2017-09-14revision59899)
Data Fields
RNode Struct Reference

#include <node.h>

Data Fields

VALUE flags
 
VALUE nd_reserved
 
union {
   struct RNode *   node
 
   ID   id
 
   VALUE   value
 
   VALUE(*   cfunc )(ANYARGS)
 
   ID *   tbl
 
u1
 
union {
   struct RNode *   node
 
   ID   id
 
   long   argc
 
   VALUE   value
 
u2
 
union {
   struct RNode *   node
 
   ID   id
 
   long   state
 
   struct rb_global_entry *   entry
 
   struct rb_args_info *   args
 
   long   cnt
 
   VALUE   value
 
u3
 

Detailed Description

Definition at line 235 of file node.h.

Field Documentation

◆ argc

long RNode::argc

Definition at line 248 of file node.h.

◆ args

struct rb_args_info* RNode::args

Definition at line 256 of file node.h.

Referenced by rb_gc_mark_node().

◆ cfunc

VALUE(* RNode::cfunc) (ANYARGS)

Definition at line 242 of file node.h.

◆ cnt

long RNode::cnt

Definition at line 257 of file node.h.

Referenced by rb_alloc_tmp_buffer_with_count(), and rb_parser_realloc().

◆ entry

struct rb_global_entry* RNode::entry

Definition at line 255 of file node.h.

◆ flags

VALUE RNode::flags

Definition at line 236 of file node.h.

Referenced by iseq_compile_each(), newline_node(), and reduce_nodes_gen().

◆ id

ID RNode::id

Definition at line 240 of file node.h.

Referenced by defined_expr(), iseq_compile_each(), and parser_parse_string().

◆ nd_reserved

VALUE RNode::nd_reserved

Definition at line 237 of file node.h.

◆ node

struct RNode* RNode::node

Definition at line 239 of file node.h.

Referenced by iseq_compile_each(), rb_parser_free(), and rb_parser_realloc().

◆ state

long RNode::state

Definition at line 254 of file node.h.

◆ tbl

ID* RNode::tbl

Definition at line 243 of file node.h.

Referenced by rb_binding_add_dynavars().

◆ u1

union { ... } RNode::u1

◆ u2

union { ... } RNode::u2

◆ u3

union { ... } RNode::u3

◆ value

VALUE RNode::value

Definition at line 241 of file node.h.

Referenced by iseq_compile_each(), and rb_alloc_tmp_buffer_with_count().


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