Skip to main content

Module loader

Module loader 

Source
Expand description

Loader: produces filtered views of an AGM AST based on loading modes.

Supports summary, operational, executable, full, and profile-based loading as defined in the AGM specification.

Re-exports§

pub use filter::filter_node;
pub use mode::LoadMode;
pub use profile::LoadError;

Modules§

filter
Node field filtering by LoadMode.
mode
Load mode definitions for the AGM loader.
profile
Load profile resolution and filter expression evaluation.

Functions§

load
Returns a filtered view of all nodes in file at the given mode.
load_nodes
Returns a filtered view containing only the nodes whose IDs appear in node_ids, in the same order as they appear in file.nodes.
load_profile
Resolves and applies the named load profile (or the file’s default_load).