Objc.setAsOptional

Marks the given function declaration as optional.

A function declaration is considered optional if it's annotated with the UDA: @(core.attribute.optional). Only function declarations inside interface declarations and with Objective-C linkage can be declared as optional.

class Objc
abstract const
void
setAsOptional

Parameters

functionDeclaration FuncDeclaration

the function declaration to be set as optional

sc Scope*

the scope from the semantic phase

Meta