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

Class Raw::PoundDiagnosticDecl

INTERNAL: Do not use. A diagnostic directive, which is either #error or #warning.

Import path

import codeql.swift.generated.Raw

Direct supertypes

Indirect supertypes

Predicates

getKind

Gets the kind of this pound diagnostic declaration.

getMessage

Gets the message of this pound diagnostic declaration.

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