WildcardPatternSyntax
io.joern.swiftsrc2cpg.parser.SwiftNodeSyntax.WildcardPatternSyntax
case class WildcardPatternSyntax(json: Value) extends PatternSyntax
Documentation
A pattern that represent a wildcard.
Examples
TuplePatternSyntax
can be used in a simple variable declarations. For example _
in the exmaple:
let _: Int = (1, 2)
Children
wildcard
:_
typeAnnotation
:TypeAnnotationSyntax
?
Nowhere contained in
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait PatternSyntaxtrait SwiftNodeclass Objecttrait Matchableclass Any
Members list
In this article