Skip to main content

Module resolve

Module resolve 

Source
Expand description

Import resolver: merges imported scene graphs with namespace prefixing.

The parser stores Import declarations on SceneGraph.imports but does NOT read files — file I/O is handled by the caller via the ImportLoader trait. This keeps the parser pure and testable.

Traits§

ImportLoader
Trait for loading .fd files by path.

Functions§

resolve_imports
Resolve all imports on graph, merging imported styles and nodes with namespace-prefixed IDs.