Skip to main content

Module commands

Module commands 

Source
Expand description

Command infrastructure for AAML directives.

Each directive (@import, @derive, @schema, @type) is implemented as a struct that implements the Command trait and is registered in AAML::register_default_commands.

Modules§

derive
@derive directive — inherits keys and schemas from another .aam file.
import
@import directive — merges another .aam file into the current document.
schema
@schema directive — defines a named struct-like schema with typed fields.
typecm
@type directive — registers a named type alias or built-in type reference.

Traits§

Command
Trait implemented by every AAML directive handler.