AshUi.Verifiers.StylesheetCoverage (ash_ui v0.1.0)

Copy Markdown View Source

Compile-time [part=] coverage over a document root's render closure (DESIGN.md §9).

Every part emitted by a routed resource's view — including everything it transitively render()s — must match a [part=...] rule in the resource's effective stylesheets. The extractor is a comment- and string-aware SCANNER, not a CSS engine: [part="x"], [part='x'], and [part=x] are matched literally.

Also enforced here:

  • @import anywhere in a declared sheet is a compile error — the stylesheets list is the sole import order.
  • Every declared sheet must exist as a readable file at compile time (paths resolve relative to the compiling project's root).