|
Ruby 3.3.6p108 (2024-11-05 revision 75015d4c1f6965b5e85e96fb309f1f2129f933c0)
|
An AST node pretty-printer. More...
#include "prism/defines.h"#include <stdio.h>#include "prism/ast.h"#include "prism/parser.h"#include "prism/util/pm_buffer.h"Go to the source code of this file.
Functions | |
| PRISM_EXPORTED_FUNCTION void | pm_prettyprint (pm_buffer_t *output_buffer, const pm_parser_t *parser, const pm_node_t *node) |
| Pretty-prints the AST represented by the given node to the given buffer. | |
An AST node pretty-printer.
Definition in file prettyprint.h.
| PRISM_EXPORTED_FUNCTION void pm_prettyprint | ( | pm_buffer_t * | output_buffer, |
| const pm_parser_t * | parser, | ||
| const pm_node_t * | node ) |
Pretty-prints the AST represented by the given node to the given buffer.
| output_buffer | The buffer to write the pretty-printed AST to. |
| parser | The parser that parsed the AST. |
| node | The root node of the AST to pretty-print. |
Definition at line 8745 of file prettyprint.c.