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

Class Raw::ParameterizedProtocolType

INTERNAL: Do not use. A sugar type of the form P<X> with P a protocol.

If P has primary associated type A, then T: P<X> is a shortcut for T: P where T.A == X.

Import path

import codeql.swift.generated.Raw

Direct supertypes

Indirect supertypes

Predicates

getArg

Gets the indexth argument of this parameterized protocol type (0-based).

getBase

Gets the base of this parameterized protocol type.

toString

Inherited predicates

getCanonicalType

Gets the canonical type of this type.

from Type
getName

Gets the name of this type.

from Type
isUnknown

Holds if this element is unknown.

from Element