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

Class Raw::DeclRefExpr

INTERNAL: Do not use.

Import path

import codeql.swift.generated.Raw

Direct supertypes

Indirect supertypes

Predicates

getDecl

Gets the declaration of this declaration reference expression.

getReplacementType

Gets the indexth replacement type of this declaration reference expression (0-based).

hasDirectToImplementationSemantics

Holds if this declaration reference expression has direct to implementation semantics.

hasDirectToStorageSemantics

Holds if this declaration reference expression has direct to storage semantics.

hasDistributedThunkSemantics

Holds if this declaration reference expression has distributed thunk semantics.

hasOrdinarySemantics

Holds if this declaration reference expression has ordinary semantics.

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