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

Class Raw::CaseStmt

INTERNAL: Do not use.

Import path

import codeql.swift.generated.Raw

Direct supertypes

Indirect supertypes

Predicates

getBody

Gets the body of this case statement.

getLabel

Gets the indexth label of this case statement (0-based).

getNumberOfLabels

Gets the number of labels of this case statement.

getNumberOfVariables

Gets the number of variables of this case statement.

getVariable

Gets the indexth variable of this case statement (0-based).

toString

Inherited predicates

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