SwitchExprSyntax
io.joern.swiftsrc2cpg.parser.SwiftNodeSyntax.SwitchExprSyntax
case class SwitchExprSyntax(json: Value) extends ExprSyntax, Braced
Documentation
A switch
expression.
Examples
This represents the switch expression in
switch self.foo {
}
A switch ecpression may be declared without any cases.
Children
switchKeyword
:switch
subject
:ExprSyntax
leftBrace
:{
cases
:SwitchCaseListSyntax
rightBrace
:}
Nowhere contained in
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Bracedtrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass Any
Members list
In this article