Fantom

 

mixin

compiler::CSlot

sys::Obj
  compiler::CSlot

CSlot is a "compiler slot" which is represents a Slot in the compiler. CSlots unifies slots being compiled as SlotDefs with slots imported as ReflectSlot or FSlot.

Slots

bridgeSource

virtual CBridge? bridge()

If this a foreign function return the bridge. See usesForeign to check if the slot uses any FFI types in its signature.

facetSource

abstract CFacet? facet(Str qname)

Get the facet keyed by given type, or null if not defined.

flagsSource

abstract Int flags()

hasFacetSource

Bool hasFacet(Str qname)

Return if the given facet is defined.

isAbstractSource

Bool isAbstract()

isAccessorSource

Bool isAccessor()

isConstSource

Bool isConst()

isCtorSource

Bool isCtor()

isEnumSource

Bool isEnum()

isForeignSource

virtual Bool isForeign()

If this a foreign function interface slot. A FFI slot is one declared in another language. See usesForeign to check if the slot uses any FFI types in its signature.

isGetterSource

Bool isGetter()

isInternalSource

Bool isInternal()

isNativeSource

Bool isNative()

isOverrideSource

Bool isOverride()

isPrivateSource

Bool isPrivate()

isProtectedSource

Bool isProtected()

isPublicSource

Bool isPublic()

isSetterSource

Bool isSetter()

isStaticSource

Bool isStatic()

isStorageSource

Bool isStorage()

isSyntheticSource

Bool isSynthetic()

isVirtualSource

Bool isVirtual()

nameSource

abstract Str name()

nsSource

virtual CNamespace ns()

parentSource

abstract CType parent()

qnameSource

abstract Str qname()

signatureSource

abstract Str signature()

toStrSource

Str toStr()

Overrides sys::Obj.toStr

Doc inherited from sys::Obj.toStr

Return a string representation of this object.

usesBridgeSource

abstract CBridge? usesBridge()

Return the bridge if this slot is foreign or uses any foreign types in its signature.

usesForeignSource

Bool usesForeign()

Return if this slot is foreign or uses any foreign types in its signature.