envzn
0.8 · beta · not released

Library / System / Runtime / IdentityField

STRUCT

IdentityField

IdentityField — one data field of a class, value class or struct, as IDENTITY(subject).dataFields lists it. Field order is load-bearing: it is the synthesized-constructor argument order the IDENTITY lowering emits.

Fields 9

String name

The field's name — "width".

String type

The field's type, fully qualified unless primitive: "int32", "ENVZN::String".

String kind

The field type's kind, in Identity's kind vocabulary: "Primitive", "Class", "Value Class", "Struct", ...

IdentityAccess access

The declared access; PUBLIC_ACCESS when no access modifier is declared.

String modifier

"", "CONSTANT", "REFERENCE", "SHARED MUTABLE REFERENCE", ...

int32 declarationIndex

Declaration order across the effective field list, base first.

boolean derived

True for a DERIVED field (I.P.d).

boolean inherited

True when the field is declared in an ancestor, not in the subject.

String declaredIn

The declaring type's fullname, with type arguments.