Ruby 4.1.0dev (2026-10-28 revision 1b06b950bb460d20a9dcecb8b97d363adbf4a358)
prism.h
Go to the documentation of this file.
1
6#ifndef PRISM_H
7#define PRISM_H
8
9#include "prism/arena.h"
10#include "prism/ast.h"
11#include "prism/buffer.h"
12#include "prism/diagnostic.h"
13#include "prism/errors_format.h"
14#include "prism/json.h"
15#include "prism/node.h"
16#include "prism/options.h"
17#include "prism/parser.h"
18#include "prism/prettyprint.h"
19#include "prism/serialize.h"
20#include "prism/source.h"
21#include "prism/stream.h"
22#include "prism/string_query.h"
23#include "prism/version.h"
24
123#endif
A bump allocator for the prism parser.
A list of diagnostics generated during parsing.
A function for formatting the errors in a parser into a buffer.
The options that can be passed to parsing.
The parser used to parse Ruby source.
An AST node pretty-printer.
A wrapper around a contiguous block of allocated memory.
Functions related to nodes in the AST.
The version of the Prism library.
The functions related to serializing the AST to a binary format.
An opaque type representing the source code being parsed, regardless of origin (constant memory,...
Functions for parsing streams.
Functions for querying properties of strings, such as whether they are valid local variable names,...