vyrn

std/ui.editor

2 exports, from std/ui.editor.vyrn.

Editor support for the .vyx pages std/ui claims.

No program links this module, so a program that uses std/ui pays nothing for it. A tool finds it beside std/ui by its name.

Dependencies

The import graph shows the whole library.

Imported by
gen fn vyrnSourceUi(path: String) -> String

The Vyrn a tool reads in the .vyx page at path: its <script> at the file's own positions, then the page its <template> compiles to.

Tests

3 test blocks in std/ui.editor.vyrn. CI runs all of them.

Test names
  • a page view ends in the page its template compiles to
  • a page without a template, and a layout, provide nothing
  • a template with no script at all is still a page

Examples

    No example program imports this module.