tree-sitter-tiger/src/node-types.json

361 lines
6.7 KiB
JSON
Raw Normal View History

[
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
},
{
"type": "binary_expression",
"named": true
},
{
"type": "integer_literal",
"named": true
},
{
"type": "nil_literal",
"named": true
},
{
"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
},
{
"type": "binary_expression",
"named": true
},
{
"type": "integer_literal",
"named": true
},
{
"type": "nil_literal",
"named": true
},
{
"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 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 19:34:31 +02:00
{
"type": "binary_expression",
"named": true
},
{
"type": "integer_literal",
"named": true
},
{
"type": "nil_literal",
"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 19:34:31 +02:00
{
"type": "binary_expression",
"named": true
},
{
"type": "integer_literal",
"named": true
},
{
"type": "nil_literal",
"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
}
]
}
}
},
{
"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 19:34:31 +02:00
{
"type": "binary_expression",
"named": true
},
{
"type": "integer_literal",
"named": true
},
{
"type": "nil_literal",
"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
}
]
}
},
{
"type": "source_file",
"named": true,
2022-06-01 19:33:42 +02:00
"fields": {},
"children": {
"multiple": false,
"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 19:34:31 +02:00
{
"type": "binary_expression",
"named": true
},
2022-06-01 19:33:42 +02:00
{
"type": "integer_literal",
"named": true
},
{
"type": "nil_literal",
"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 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 19:34:31 +02:00
{
"type": "binary_expression",
"named": true
},
{
"type": "integer_literal",
"named": true
},
{
"type": "nil_literal",
"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
},
{
"type": ";",
"named": false
},
2022-06-01 19:48:54 +02:00
{
"type": "[",
"named": false
},
{
"type": "]",
"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 19:33:42 +02:00
{
"type": "integer_literal",
"named": true
},
{
"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
}
]