Matches literal tuple expressions.
This pattern only matches nodes of type expression.
Properties
tupleLiteral produces a record that contains the following property:
| Name | Type | Description |
|---|---|---|
expressions |
list<expression> |
The expressions that comprise the tuple |
Inherits properties from:
Example
The following CodeXM pattern finds tuple literals that contain three elements;
for example, (1,2,3):
pattern tripleTuple {
tupleLiteral as tup where tup.expressions.length == 3
};