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

Class Raw::TypeAliasDecl

INTERNAL: Do not use. A declaration of a type alias to another type. For example:

typealias MyInt = Int

Import path

import codeql.swift.generated.Raw

Direct supertypes

Indirect supertypes

Predicates

getAliasedType

Gets the aliased type on the right-hand side of this type alias declaration.

toString

Inherited predicates

getGenericTypeParam

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

from GenericContext
getInheritedType

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

from TypeDecl
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
getName

Gets the name of this type declaration.

from TypeDecl
getNumberOfGenericTypeParams

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

from GenericContext
getNumberOfInheritedTypes

Gets the number of inherited types of this type declaration.

from TypeDecl
getNumberOfMembers

Gets the number of members of this declaration.

from Decl
isUnknown

Holds if this element is unknown.

from Element