Gen Attr Arg¶
Import: import system.codegen;
GenAttrArg¶
One attribute argument as written: kind is string, int, float, double, bool or enum; value is the unquoted string, literal text, or dotted enum path.
kind¶
Literal category of the argument as written (string, int, enum, ...).
value¶
Unquoted string, literal text, or dotted enum path, depending on kind.
symbol¶
Resolved identifier of a declaration argument, or an empty string when unresolved.
constructor¶
Creates a GenAttrArg from its parts. Generators normally receive these from GenContext rather than constructing them.