mixin compiler::CField
compiler::CField : compiler::CSlot
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.
- fieldType
-
abstract CType fieldType()
- getter
-
abstract CMethod? getter()
- inheritedReturnType
-
abstract CType inheritedReturnType()
Original return type from inherited method if a covariant override.
- isCovariant
-
Bool isCovariant()
Does this field covariantly override a method?
- isGeneric
-
Bool isGeneric()
Is this field typed with a generic parameter.
- isParameterized
-
virtual Bool isParameterized()
Is this field the parameterization of a generic field, with the generic type replaced with a real type.
- setter
-
abstract CMethod? setter()
- usesBridge
-
virtual override CBridge? usesBridge()
Return the bridge if this slot is foreign or uses any foreign types in its signature.