9#include "prism/compiler/exported.h"
10#include "prism/compiler/nonnull.h"
A bump allocator for the prism parser.
struct pm_arena_t pm_arena_t
An opaque pointer to an arena that is used for allocations.
Definition arena.h:18
The options that can be passed to parsing.
struct pm_options_t pm_options_t
The options that can be passed to the parser.
Definition options.h:26
The parser used to parse Ruby source.
struct pm_parser_t pm_parser_t
The parser used to parse Ruby source.
Definition parser.h:22
An opaque type representing the source code being parsed, regardless of origin (constant memory,...
struct pm_source_t pm_source_t
An opaque type representing source code being parsed.
Definition source.h:21
PRISM_EXPORTED_FUNCTION pm_node_t * pm_parse_stream(pm_parser_t **parser, pm_arena_t *arena, pm_source_t *source, const pm_options_t *options) PRISM_NONNULL(1
Parse a stream of Ruby source and return the tree.
This is the base structure that represents a node in the syntax tree.
Definition ast.h:1070