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

241 lines
4.4 KiB
JSON
Raw Normal View History

[
2022-06-01 19:34:31 +02:00
{
"type": "binary_expression",
"named": true,
"fields": {
"left": {
"multiple": false,
"required": true,
"types": [
{
"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": [
{
"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": [
{
"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: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": [
{
"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:33:42 +02:00
{
"type": "escape_sequence",
"named": true
},
{
"type": "integer_literal",
"named": true
},
{
"type": "nil_literal",
"named": true
2022-06-01 19:34:31 +02:00
},
{
"type": "operator",
"named": true
}
]