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

Class Raw::IfStmt

INTERNAL: Do not use.

Import path

import codeql.swift.generated.Raw

Direct supertypes

Indirect supertypes

Predicates

getElse

Gets the else of this if statement, if it exists.

getThen

Gets the then of this if statement.

toString

Inherited predicates

getCondition

Gets the condition of this labeled conditional statement.

from LabeledConditionalStmt
getLabel

Gets the label of this labeled statement, if it exists.

from LabeledStmt
getLocation

Gets the location associated with this element in the code, if it exists.

from Locatable
isUnknown

Holds if this element is unknown.

from Element