Objc.getParent

Gets the parent of the given function declaration.

Handles Objective-C static member functions, which are virtual functions of the metaclass, by returning the parent class declaration to the metaclass.

class Objc
abstract const
getParent

Parameters

fd FuncDeclaration

the function declaration to get the parent of

cd ClassDeclaration

the current parent, i.e. the class declaration the given function declaration belongs to

Return Value

the parent

Suggestion Box / Bug Report