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

Member predicate Impl::Decl::asNominalTypeDecl

Gets the NominalTypeDecl corresponding to this Decl, if any. This resolves an ExtensionDecl to the NominalTypeDecl that it extends.

NominalTypeDecl asNominalTypeDecl()