Ruby: RNode_IF Struct Reference

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

Data Fields
RNode_IF Struct Reference

## Data Fields
NODE | node
struct RNode * | nd_cond
struct RNode * | nd_body
struct RNode * | nd_else
rb_code_location_t | if_keyword_loc
rb_code_location_t | then_keyword_loc
rb_code_location_t | end_keyword_loc

## Detailed Description

Definition at line 263 of file rubyparser.h.

## Field Documentation

## ◆ end_keyword_loc

rb_code_location_t RNode_IF::end_keyword_loc

Definition at line 271 of file rubyparser.h.

## ◆ if_keyword_loc

rb_code_location_t RNode_IF::if_keyword_loc

Definition at line 269 of file rubyparser.h.

## ◆ nd_body

struct RNode* RNode_IF::nd_body

Definition at line 267 of file rubyparser.h.

## ◆ nd_cond

struct RNode* RNode_IF::nd_cond

Definition at line 266 of file rubyparser.h.

## ◆ nd_else

struct RNode* RNode_IF::nd_else

Definition at line 268 of file rubyparser.h.

## ◆ node

NODE RNode_IF::node

Definition at line 264 of file rubyparser.h.

## ◆ then_keyword_loc

rb_code_location_t RNode_IF::then_keyword_loc

Definition at line 270 of file rubyparser.h.

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

- rubyparser.h