6#ifndef PRISM_PRETTYPRINT_H
7#define PRISM_PRETTYPRINT_H
11#ifndef PRISM_EXCLUDE_PRETTYPRINT
A header file that defines macros to exclude certain features of the prism library.
#define PRISM_EXPORTED_FUNCTION
By default, we compile with -fvisibility=hidden.
The parser used to parse Ruby source.
PRISM_EXPORTED_FUNCTION void pm_prettyprint(pm_buffer_t *output_buffer, const pm_parser_t *parser, const pm_node_t *node) PRISM_NONNULL(1
Pretty-prints the AST represented by the given node to the given buffer.
A wrapper around a contiguous block of allocated memory.
#define PRISM_NONNULL(...)
Mark the parameters of a function as non-null.
This is the base structure that represents a node in the syntax tree.