GenSnapshot¶
Import: import system.codegen;
GenSnapshot¶
Decoded snapshot behind a GenContext.
version¶
Version identifying this API or snapshot format.
phase¶
Current source-generation phase.
symbols¶
Symbols available to the generator.
compilation_errors¶
Errors available for the generator to inspect.
tools¶
Tools available to the generator.
tool_results¶
Results of tool requests made by the generator.
referenced¶
Referenced type declarations available to the generator.
referenced_functions¶
Referenced function declarations available to the generator.
generator¶
Name of the generator being executed.
generator_id¶
Stable identifier of the generator being executed.
target¶
Target declaration or build target associated with this result.
options¶
Options supplied to this generator.
files¶
Files available to this operation.
index¶
Searchable declaration index available to the generator.
decls¶
Type declarations available to the generator.
functions¶
Function declarations available to the generator.
modules¶
User modules whose declaration carries a trigger attribute.
blocks¶
Syntax blocks available to the generator.
calls¶
Function call sites available to the generator.
constructor¶
Decodes a complete generation snapshot from its root JSON object.