Ruby 4.1.0dev (2026-04-04 revision 892991bdc1a5068d74a8597cd0ccf3092afffabf)
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 162 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 164 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 176 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 170 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 179 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 167 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 173 of file prism_compile.h.


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