RustQ.Rust.AST.Schema (rustq v1.0.0-rc.19)

Copy Markdown View Source

Describes every RustQ AST node: its category, fields, and the Rust constant and module names the generated native decoders use for it. RustQ's self-hosted code generation reads it to build generated_ast.rs.

Summary

Functions

nodes()

@spec nodes() :: [RustQ.Rust.AST.Schema.Node.t()]

nodes(category)

@spec nodes(atom()) :: [RustQ.Rust.AST.Schema.Node.t()]