CField is a "compiler field" which is represents a Field in the compiler. CFields unify methods being compiled as FieldDefs with methods imported as ReflectField or FField.
Slots
- fieldTypeSource
-
abstract CType fieldType()
- getterSource
-
abstract CMethod? getter()
- inheritedReturnTypeSource
-
abstract CType inheritedReturnType()
Original return type from inherited method if a covariant override.
- isCovariantSource
-
Bool isCovariant()
Does this field covariantly override a method?
- isGenericSource
-
Bool isGeneric()
Is this field typed with a generic parameter.
- isParameterizedSource
-
virtual Bool isParameterized()
Is this field the parameterization of a generic field, with the generic type replaced with a real type.
- setterSource
-
abstract CMethod? setter()
- usesBridgeSource
-
override CBridge? usesBridge()
Overrides compiler::CSlot.usesBridge
Return the bridge if this slot is foreign or uses any foreign types in its signature.