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

Class Raw::PatternBindingDecl

INTERNAL: Do not use.

Import path

import codeql.swift.generated.Raw

Direct supertypes

Indirect supertypes

Predicates

getInit

Gets the indexth init of this pattern binding declaration (0-based), if it exists.

getNumberOfInits

Gets the number of inits of this pattern binding declaration.

getNumberOfPatterns

Gets the number of patterns of this pattern binding declaration.

getPattern

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

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