2022-06-01 16:23:43 +02:00
|
|
|
[
|
2022-06-01 19:48:54 +02:00
|
|
|
{
|
|
|
|
"type": "array_expression",
|
|
|
|
"named": true,
|
|
|
|
"fields": {
|
|
|
|
"init": {
|
|
|
|
"multiple": false,
|
|
|
|
"required": true,
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "array_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:07:00 +02:00
|
|
|
{
|
|
|
|
"type": "array_value",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:11:52 +02:00
|
|
|
{
|
|
|
|
"type": "assignment_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:48:54 +02:00
|
|
|
{
|
|
|
|
"type": "binary_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:58:40 +02:00
|
|
|
{
|
|
|
|
"type": "function_call",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:07:00 +02:00
|
|
|
{
|
|
|
|
"type": "identifier",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:18:10 +02:00
|
|
|
{
|
|
|
|
"type": "if_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:48:54 +02:00
|
|
|
{
|
|
|
|
"type": "integer_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "nil_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:54:09 +02:00
|
|
|
{
|
|
|
|
"type": "record_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:07:00 +02:00
|
|
|
{
|
|
|
|
"type": "record_value",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:48:54 +02:00
|
|
|
{
|
|
|
|
"type": "sequence_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "string_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "unary_expression",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"size": {
|
|
|
|
"multiple": false,
|
|
|
|
"required": true,
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "array_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:07:00 +02:00
|
|
|
{
|
|
|
|
"type": "array_value",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:11:52 +02:00
|
|
|
{
|
|
|
|
"type": "assignment_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:48:54 +02:00
|
|
|
{
|
|
|
|
"type": "binary_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:58:40 +02:00
|
|
|
{
|
|
|
|
"type": "function_call",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:07:00 +02:00
|
|
|
{
|
|
|
|
"type": "identifier",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:18:10 +02:00
|
|
|
{
|
|
|
|
"type": "if_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:48:54 +02:00
|
|
|
{
|
|
|
|
"type": "integer_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "nil_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:54:09 +02:00
|
|
|
{
|
|
|
|
"type": "record_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:07:00 +02:00
|
|
|
{
|
|
|
|
"type": "record_value",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:48:54 +02:00
|
|
|
{
|
|
|
|
"type": "sequence_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "string_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "unary_expression",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"multiple": false,
|
|
|
|
"required": true,
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "identifier",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-06-01 20:07:00 +02:00
|
|
|
{
|
|
|
|
"type": "array_value",
|
|
|
|
"named": true,
|
|
|
|
"fields": {
|
|
|
|
"array": {
|
|
|
|
"multiple": false,
|
|
|
|
"required": true,
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "array_value",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "identifier",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "record_value",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"index": {
|
|
|
|
"multiple": false,
|
|
|
|
"required": true,
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "array_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "array_value",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:11:52 +02:00
|
|
|
{
|
|
|
|
"type": "assignment_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "binary_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "function_call",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "identifier",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:18:10 +02:00
|
|
|
{
|
|
|
|
"type": "if_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:11:52 +02:00
|
|
|
{
|
|
|
|
"type": "integer_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "nil_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "record_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "record_value",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "sequence_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "string_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "unary_expression",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "assignment_expression",
|
|
|
|
"named": true,
|
|
|
|
"fields": {
|
|
|
|
"left": {
|
|
|
|
"multiple": false,
|
|
|
|
"required": true,
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "array_value",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "identifier",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "record_value",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"multiple": false,
|
|
|
|
"required": true,
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "array_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "array_value",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "assignment_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:07:00 +02:00
|
|
|
{
|
|
|
|
"type": "binary_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "function_call",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "identifier",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:18:10 +02:00
|
|
|
{
|
|
|
|
"type": "if_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:07:00 +02:00
|
|
|
{
|
|
|
|
"type": "integer_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "nil_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "record_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "record_value",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "sequence_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "string_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "unary_expression",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-06-01 19:34:31 +02:00
|
|
|
{
|
|
|
|
"type": "binary_expression",
|
|
|
|
"named": true,
|
|
|
|
"fields": {
|
|
|
|
"left": {
|
|
|
|
"multiple": false,
|
|
|
|
"required": true,
|
|
|
|
"types": [
|
2022-06-01 19:48:54 +02:00
|
|
|
{
|
|
|
|
"type": "array_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:07:00 +02:00
|
|
|
{
|
|
|
|
"type": "array_value",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:11:52 +02:00
|
|
|
{
|
|
|
|
"type": "assignment_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:34:31 +02:00
|
|
|
{
|
|
|
|
"type": "binary_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:58:40 +02:00
|
|
|
{
|
|
|
|
"type": "function_call",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:07:00 +02:00
|
|
|
{
|
|
|
|
"type": "identifier",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:18:10 +02:00
|
|
|
{
|
|
|
|
"type": "if_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:34:31 +02:00
|
|
|
{
|
|
|
|
"type": "integer_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
2022-06-01 19:40:44 +02:00
|
|
|
"type": "nil_literal",
|
|
|
|
"named": true
|
2022-06-01 19:34:31 +02:00
|
|
|
},
|
2022-06-01 19:54:09 +02:00
|
|
|
{
|
|
|
|
"type": "record_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:07:00 +02:00
|
|
|
{
|
|
|
|
"type": "record_value",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:34:31 +02:00
|
|
|
{
|
|
|
|
"type": "sequence_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "string_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "unary_expression",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"operator": {
|
|
|
|
"multiple": false,
|
|
|
|
"required": true,
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "operator",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"multiple": false,
|
|
|
|
"required": true,
|
|
|
|
"types": [
|
2022-06-01 19:48:54 +02:00
|
|
|
{
|
|
|
|
"type": "array_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:07:00 +02:00
|
|
|
{
|
|
|
|
"type": "array_value",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:11:52 +02:00
|
|
|
{
|
|
|
|
"type": "assignment_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:34:31 +02:00
|
|
|
{
|
|
|
|
"type": "binary_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:58:40 +02:00
|
|
|
{
|
|
|
|
"type": "function_call",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:07:00 +02:00
|
|
|
{
|
|
|
|
"type": "identifier",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:18:10 +02:00
|
|
|
{
|
|
|
|
"type": "if_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:58:40 +02:00
|
|
|
{
|
|
|
|
"type": "integer_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "nil_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "record_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:07:00 +02:00
|
|
|
{
|
|
|
|
"type": "record_value",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:58:40 +02:00
|
|
|
{
|
|
|
|
"type": "sequence_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "string_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "unary_expression",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "function_call",
|
|
|
|
"named": true,
|
|
|
|
"fields": {
|
|
|
|
"arguments": {
|
|
|
|
"multiple": true,
|
|
|
|
"required": false,
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": ",",
|
|
|
|
"named": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "array_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:07:00 +02:00
|
|
|
{
|
|
|
|
"type": "array_value",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:11:52 +02:00
|
|
|
{
|
|
|
|
"type": "assignment_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:58:40 +02:00
|
|
|
{
|
|
|
|
"type": "binary_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "function_call",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:07:00 +02:00
|
|
|
{
|
|
|
|
"type": "identifier",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:18:10 +02:00
|
|
|
{
|
|
|
|
"type": "if_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:34:31 +02:00
|
|
|
{
|
|
|
|
"type": "integer_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
2022-06-01 19:40:44 +02:00
|
|
|
"type": "nil_literal",
|
|
|
|
"named": true
|
2022-06-01 19:34:31 +02:00
|
|
|
},
|
2022-06-01 19:54:09 +02:00
|
|
|
{
|
|
|
|
"type": "record_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:07:00 +02:00
|
|
|
{
|
|
|
|
"type": "record_value",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:54:09 +02:00
|
|
|
{
|
|
|
|
"type": "sequence_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "string_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "unary_expression",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
2022-06-01 19:58:40 +02:00
|
|
|
},
|
|
|
|
"function": {
|
|
|
|
"multiple": false,
|
|
|
|
"required": true,
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "identifier",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
2022-06-01 19:54:09 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-06-01 20:18:10 +02:00
|
|
|
{
|
|
|
|
"type": "if_expression",
|
|
|
|
"named": true,
|
|
|
|
"fields": {
|
|
|
|
"alternative": {
|
|
|
|
"multiple": false,
|
|
|
|
"required": false,
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "array_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "array_value",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "assignment_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "binary_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "function_call",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "identifier",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "if_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "integer_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "nil_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "record_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "record_value",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "sequence_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "string_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "unary_expression",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"condition": {
|
|
|
|
"multiple": false,
|
|
|
|
"required": true,
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "array_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "array_value",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "assignment_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "binary_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "function_call",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "identifier",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "if_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "integer_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "nil_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "record_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "record_value",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "sequence_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "string_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "unary_expression",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"consequence": {
|
|
|
|
"multiple": false,
|
|
|
|
"required": true,
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "array_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "array_value",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "assignment_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "binary_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "function_call",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "identifier",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "if_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "integer_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "nil_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "record_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "record_value",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "sequence_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "string_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "unary_expression",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-06-01 19:54:09 +02:00
|
|
|
{
|
|
|
|
"type": "record_expression",
|
|
|
|
"named": true,
|
|
|
|
"fields": {
|
|
|
|
"field": {
|
|
|
|
"multiple": true,
|
|
|
|
"required": false,
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "identifier",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"multiple": true,
|
|
|
|
"required": false,
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "array_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:07:00 +02:00
|
|
|
{
|
|
|
|
"type": "array_value",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:11:52 +02:00
|
|
|
{
|
|
|
|
"type": "assignment_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:54:09 +02:00
|
|
|
{
|
|
|
|
"type": "binary_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:58:40 +02:00
|
|
|
{
|
|
|
|
"type": "function_call",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:07:00 +02:00
|
|
|
{
|
|
|
|
"type": "identifier",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:18:10 +02:00
|
|
|
{
|
|
|
|
"type": "if_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:54:09 +02:00
|
|
|
{
|
|
|
|
"type": "integer_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "nil_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "record_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:07:00 +02:00
|
|
|
{
|
|
|
|
"type": "record_value",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:34:31 +02:00
|
|
|
{
|
|
|
|
"type": "sequence_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "string_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "unary_expression",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
2022-06-01 19:54:09 +02:00
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"multiple": false,
|
|
|
|
"required": true,
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "identifier",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
2022-06-01 19:34:31 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-06-01 20:07:00 +02:00
|
|
|
{
|
|
|
|
"type": "record_value",
|
|
|
|
"named": true,
|
|
|
|
"fields": {
|
|
|
|
"field": {
|
|
|
|
"multiple": false,
|
|
|
|
"required": true,
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "identifier",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"record": {
|
|
|
|
"multiple": false,
|
|
|
|
"required": true,
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "array_value",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "identifier",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "record_value",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-06-01 19:34:31 +02:00
|
|
|
{
|
|
|
|
"type": "sequence_expression",
|
|
|
|
"named": true,
|
|
|
|
"fields": {},
|
|
|
|
"children": {
|
|
|
|
"multiple": true,
|
|
|
|
"required": false,
|
|
|
|
"types": [
|
2022-06-01 19:48:54 +02:00
|
|
|
{
|
|
|
|
"type": "array_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:07:00 +02:00
|
|
|
{
|
|
|
|
"type": "array_value",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:11:52 +02:00
|
|
|
{
|
|
|
|
"type": "assignment_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:34:31 +02:00
|
|
|
{
|
|
|
|
"type": "binary_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:58:40 +02:00
|
|
|
{
|
|
|
|
"type": "function_call",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:07:00 +02:00
|
|
|
{
|
|
|
|
"type": "identifier",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:18:10 +02:00
|
|
|
{
|
|
|
|
"type": "if_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:34:31 +02:00
|
|
|
{
|
|
|
|
"type": "integer_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:40:44 +02:00
|
|
|
{
|
|
|
|
"type": "nil_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:54:09 +02:00
|
|
|
{
|
|
|
|
"type": "record_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:07:00 +02:00
|
|
|
{
|
|
|
|
"type": "record_value",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:34:31 +02:00
|
|
|
{
|
|
|
|
"type": "sequence_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "string_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "unary_expression",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2022-06-01 16:23:43 +02:00
|
|
|
{
|
|
|
|
"type": "source_file",
|
|
|
|
"named": true,
|
2022-06-01 19:33:42 +02:00
|
|
|
"fields": {},
|
|
|
|
"children": {
|
|
|
|
"multiple": false,
|
2022-06-01 19:40:44 +02:00
|
|
|
"required": true,
|
2022-06-01 19:33:42 +02:00
|
|
|
"types": [
|
2022-06-01 19:48:54 +02:00
|
|
|
{
|
|
|
|
"type": "array_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:07:00 +02:00
|
|
|
{
|
|
|
|
"type": "array_value",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:11:52 +02:00
|
|
|
{
|
|
|
|
"type": "assignment_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:34:31 +02:00
|
|
|
{
|
|
|
|
"type": "binary_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:58:40 +02:00
|
|
|
{
|
|
|
|
"type": "function_call",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:07:00 +02:00
|
|
|
{
|
|
|
|
"type": "identifier",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:18:10 +02:00
|
|
|
{
|
|
|
|
"type": "if_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:33:42 +02:00
|
|
|
{
|
|
|
|
"type": "integer_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:40:44 +02:00
|
|
|
{
|
|
|
|
"type": "nil_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:54:09 +02:00
|
|
|
{
|
|
|
|
"type": "record_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:07:00 +02:00
|
|
|
{
|
|
|
|
"type": "record_value",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:34:31 +02:00
|
|
|
{
|
|
|
|
"type": "sequence_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:33:42 +02:00
|
|
|
{
|
|
|
|
"type": "string_literal",
|
|
|
|
"named": true
|
2022-06-01 19:34:31 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "unary_expression",
|
|
|
|
"named": true
|
2022-06-01 19:33:42 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2022-06-01 16:23:43 +02:00
|
|
|
},
|
|
|
|
{
|
2022-06-01 19:33:42 +02:00
|
|
|
"type": "string_literal",
|
|
|
|
"named": true,
|
|
|
|
"fields": {},
|
|
|
|
"children": {
|
|
|
|
"multiple": true,
|
|
|
|
"required": false,
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "escape_sequence",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2022-06-01 19:34:31 +02:00
|
|
|
{
|
|
|
|
"type": "unary_expression",
|
|
|
|
"named": true,
|
|
|
|
"fields": {
|
|
|
|
"expression": {
|
|
|
|
"multiple": false,
|
|
|
|
"required": true,
|
|
|
|
"types": [
|
2022-06-01 19:48:54 +02:00
|
|
|
{
|
|
|
|
"type": "array_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:07:00 +02:00
|
|
|
{
|
|
|
|
"type": "array_value",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:11:52 +02:00
|
|
|
{
|
|
|
|
"type": "assignment_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:34:31 +02:00
|
|
|
{
|
|
|
|
"type": "binary_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:58:40 +02:00
|
|
|
{
|
|
|
|
"type": "function_call",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:07:00 +02:00
|
|
|
{
|
|
|
|
"type": "identifier",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:18:10 +02:00
|
|
|
{
|
|
|
|
"type": "if_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:34:31 +02:00
|
|
|
{
|
|
|
|
"type": "integer_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
2022-06-01 19:40:44 +02:00
|
|
|
"type": "nil_literal",
|
|
|
|
"named": true
|
2022-06-01 19:34:31 +02:00
|
|
|
},
|
2022-06-01 19:54:09 +02:00
|
|
|
{
|
|
|
|
"type": "record_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:07:00 +02:00
|
|
|
{
|
|
|
|
"type": "record_value",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:34:31 +02:00
|
|
|
{
|
|
|
|
"type": "sequence_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "string_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "unary_expression",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"operator": {
|
|
|
|
"multiple": false,
|
|
|
|
"required": true,
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "operator",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-06-01 19:33:42 +02:00
|
|
|
{
|
|
|
|
"type": "\"",
|
|
|
|
"named": false
|
|
|
|
},
|
2022-06-01 19:34:31 +02:00
|
|
|
{
|
|
|
|
"type": "(",
|
|
|
|
"named": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": ")",
|
|
|
|
"named": false
|
|
|
|
},
|
2022-06-01 19:54:09 +02:00
|
|
|
{
|
|
|
|
"type": ",",
|
|
|
|
"named": false
|
|
|
|
},
|
2022-06-01 20:07:00 +02:00
|
|
|
{
|
|
|
|
"type": ".",
|
|
|
|
"named": false
|
|
|
|
},
|
2022-06-01 20:11:52 +02:00
|
|
|
{
|
|
|
|
"type": ":=",
|
|
|
|
"named": false
|
|
|
|
},
|
2022-06-01 19:34:31 +02:00
|
|
|
{
|
|
|
|
"type": ";",
|
|
|
|
"named": false
|
|
|
|
},
|
2022-06-01 19:54:09 +02:00
|
|
|
{
|
|
|
|
"type": "=",
|
|
|
|
"named": false
|
|
|
|
},
|
2022-06-01 19:48:54 +02:00
|
|
|
{
|
|
|
|
"type": "[",
|
|
|
|
"named": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "]",
|
|
|
|
"named": false
|
|
|
|
},
|
2022-06-01 20:18:10 +02:00
|
|
|
{
|
|
|
|
"type": "else",
|
|
|
|
"named": false
|
|
|
|
},
|
2022-06-01 19:33:42 +02:00
|
|
|
{
|
|
|
|
"type": "escape_sequence",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 19:48:54 +02:00
|
|
|
{
|
|
|
|
"type": "identifier",
|
|
|
|
"named": true
|
|
|
|
},
|
2022-06-01 20:18:10 +02:00
|
|
|
{
|
|
|
|
"type": "if",
|
|
|
|
"named": false
|
|
|
|
},
|
2022-06-01 19:33:42 +02:00
|
|
|
{
|
|
|
|
"type": "integer_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
2022-06-01 19:40:44 +02:00
|
|
|
"type": "nil_literal",
|
|
|
|
"named": true
|
2022-06-01 19:34:31 +02:00
|
|
|
},
|
2022-06-01 19:48:54 +02:00
|
|
|
{
|
|
|
|
"type": "of",
|
|
|
|
"named": false
|
|
|
|
},
|
2022-06-01 19:34:31 +02:00
|
|
|
{
|
|
|
|
"type": "operator",
|
|
|
|
"named": true
|
2022-06-01 19:54:09 +02:00
|
|
|
},
|
2022-06-01 20:18:10 +02:00
|
|
|
{
|
|
|
|
"type": "then",
|
|
|
|
"named": false
|
|
|
|
},
|
2022-06-01 19:54:09 +02:00
|
|
|
{
|
|
|
|
"type": "{",
|
|
|
|
"named": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "}",
|
|
|
|
"named": false
|
2022-06-01 16:23:43 +02:00
|
|
|
}
|
|
|
|
]
|