ExpressionPatternSyntax
io.joern.swiftsrc2cpg.parser.SwiftNodeSyntax.ExpressionPatternSyntax
case class ExpressionPatternSyntax(json: Value) extends PatternSyntax
Documentation
A pattern that contains an ExprSyntaxProtocol
.
Examples
Patterns can be used in switch cases like the following example:
switch raw.kind {
case .expressionPattern:
return true
default:
return false
}
Children
expression
:ExprSyntax
Nowhere contained in
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait PatternSyntaxtrait SwiftNodeclass Objecttrait Matchableclass Any
Members list
In this article