Fantom

 

mixin compiler::CSlot

compiler::CSlot

Source

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.

bridge

virtual CBridge? bridge()

Source

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

facet

abstract CFacet? facet(Str qname)

Source

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

flags

abstract Int flags()

Source

hasFacet

Bool hasFacet(Str qname)

Source

Return if the given facet is defined.

isAbstract

Bool isAbstract()

Source

isAccessor

Bool isAccessor()

Source

isConst

Bool isConst()

Source

isCtor

Bool isCtor()

Source

isEnum

Bool isEnum()

Source

isForeign

virtual Bool isForeign()

Source

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.

isGetter

Bool isGetter()

Source

isInstanceCtor

Bool isInstanceCtor()

Source

isInternal

Bool isInternal()

Source

isNative

Bool isNative()

Source

isOverride

Bool isOverride()

Source

isPrivate

Bool isPrivate()

Source

isProtected

Bool isProtected()

Source

isPublic

Bool isPublic()

Source

isSetter

Bool isSetter()

Source

isStatic

Bool isStatic()

Source

isStaticCtor

Bool isStaticCtor()

Source

isStorage

Bool isStorage()

Source

isSynthetic

Bool isSynthetic()

Source

isVirtual

Bool isVirtual()

Source

name

abstract Str name()

Source

ns

virtual CNamespace ns()

Source

parent

abstract CType parent()

Source

qname

abstract Str qname()

Source

signature

abstract Str signature()

Source

toStr

override Str toStr()

Source

usesBridge

abstract CBridge? usesBridge()

Source

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

usesForeign

Bool usesForeign()

Source

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