Skip to content

OnCallAttribute

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.

OnCallAttribute

Runs the generator for call sites of the named functions or methods (Type.method).

public struct OnCallAttribute

declaration

Function or method whose call sites the generator receives.

public declaration: DeclarationPath

additional_declarations

Additional declarations made available to the generator.

public additional_declarations: List<DeclarationPath>