CodeQL library for Swift
codeql/swift-all 6.2.3 (changelog, source)
Search

Predicate scopeOfAst

Gets the enclosing scope of a node

Import path

import codeql.swift.controlflow.internal.Scope
AstNode scopeOfAst(AstNode n)