GenCallSite¶
Import: import system.codegen;
GenCallSite¶
A call of one of the generator's @on_call functions.
id¶
Identity of this model node; pass it to GenContext.error_at to report a diagnostic here.
callee¶
Identity of the callee (compare with declof(Json.serialize)).
type_args¶
Concrete type arguments, in parameter order.
arg_types¶
Statically known argument types (TypeRefKind.Unknown when not inferable).
location¶
Where the call is written in source.
constructor¶
Creates a GenCallSite from its parts. Generators normally receive these from GenContext rather than constructing them.