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

Class Raw::CapturedDecl

INTERNAL: Do not use.

Import path

import codeql.swift.generated.Raw

Direct supertypes

Indirect supertypes

Predicates

getDecl

Gets the the declaration captured by the parent closure.

isDirect

Holds if this captured declaration is direct.

isEscaping

Holds if this captured declaration is escaping.

toString

Inherited predicates

getLocation

Gets the location associated with this element in the code, if it exists.

from Locatable
getMember

Gets the indexth member of this declaration (0-based).

from Decl
getModule

Gets the module of this declaration.

from Decl
getNumberOfMembers

Gets the number of members of this declaration.

from Decl
isUnknown

Holds if this element is unknown.

from Element