Skip to content

SpecialMethod

A method implementing a protocol, such as (init) or (next). Its class is its parent.

The name span includes the parentheses the protocol name is written in. A special method is part of the type's interface however it was declared, so there is no visibility to report.

Inherits from: Declaration

Fields

type_only @ Bool

Whether the method has no body: an overload signature or a protocol member.