Instance Access

An instance access expression consists of the Self keyword.

self-access:

Self

An instance access expression can be used only within an instance constructor, instance method, or instance property access method. It has one of the following values:

Using an instance access expression in another context is not permitted and results in a compilation error.

See also:

Primary Expressions