NameResolutionContext

struct NameResolutionContext : Sendable

The context in which a component of a name expression gets resolved.

This structure is used during name resolution to identify the type of which an entity is member and the generic arguments captured by that entity.