Skip to main content

Module resolve

Module resolve 

Source
Expand description

Syntax tree → scene: imports and props substituted, every attribute checked, typed and defaulted.

Structs§

Resolution
A design kept resolved: where each node of its scene came from, the files it was made from, and the files changed since it was last valid. It keeps no scene: the design’s one scene is its holder’s, which resolving it again reads and brings across by the edits it makes.

Enums§

Outcome
What a change made of a design.

Constants§

THEMES_FILE
The file a folder’s themes are in.

Functions§

join
A path relative to a design’s file, from the top of the served folder, or None when it climbs out of the served folder.
resolve
Resolves the design at path, reporting every problem found.
rgba
A #rgb, #rgba, #rrggbb or #rrggbbaa color.