Skip to main content

Module sourcemap

Module sourcemap 

Source
Expand description

A Rojo sourcemap is the project model: it states which file lands on which instance. Run context is derived from that tree, not guessed from directories.

Structs§

Instance
A flattened sourcemap node: an instance path, its class, and the files that define it.
Node
One node of a Rojo sourcemap.

Functions§

flatten
Flatten a sourcemap tree into instances, depth first.
load
Load a sourcemap from disk.