Ruby 4.1.0dev (2026-08-15 revision d1c079751b80352d347452c8d134ffb177838adb)
Data Fields
pm_parse_result_t Struct Reference

Data Fields

pm_arena_tarena
 The arena allocator for AST-lifetime memory.
 
pm_parser_tparser
 The parser that will do the actual parsing.
 
pm_options_toptions
 The options that will be passed to the parser.
 
pm_source_tsource
 The source backing the parse (file, string, or stream).
 
pm_scope_node_t node
 The resulting scope node that will hold the generated AST.
 
bool parsed
 Whether or not this parse result has performed its parsing yet.
 

Detailed Description

Definition at line 166 of file prism_compile.h.

Field Documentation

◆ arena

pm_arena_t* pm_parse_result_t::arena

The arena allocator for AST-lifetime memory.

Definition at line 168 of file prism_compile.h.

◆ node

pm_scope_node_t pm_parse_result_t::node

The resulting scope node that will hold the generated AST.

Definition at line 180 of file prism_compile.h.

◆ options

pm_options_t* pm_parse_result_t::options

The options that will be passed to the parser.

Definition at line 174 of file prism_compile.h.

◆ parsed

bool pm_parse_result_t::parsed

Whether or not this parse result has performed its parsing yet.

Definition at line 183 of file prism_compile.h.

◆ parser

pm_parser_t* pm_parse_result_t::parser

The parser that will do the actual parsing.

Definition at line 171 of file prism_compile.h.

◆ source

pm_source_t* pm_parse_result_t::source

The source backing the parse (file, string, or stream).

Definition at line 177 of file prism_compile.h.


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