|
Prism Ruby parser
|
Functions for parsing streams. More...
#include "prism/compiler/exported.h"#include "prism/compiler/nonnull.h"#include "prism/arena.h"#include "prism/options.h"#include "prism/parser.h"#include "prism/source.h"

Go to the source code of this file.
Functions | |
| 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. | |
Functions for parsing streams.
| 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 | ||
| ) |
Parse a stream of Ruby source and return the tree.
| parser | The out parameter to write the parser to. |
| arena | The arena to use for all AST-lifetime allocations. |
| source | The source to use, created via pm_source_stream_new. |
| options | The optional options to use when parsing. |