TuplePatternSyntax
io.joern.swiftsrc2cpg.parser.SwiftNodeSyntax.TuplePatternSyntax
case class TuplePatternSyntax(json: Value) extends PatternSyntax, Parenthesized
Documentation
A pattern that contains a list of other pattern.
Examples
TuplePatternSyntax
can be used in more complex variable declarations. For example (x, y)
in the example:
let (x, y) = (1, 2)
Children
leftParen
:(
elements
:TuplePatternElementListSyntax
rightParen
:)
Nowhere contained in
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Parenthesizedtrait PatternSyntaxtrait SwiftNodeclass Objecttrait Matchableclass Any
Members list
In this article