1
0
dust/tree-sitter-dust/src/node-types.json

1062 lines
16 KiB
JSON
Raw Normal View History

[
{
"type": "assignment",
"named": true,
"fields": {},
"children": {
"multiple": true,
"required": true,
"types": [
{
"type": "assignment_operator",
"named": true
},
{
"type": "identifier",
"named": true
},
{
"type": "statement",
"named": true
}
]
}
},
2023-10-31 13:31:10 +00:00
{
"type": "assignment_operator",
"named": true,
"fields": {}
},
{
"type": "block",
"named": true,
"fields": {},
"children": {
"multiple": true,
"required": true,
"types": [
{
"type": "statement",
"named": true
}
]
}
},
{
"type": "boolean",
"named": true,
"fields": {}
},
2023-10-31 17:04:22 +00:00
{
"type": "built_in_function",
"named": true,
2023-10-31 19:21:13 +00:00
"fields": {},
"children": {
"multiple": true,
"required": false,
"types": [
{
"type": "expression",
"named": true
}
]
}
2023-10-31 17:04:22 +00:00
},
{
"type": "else",
"named": true,
"fields": {},
"children": {
"multiple": false,
"required": true,
"types": [
{
2023-10-31 13:31:10 +00:00
"type": "block",
"named": true
}
]
}
},
{
"type": "else_if",
"named": true,
"fields": {},
"children": {
"multiple": true,
"required": true,
"types": [
{
2023-10-31 13:31:10 +00:00
"type": "block",
"named": true
},
{
2023-10-31 13:31:10 +00:00
"type": "expression",
"named": true
}
]
}
},
{
"type": "expression",
"named": true,
"fields": {},
"children": {
"multiple": false,
"required": true,
"types": [
{
"type": "function_call",
"named": true
},
{
"type": "identifier",
"named": true
},
{
2023-10-29 23:31:06 +00:00
"type": "index",
"named": true
},
{
2023-10-29 23:31:06 +00:00
"type": "logic",
"named": true
},
2023-10-28 14:28:43 +00:00
{
2023-10-29 23:31:06 +00:00
"type": "math",
2023-10-28 14:28:43 +00:00
"named": true
},
{
"type": "value",
"named": true
}
]
}
},
{
"type": "filter",
"named": true,
2023-10-31 05:09:29 +00:00
"fields": {
"collection": {
"multiple": false,
"required": true,
"types": [
{
"type": "expression",
"named": true
}
]
},
"count": {
"multiple": false,
"required": false,
"types": [
{
"type": "expression",
"named": true
}
]
},
2023-11-04 10:02:27 +00:00
"item_id": {
2023-10-31 05:09:29 +00:00
"multiple": false,
"required": true,
"types": [
{
2023-11-04 10:02:27 +00:00
"type": "identifier",
2023-10-31 05:09:29 +00:00
"named": true
}
]
},
2023-11-04 10:02:27 +00:00
"predicate": {
2023-10-31 05:09:29 +00:00
"multiple": false,
"required": true,
"types": [
{
2023-11-04 10:02:27 +00:00
"type": "block",
2023-10-31 05:09:29 +00:00
"named": true
}
]
}
}
},
2023-10-18 22:18:41 +00:00
{
"type": "find",
"named": true,
"fields": {},
"children": {
"multiple": true,
"required": true,
"types": [
{
2023-10-31 13:31:10 +00:00
"type": "block",
2023-10-18 22:18:41 +00:00
"named": true
},
{
2023-10-31 13:31:10 +00:00
"type": "expression",
2023-10-18 22:18:41 +00:00
"named": true
},
{
2023-10-31 13:31:10 +00:00
"type": "identifier",
2023-10-18 22:18:41 +00:00
"named": true
}
]
}
},
{
"type": "for",
"named": true,
"fields": {},
"children": {
"multiple": true,
"required": true,
"types": [
{
2023-10-31 13:31:10 +00:00
"type": "block",
"named": true
},
{
2023-10-31 13:31:10 +00:00
"type": "expression",
"named": true
},
{
2023-10-31 13:31:10 +00:00
"type": "identifier",
"named": true
}
]
}
},
{
"type": "function",
"named": true,
2023-10-31 22:18:39 +00:00
"fields": {
"body": {
"multiple": false,
"required": true,
"types": [
{
"type": "block",
"named": true
}
]
},
"parameters": {
"multiple": false,
"required": false,
"types": [
{
"type": "identifier_list",
"named": true
}
]
}
}
},
{
"type": "function_call",
"named": true,
"fields": {},
"children": {
"multiple": true,
"required": true,
"types": [
{
2023-10-31 22:18:39 +00:00
"type": "built_in_function",
"named": true
},
{
2023-10-31 22:18:39 +00:00
"type": "expression",
"named": true
},
{
"type": "identifier",
"named": true
}
]
}
},
{
2023-10-31 22:18:39 +00:00
"type": "identifier_list",
"named": true,
"fields": {},
"children": {
"multiple": true,
2023-10-31 22:18:39 +00:00
"required": false,
"types": [
{
"type": "identifier",
"named": true
}
]
}
},
{
"type": "if",
"named": true,
"fields": {},
"children": {
"multiple": true,
"required": true,
"types": [
{
2023-10-31 13:31:10 +00:00
"type": "block",
"named": true
},
{
2023-10-31 13:31:10 +00:00
"type": "expression",
"named": true
}
]
}
},
{
"type": "if_else",
"named": true,
"fields": {},
"children": {
"multiple": true,
"required": true,
"types": [
{
"type": "else",
"named": true
},
{
"type": "else_if",
"named": true
},
{
"type": "if",
"named": true
}
]
}
},
2023-10-29 23:31:06 +00:00
{
"type": "index",
"named": true,
"fields": {},
"children": {
"multiple": true,
"required": true,
"types": [
{
"type": "expression",
"named": true
}
]
}
},
{
"type": "insert",
"named": true,
"fields": {},
"children": {
"multiple": true,
"required": true,
"types": [
{
"type": "expression",
"named": true
},
{
"type": "identifier",
"named": true
}
]
}
},
{
"type": "list",
"named": true,
"fields": {},
"children": {
"multiple": true,
"required": false,
"types": [
{
"type": "expression",
"named": true
}
]
}
},
{
"type": "logic",
"named": true,
"fields": {},
"children": {
"multiple": true,
"required": true,
"types": [
{
"type": "expression",
"named": true
},
{
"type": "logic_operator",
"named": true
}
]
}
},
2023-10-31 13:31:10 +00:00
{
"type": "logic_operator",
"named": true,
"fields": {}
},
{
"type": "map",
"named": true,
"fields": {},
2023-10-31 05:09:29 +00:00
"children": {
2023-10-31 09:51:37 +00:00
"multiple": true,
"required": false,
2023-10-31 05:09:29 +00:00
"types": [
{
2023-10-31 17:04:22 +00:00
"type": "identifier",
2023-10-31 09:51:37 +00:00
"named": true
},
{
2023-10-31 17:04:22 +00:00
"type": "statement",
2023-10-31 05:09:29 +00:00
"named": true
}
]
}
},
{
"type": "match",
"named": true,
"fields": {},
"children": {
"multiple": true,
2023-10-31 05:09:29 +00:00
"required": true,
"types": [
{
2023-10-31 13:31:10 +00:00
"type": "block",
"named": true
},
{
2023-10-31 13:31:10 +00:00
"type": "expression",
"named": true
}
]
}
},
{
"type": "math",
"named": true,
"fields": {},
"children": {
"multiple": true,
"required": true,
"types": [
{
"type": "expression",
"named": true
},
{
"type": "math_operator",
"named": true
}
]
}
},
2023-10-31 13:31:10 +00:00
{
"type": "math_operator",
"named": true,
"fields": {}
},
2023-10-31 05:09:29 +00:00
{
"type": "reduce",
"named": true,
"fields": {},
"children": {
"multiple": true,
"required": true,
"types": [
{
2023-10-31 13:31:10 +00:00
"type": "block",
2023-10-31 05:09:29 +00:00
"named": true
},
{
2023-10-31 13:31:10 +00:00
"type": "expression",
2023-10-31 05:09:29 +00:00
"named": true
},
{
2023-10-31 13:31:10 +00:00
"type": "identifier",
2023-10-31 05:09:29 +00:00
"named": true
}
]
}
},
2023-10-19 01:50:45 +00:00
{
"type": "remove",
"named": true,
"fields": {},
"children": {
"multiple": true,
"required": true,
"types": [
{
2023-10-31 13:31:10 +00:00
"type": "block",
2023-10-19 01:50:45 +00:00
"named": true
},
{
2023-10-31 13:31:10 +00:00
"type": "expression",
2023-10-19 01:50:45 +00:00
"named": true
},
{
2023-10-31 13:31:10 +00:00
"type": "identifier",
2023-10-19 01:50:45 +00:00
"named": true
}
]
}
},
{
"type": "root",
"named": true,
"fields": {},
"children": {
"multiple": true,
"required": true,
"types": [
{
2023-11-11 01:44:03 +00:00
"type": "statement",
"named": true
}
]
}
},
{
"type": "select",
"named": true,
"fields": {},
"children": {
"multiple": true,
"required": true,
"types": [
{
2023-10-31 13:31:10 +00:00
"type": "block",
"named": true
},
{
2023-10-31 13:31:10 +00:00
"type": "expression",
"named": true
2023-10-21 17:04:17 +00:00
},
{
2023-10-31 22:18:39 +00:00
"type": "identifier_list",
2023-10-21 17:04:17 +00:00
"named": true
}
]
}
},
{
"type": "statement",
"named": true,
"fields": {},
"children": {
2023-10-31 13:31:10 +00:00
"multiple": false,
"required": true,
"types": [
{
"type": "assignment",
"named": true
},
2023-11-11 01:44:03 +00:00
{
"type": "block",
"named": true
},
{
"type": "expression",
"named": true
},
{
"type": "filter",
"named": true
},
2023-10-18 22:18:41 +00:00
{
"type": "find",
"named": true
},
{
"type": "for",
"named": true
},
{
"type": "if_else",
"named": true
},
{
"type": "insert",
"named": true
},
2023-10-31 05:09:29 +00:00
{
"type": "match",
"named": true
},
{
"type": "reduce",
"named": true
},
2023-10-19 01:50:45 +00:00
{
"type": "remove",
"named": true
},
{
"type": "select",
"named": true
},
{
"type": "transform",
"named": true
},
{
"type": "while",
"named": true
}
]
}
},
{
"type": "table",
"named": true,
"fields": {},
"children": {
"multiple": true,
"required": true,
"types": [
{
"type": "expression",
"named": true
},
{
2023-10-31 22:18:39 +00:00
"type": "identifier_list",
"named": true
}
]
}
},
{
"type": "transform",
"named": true,
"fields": {},
"children": {
"multiple": true,
"required": true,
"types": [
{
2023-10-31 13:31:10 +00:00
"type": "block",
"named": true
},
{
2023-10-31 13:31:10 +00:00
"type": "expression",
"named": true
},
{
2023-10-31 13:31:10 +00:00
"type": "identifier",
"named": true
}
]
}
},
{
"type": "value",
"named": true,
"fields": {},
"children": {
"multiple": false,
"required": true,
"types": [
{
"type": "boolean",
"named": true
},
{
"type": "float",
"named": true
},
{
"type": "function",
"named": true
},
{
"type": "integer",
"named": true
},
{
"type": "list",
"named": true
},
{
"type": "map",
"named": true
},
{
"type": "string",
"named": true
},
{
"type": "table",
"named": true
}
]
}
},
{
"type": "while",
"named": true,
"fields": {},
"children": {
"multiple": true,
"required": true,
"types": [
{
2023-10-31 13:31:10 +00:00
"type": "block",
"named": true
},
{
2023-10-31 13:31:10 +00:00
"type": "expression",
"named": true
}
]
}
},
2023-10-31 13:31:10 +00:00
{
"type": "!=",
"named": false
},
{
"type": "%",
"named": false
},
{
"type": "&&",
"named": false
},
{
"type": "(",
"named": false
},
{
"type": ")",
"named": false
},
2023-10-31 13:31:10 +00:00
{
"type": "*",
"named": false
},
{
"type": "+",
"named": false
},
{
"type": "+=",
"named": false
},
{
"type": ",",
"named": false
},
2023-10-31 13:31:10 +00:00
{
"type": "-",
"named": false
},
{
"type": "-=",
"named": false
},
2023-10-28 14:28:43 +00:00
{
"type": "..",
"named": false
},
2023-10-31 13:31:10 +00:00
{
"type": "/",
"named": false
},
{
"type": ":",
"named": false
},
2023-10-31 20:25:13 +00:00
{
"type": ";",
"named": false
},
{
"type": "<",
"named": false
},
2023-10-31 13:31:10 +00:00
{
"type": "<=",
"named": false
},
{
"type": "=",
"named": false
},
2023-10-31 13:31:10 +00:00
{
"type": "==",
"named": false
},
2023-10-31 05:09:29 +00:00
{
"type": "=>",
"named": false
},
{
"type": ">",
"named": false
},
2023-10-31 13:31:10 +00:00
{
"type": ">=",
"named": false
},
{
"type": "[",
"named": false
},
{
"type": "]",
"named": false
},
2023-10-21 20:38:20 +00:00
{
"type": "append",
"named": false
},
{
"type": "assert",
"named": false
},
2023-10-21 17:19:01 +00:00
{
"type": "assert_equal",
"named": false
},
{
"type": "async",
"named": false
},
2023-10-21 20:38:20 +00:00
{
2023-11-04 10:02:27 +00:00
"type": "async for",
2023-10-21 20:38:20 +00:00
"named": false
},
2023-10-22 20:32:55 +00:00
{
2023-11-04 10:02:27 +00:00
"type": "bash",
2023-10-22 20:32:55 +00:00
"named": false
},
2023-10-31 07:17:58 +00:00
{
2023-11-04 10:02:27 +00:00
"type": "columns",
"named": false
2023-10-31 07:17:58 +00:00
},
2023-11-10 21:24:19 +00:00
{
"type": "context",
"named": false
},
2023-10-22 20:50:09 +00:00
{
"type": "download",
"named": false
},
{
"type": "else",
"named": false
},
{
"type": "else if",
"named": false
},
{
"type": "false",
"named": false
},
{
"type": "filter",
"named": false
},
2023-10-18 22:18:41 +00:00
{
"type": "find",
"named": false
},
2023-10-21 20:38:20 +00:00
{
"type": "fish",
"named": false
},
2023-10-31 19:21:13 +00:00
{
"type": "float",
"named": true
},
{
"type": "for",
"named": false
},
{
"type": "from",
"named": false
},
2023-10-21 20:38:20 +00:00
{
"type": "from_json",
"named": false
},
{
"type": "help",
"named": false
},
{
"type": "identifier",
"named": true
},
{
"type": "if",
"named": false
},
{
"type": "in",
"named": false
},
{
"type": "insert",
"named": false
},
2023-10-31 19:21:13 +00:00
{
"type": "integer",
"named": true
},
{
"type": "into",
"named": false
},
2023-10-21 17:19:01 +00:00
{
"type": "length",
"named": false
},
2023-10-31 05:09:29 +00:00
{
"type": "match",
"named": false
},
2023-10-21 20:38:20 +00:00
{
"type": "metadata",
"named": false
},
{
"type": "move",
"named": false
},
2023-10-21 17:19:01 +00:00
{
"type": "output",
"named": false
},
{
"type": "output_error",
"named": false
},
2023-10-22 18:48:34 +00:00
{
"type": "random",
"named": false
},
{
"type": "random_boolean",
"named": false
},
{
"type": "random_float",
"named": false
},
{
"type": "random_integer",
"named": false
},
2023-10-21 20:38:20 +00:00
{
"type": "raw",
"named": false
},
2023-10-21 17:19:01 +00:00
{
"type": "read",
"named": false
},
2023-10-31 05:09:29 +00:00
{
"type": "reduce",
"named": false
},
2023-10-19 01:50:45 +00:00
{
"type": "remove",
"named": false
},
2023-10-28 14:28:43 +00:00
{
"type": "reverse",
"named": false
},
2023-10-22 20:32:55 +00:00
{
"type": "rows",
"named": false
},
{
"type": "select",
"named": false
},
2023-10-21 20:38:20 +00:00
{
"type": "sh",
"named": false
},
{
"type": "string",
"named": true
},
{
"type": "table",
"named": false
},
2023-10-31 05:09:29 +00:00
{
"type": "to",
"named": false
},
2023-10-28 14:28:43 +00:00
{
"type": "to_float",
"named": false
},
2023-10-21 20:38:20 +00:00
{
"type": "to_json",
"named": false
},
{
"type": "to_string",
"named": false
},
{
"type": "transform",
"named": false
},
{
"type": "true",
"named": false
},
2023-10-22 18:27:18 +00:00
{
"type": "type",
"named": false
},
{
"type": "while",
"named": false
},
2023-10-22 20:41:37 +00:00
{
"type": "workdir",
"named": false
},
2023-10-21 17:19:01 +00:00
{
"type": "write",
"named": false
},
2023-10-21 20:38:20 +00:00
{
"type": "zsh",
"named": false
},
{
"type": "{",
"named": false
},
2023-10-31 22:18:39 +00:00
{
"type": "|",
"named": false
},
2023-10-31 13:31:10 +00:00
{
"type": "||",
"named": false
},
{
"type": "}",
"named": false
}
]