GenSyntaxBlock¶
Import: import system.codegen;
GenSyntaxBlock¶
A name { ... } site of this generator (@syntax_block generators only).
id¶
Identity of this model node; pass it to GenContext.error_at to report a diagnostic here.
name¶
Block name as written before { (html in html { ... }).
body¶
Reconstructed body text; splices appear as {expr}.
splices¶
Dream source of each { ... } splice, in order.
location¶
Where the block is written in source.
constructor¶
Creates a GenSyntaxBlock from its parts. Generators normally receive these from GenContext rather than constructing them.