Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
CodeQL library for Swift
codeql/swift-all 4.3.0 (changelog, source)

Module Generated

INTERNAL: This module contains the fully generated definition of ThenStmt and should not be referenced directly.

Import path

import codeql.swift.generated.stmt.ThenStmt

Classes

ThenStmt

A statement implicitly wrapping values to be used in branches of if/switch expressions. For example in: let rank = switch value { case 0..<0x80: 1 case 0x80..<0x0800: 2 default: 3 } the literal expressions 1, 2 and 3 are wrapped in ThenStmt. INTERNAL: Do not reference the Generated::ThenStmt class directly. Use the subclass ThenStmt, where the following predicates are available.