Objc

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.

Members

Functions

addSymbols
void addSymbols(ClassDeclaration classDeclaration, ClassDeclarations* classes, ClassDeclarations* categories)
addSymbols
void addSymbols(AttribDeclaration attribDeclaration, ClassDeclarations* classes, ClassDeclarations* categories)
addToClassMethodList
void addToClassMethodList(FuncDeclaration fd, ClassDeclaration cd)

Adds the given function to the list of Objective-C methods.

checkLinkage
void checkLinkage(FuncDeclaration fd)
Undocumented in source.
checkOffsetof
void checkOffsetof(Expression expression, AggregateDeclaration aggregateDeclaration)
checkTupleof
void checkTupleof(Expression expression, TypeClass type)

Issues a compile time error if the .offsetof/.tupleof property is used on a field of an Objective-C class.

createSelectorParameter
VarDeclaration createSelectorParameter(FuncDeclaration fd, Scope* sc)

Creates the selector parameter for the given function declaration.

deprecate
void deprecate(InterfaceDeclaration interfaceDeclaration)

Deprecate the given Objective-C interface.

getParent
ClassDeclaration getParent(FuncDeclaration fd, ClassDeclaration cd)

Gets the parent of the given function declaration.

getRuntimeMetaclass
ClassDeclaration getRuntimeMetaclass(ClassDeclaration classDeclaration)

Returns Objective-C runtime metaclass of the given class declaration.

isThis
inout(AggregateDeclaration) isThis(FuncDeclaration funcDeclaration)

Returns the this pointer of the given function declaration.

isVirtual
bool isVirtual(FuncDeclaration fd)

Returns true if the given function declaration is virtual.

setMetaclass
void setMetaclass(InterfaceDeclaration interfaceDeclaration, Scope* sc)
void setMetaclass(ClassDeclaration classDeclaration, Scope* sc)

Creates and sets the metaclass on the given class/interface declaration.

setObjc
void setObjc(ClassDeclaration cd)
Undocumented in source.
setObjc
void setObjc(InterfaceDeclaration )
Undocumented in source.
setSelector
void setSelector(FuncDeclaration , Scope* sc)
Undocumented in source.
validateSelector
void validateSelector(FuncDeclaration fd)
Undocumented in source.

Static functions

_init
void _init()
Undocumented in source. Be warned that the author may not have intended to support it.
deinitialize
void deinitialize()

Deinitializes the global state of the compiler.

Meta