mixin compiler::CSlot
compiler::CSlot : compiler::CNode
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()
If this a foreign function return the bridge. See
usesForeign
to check if the slot uses any FFI types in its signature. - flags
-
abstract Int flags()
- isAbstract
-
Bool isAbstract()
- isAccessor
-
Bool isAccessor()
- isConst
-
Bool isConst()
- isCtor
-
Bool isCtor()
- isEnum
-
Bool isEnum()
- isForeign
-
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. - isGetter
-
Bool isGetter()
- isInstanceCtor
-
Bool isInstanceCtor()
- isInternal
-
Bool isInternal()
- isNative
-
Bool isNative()
- isOnce
-
Bool isOnce()
- isOverride
-
Bool isOverride()
- isPrivate
-
Bool isPrivate()
- isProtected
-
Bool isProtected()
- isPublic
-
Bool isPublic()
- isSetter
-
Bool isSetter()
- isStatic
-
Bool isStatic()
- isStaticCtor
-
Bool isStaticCtor()
- isStorage
-
Bool isStorage()
- isSynthetic
-
Bool isSynthetic()
- isVirtual
-
Bool isVirtual()
- isVisibleTo
-
Bool isVisibleTo(CType curType)
Return if this slot is visible to the given type
- name
-
abstract Str name()
- ns
-
virtual override CNamespace ns()
- parent
-
abstract CType parent()
- qname
-
abstract Str qname()
- signature
-
abstract Str signature()
- toStr
-
override Str toStr()
- usesBridge
-
abstract CBridge? usesBridge()
Return the bridge if this slot is foreign or uses any foreign types in its signature.
- usesForeign
-
Bool usesForeign()
Return if this slot is foreign or uses any foreign types in its signature.