scopeContext¶ context(session: KaSession) fun KtFile.scopeContext(position: KtElement): KaScopeContext Computes the lexical scope context for a given position in the KtFile. The scope context includes all scopes that are relevant for the given position, together with all available implicit receivers. jvm