Module ast

Source
Expand description

The basic AST types.

Structs§

Args
A type that represents the arguments specified for a function.
ArgsConvertError
An error converting a value to an AST node.

Enums§

ArgsBindingError
An error binding arguments to an Args.
ConvertError
An error converting a value to an AST node.
Expr
An expression.
ModuleHeaderError
An error occurring from a call to parse_module_header.

Functions§

convert_body
Converts the body values of a module to an AST.
convert_decl
Converts a declaration to its AST node.
convert_expr
Converts an expression to its AST node.
parse_module_header
Parses out the module and import forms from the given values, returning the body.