Ruby: pm_parse_result_t Struct Reference

Ruby 3.4.1p0 (2024-12-25 revision 48d4efcb85000e1ebae42004e963b5d0cedddcf2)

Data Fields
pm_parse_result_t Struct Reference

## Data Fields
pm_parser_t | parser
| The parser that will do the actual parsing.
pm_options_t | options
| The options that will be passed to the parser.
pm_string_t | input
| The input that represents the source to be parsed.
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 69 of file prism_compile.h.

## Field Documentation

## ◆ input

pm_string_t pm_parse_result_t::input

The input that represents the source to be parsed.

Definition at line 77 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 80 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 74 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 83 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 71 of file prism_compile.h.

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

- prism_compile.h