Skip to main content

authored_construct

Function authored_construct 

Source
pub fn authored_construct(
    name: &str,
    program: &[Stmt<'_>],
    interner: &Interner,
) -> Option<String>
Expand description

The construct an author wrote that the compiler-written function name was lowered from, named as the author knows it: `## Route GET /agent`, the `add` action of `## Component Counter`, `## Directive focus`, or the `## Route` table for the walks that serve every route. Built on the forward helpers above over the constructs the program declares, so there is no inverse mapping to keep in step. None for a name no construct owns — a synthesized name never becomes text an author reads.