Ruby: rb_ast_body_struct Struct Reference

Ruby 4.0.5p0 (2026-05-20 revision 64336ffd0ee9e1f4c05891695a3d7b49cb709721)

Data Fields
rb_ast_body_struct Struct Reference

## Data Fields
const NODE * | root
rb_parser_ary_t * | script_lines
int | line_count
signed int | frozen_string_literal:2
signed int | coverage_enabled:2

## Detailed Description

Definition at line 1195 of file rubyparser.h.

## Field Documentation

## ◆ coverage_enabled

signed int rb_ast_body_struct::coverage_enabled

Definition at line 1200 of file rubyparser.h.

## ◆ frozen_string_literal

signed int rb_ast_body_struct::frozen_string_literal

Definition at line 1199 of file rubyparser.h.

## ◆ line_count

int rb_ast_body_struct::line_count

Definition at line 1198 of file rubyparser.h.

## ◆ root

const NODE* rb_ast_body_struct::root

Definition at line 1196 of file rubyparser.h.

## ◆ script_lines

rb_parser_ary_t* rb_ast_body_struct::script_lines

Definition at line 1197 of file rubyparser.h.

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

- rubyparser.h