Ruby: rb_args_info Struct Reference

Ruby 4.0.6p0 (2026-07-14 revision 03b6d3f8898a28604fe6cb00eae3226b821168f4)

Data Fields
rb_args_info Struct Reference

## Data Fields
NODE * | pre_init
NODE * | post_init
int | pre_args_num
int | post_args_num
ID | first_post_arg
ID | rest_arg
ID | block_arg
struct RNode_KW_ARG * | kw_args
NODE * | kw_rest_arg
struct RNode_OPT_ARG * | opt_args
unsigned int | no_kwarg: 1
unsigned int | forwarding: 1

## Detailed Description

Definition at line 768 of file rubyparser.h.

## Field Documentation

## ◆ block_arg

ID rb_args_info::block_arg

Definition at line 778 of file rubyparser.h.

## ◆ first_post_arg

ID rb_args_info::first_post_arg

Definition at line 775 of file rubyparser.h.

## ◆ forwarding

unsigned int rb_args_info::forwarding

Definition at line 785 of file rubyparser.h.

## ◆ kw_args

struct RNode_KW_ARG* rb_args_info::kw_args

Definition at line 780 of file rubyparser.h.

## ◆ kw_rest_arg

NODE* rb_args_info::kw_rest_arg

Definition at line 781 of file rubyparser.h.

## ◆ no_kwarg

unsigned int rb_args_info::no_kwarg

Definition at line 784 of file rubyparser.h.

## ◆ opt_args

struct RNode_OPT_ARG* rb_args_info::opt_args

Definition at line 783 of file rubyparser.h.

## ◆ post_args_num

int rb_args_info::post_args_num

Definition at line 773 of file rubyparser.h.

## ◆ post_init

NODE* rb_args_info::post_init

Definition at line 770 of file rubyparser.h.

## ◆ pre_args_num

int rb_args_info::pre_args_num

Definition at line 772 of file rubyparser.h.

## ◆ pre_init

NODE* rb_args_info::pre_init

Definition at line 769 of file rubyparser.h.

## ◆ rest_arg

ID rb_args_info::rest_arg

Definition at line 777 of file rubyparser.h.

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

- rubyparser.h