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

Class Raw::ExtractFunctionIsolationExpr

INTERNAL: Do not use. An expression that extracts the function isolation of an expression with @isolated(any) function type.

For example:

func foo(x: @isolated(any) () -> ()) {
    let isolation = x.isolation
}

Import path

import codeql.swift.generated.Raw

Direct supertypes

Indirect supertypes

Predicates

getFunctionExpr

Gets the function expression of this extract function isolation expression.

toString

Inherited predicates

getLocation

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

from Locatable
getType

Gets the type of this expression, if it exists.

from Expr
isUnknown

Holds if this element is unknown.

from Element