Prism Ruby parser
Loading...
Searching...
No Matches
prism Directory Reference
Directory dependency graph for prism:
include/prism

Files

 arena.h
 A bump allocator for the prism parser.
 
 arena.hpp
 Ownership of arenas from C++.
 
 ast.h
 The abstract syntax tree.
 
 ast.hpp
 The mapping between node structs and node types, generated from the same configuration as ast.h so that it covers every node.
 
 buffer.h
 A wrapper around a contiguous block of allocated memory.
 
 buffer.hpp
 Ownership of buffers from C++, and access to their contents.
 
 comments.h
 Types and functions related to comments found during parsing.
 
 constant_pool.h
 A data structure that stores a set of strings.
 
 diagnostic.h
 A list of diagnostics generated during parsing.
 
 errors_format.h
 A function for formatting the errors in a parser into a buffer.
 
 excludes.h
 A header file that defines macros to exclude certain features of the prism library.
 
 integer.h
 This module provides functions for working with arbitrary-sized integers.
 
 json.h
 
 line_offset_list.h
 A list of byte offsets of newlines in a string.
 
 magic_comments.h
 Types and functions related to magic comments found during parsing.
 
 node.h
 Functions related to nodes in the AST.
 
 node.hpp
 Checked casts between node structs, iteration over lists of nodes, and walking the tree from C++.
 
 node_type.hpp
 The traits that map node structs to node types.
 
 options.h
 The options that can be passed to parsing.
 
 options.hpp
 Ownership of parse options from C++.
 
 parser.h
 The parser used to parse Ruby source.
 
 parser.hpp
 Ownership of parsers from C++, and lookups through a parser into the source, the constant pool, comments, and diagnostics.
 
 prettyprint.h
 An AST node pretty-printer.
 
 serialize.h
 The functions related to serializing the AST to a binary format.
 
 source.h
 An opaque type representing the source code being parsed, regardless of origin (constant memory, file, memory-mapped file, or stream).
 
 stream.h
 Functions for parsing streams.
 
 string_query.h
 Functions for querying properties of strings, such as whether they are valid local variable names, constant names, or method names.
 
 stringy.h
 A view of a sequence of bytes owned by someone else.
 
 stringy.hpp
 Access to the contents of strings from C++.
 
 version.h
 The version of the Prism library.