Gen Context¶
Import: import system.codegen;
error¶
Reports an error at the field; generation fails after the generator exits.
error¶
Reports an error at the call site; generation fails after the generator exits.
warning¶
Reports a warning at the declaration without failing generation.
has_errors¶
Whether this generator has reported any error so far.
log¶
A line shown with dream -v / dream generate --explain.
finish¶
Writes the generator result and returns its exit status.