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

Class Raw::SubscriptDecl

INTERNAL: Do not use.

Import path

import codeql.swift.generated.Raw

Direct supertypes

Indirect supertypes

Predicates

getElementType

Gets the element type of this subscript declaration.

getNumberOfParams

Gets the number of parameters of this subscript declaration.

getParam

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

toString

Inherited predicates

getAccessor

Gets the indexth accessor of this abstract storage declaration (0-based).

from AbstractStorageDecl
getGenericTypeParam

Gets the indexth generic type parameter of this generic context (0-based).

from GenericContext
getInterfaceType

Gets the interface type of this value declaration.

from ValueDecl
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
getNumberOfAccessors

Gets the number of accessors of this abstract storage declaration.

from AbstractStorageDecl
getNumberOfGenericTypeParams

Gets the number of generic type parameters of this generic context.

from GenericContext
getNumberOfMembers

Gets the number of members of this declaration.

from Decl
isUnknown

Holds if this element is unknown.

from Element