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

Class Raw::SwitchStmt

INTERNAL: Do not use.

Import path

import codeql.swift.generated.Raw

Direct supertypes

Indirect supertypes

Predicates

getCase

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

getExpr

Gets the expression of this switch statement.

toString

Inherited predicates

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