Skip to content

GeneratorAttribute

1 min read

Import: import system.codegen;

Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.

GeneratorAttribute

Marks fun name(ctx: GenContext) as a source generator (system.codegen). The function name is the generator name.

public struct GeneratorAttribute