LabeledExprSyntax
io.joern.swiftsrc2cpg.parser.SwiftNodeSyntax.LabeledExprSyntax
case class LabeledExprSyntax(json: Value) extends Syntax, WithTrailingComma
Documentation
An expression that is prefixed by a label.
For example, labeled expressions occur in
- Function calls, where the label is the parameter label.
- Tuples, where the label is the name of the tuple element.
Children
label: (<identifier>|_)?colon::?expression:ExprSyntaxtrailingComma:,?
Contained in
LabeledExprListSyntax
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommatrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass Any
Members list
In this article