Ruby: ast.c File Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Data Structures | Macros | Functions | Variables
ast.c File Reference
`#include "internal.h"`
`#include "internal/parse.h"`
`#include "internal/symbol.h"`
`#include "internal/warnings.h"`
`#include "iseq.h"`
`#include "node.h"`
`#include "ruby.h"`
`#include "ruby/encoding.h"`
`#include "ruby/util.h"`
`#include "vm_core.h"`
`#include "builtin.h"`
`#include "ast.rbinc"`

Go to the source code of this file.

## Data Structures
struct | ASTNodeData

## Macros
#define | NEW_CHILD(ast, node) node ? ast_new_internal(ast, node) : Qnil

## Functions
void | Init_ast (void)

## Variables
VALUE | rb_e_script

## Macro Definition Documentation

## ◆ NEW_CHILD

#define NEW_CHILD | ( |  | ast,
|  |  | node
| ) |  | node ? ast_new_internal(ast, node) : Qnil

Definition at line 249 of file ast.c.

## Function Documentation

## ◆ Init_ast()

void Init_ast | ( | void |  | ) |

Definition at line 694 of file ast.c.

References rb_cObject, rb_cRubyVM, rb_define_class_under(), rb_define_module_under(), and rb_undef_alloc_func().

## Variable Documentation

## ◆ rb_e_script

VALUE rb_e_script
| extern

Definition at line 1553 of file ruby.c.