[ { "type": "assignment", "named": true, "fields": { "assignment_operator": { "multiple": false, "required": true, "types": [ { "type": "assignment_operator", "named": true } ] }, "identifier": { "multiple": false, "required": true, "types": [ { "type": "identifier", "named": true } ] }, "statement": { "multiple": false, "required": true, "types": [ { "type": "statement", "named": true } ] }, "type": { "multiple": false, "required": false, "types": [ { "type": "type", "named": true } ] } } }, { "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": {} }, { "type": "built_in_function", "named": true, "fields": {}, "children": { "multiple": true, "required": false, "types": [ { "type": "expression", "named": true } ] } }, { "type": "else", "named": true, "fields": {}, "children": { "multiple": false, "required": true, "types": [ { "type": "block", "named": true } ] } }, { "type": "else_if", "named": true, "fields": {}, "children": { "multiple": true, "required": true, "types": [ { "type": "block", "named": true }, { "type": "expression", "named": true } ] } }, { "type": "expression", "named": true, "fields": {}, "children": { "multiple": false, "required": true, "types": [ { "type": "function_call", "named": true }, { "type": "identifier", "named": true }, { "type": "index", "named": true }, { "type": "logic", "named": true }, { "type": "math", "named": true }, { "type": "value", "named": true }, { "type": "yield", "named": true } ] } }, { "type": "for", "named": true, "fields": {}, "children": { "multiple": true, "required": true, "types": [ { "type": "block", "named": true }, { "type": "expression", "named": true }, { "type": "identifier", "named": true } ] } }, { "type": "function", "named": true, "fields": { "body": { "multiple": false, "required": true, "types": [ { "type": "block", "named": true } ] }, "parameter": { "multiple": true, "required": false, "types": [ { "type": ",", "named": false }, { "type": "identifier", "named": true }, { "type": "type", "named": true } ] } } }, { "type": "function_call", "named": true, "fields": {}, "children": { "multiple": true, "required": true, "types": [ { "type": "built_in_function", "named": true }, { "type": "expression", "named": true } ] } }, { "type": "identifier_list", "named": true, "fields": {}, "children": { "multiple": true, "required": false, "types": [ { "type": "identifier", "named": true } ] } }, { "type": "if", "named": true, "fields": {}, "children": { "multiple": true, "required": true, "types": [ { "type": "block", "named": true }, { "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 } ] } }, { "type": "index", "named": true, "fields": {}, "children": { "multiple": true, "required": true, "types": [ { "type": "expression", "named": true } ] } }, { "type": "index_assignment", "named": true, "fields": {}, "children": { "multiple": true, "required": true, "types": [ { "type": "assignment_operator", "named": true }, { "type": "index", "named": true }, { "type": "statement", "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 } ] } }, { "type": "logic_operator", "named": true, "fields": {} }, { "type": "map", "named": true, "fields": {}, "children": { "multiple": true, "required": false, "types": [ { "type": "identifier", "named": true }, { "type": "statement", "named": true } ] } }, { "type": "match", "named": true, "fields": {}, "children": { "multiple": true, "required": true, "types": [ { "type": "block", "named": true }, { "type": "expression", "named": true } ] } }, { "type": "math", "named": true, "fields": {}, "children": { "multiple": true, "required": true, "types": [ { "type": "expression", "named": true }, { "type": "math_operator", "named": true } ] } }, { "type": "math_operator", "named": true, "fields": {} }, { "type": "return", "named": true, "fields": {}, "children": { "multiple": false, "required": true, "types": [ { "type": "expression", "named": true } ] } }, { "type": "root", "named": true, "fields": {}, "children": { "multiple": true, "required": true, "types": [ { "type": "statement", "named": true } ] } }, { "type": "select", "named": true, "fields": {}, "children": { "multiple": true, "required": true, "types": [ { "type": "block", "named": true }, { "type": "expression", "named": true }, { "type": "identifier_list", "named": true } ] } }, { "type": "statement", "named": true, "fields": {}, "children": { "multiple": false, "required": true, "types": [ { "type": "assignment", "named": true }, { "type": "block", "named": true }, { "type": "expression", "named": true }, { "type": "for", "named": true }, { "type": "if_else", "named": true }, { "type": "index_assignment", "named": true }, { "type": "insert", "named": true }, { "type": "match", "named": true }, { "type": "return", "named": true }, { "type": "select", "named": true }, { "type": "use", "named": true }, { "type": "while", "named": true } ] } }, { "type": "table", "named": true, "fields": {}, "children": { "multiple": true, "required": true, "types": [ { "type": "expression", "named": true }, { "type": "identifier_list", "named": true } ] } }, { "type": "type", "named": true, "fields": {} }, { "type": "use", "named": true, "fields": {}, "children": { "multiple": false, "required": true, "types": [ { "type": "string", "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": [ { "type": "block", "named": true }, { "type": "expression", "named": true } ] } }, { "type": "yield", "named": true, "fields": {}, "children": { "multiple": true, "required": true, "types": [ { "type": "built_in_function", "named": true }, { "type": "expression", "named": true } ] } }, { "type": "!=", "named": false }, { "type": "%", "named": false }, { "type": "&&", "named": false }, { "type": "(", "named": false }, { "type": ")", "named": false }, { "type": "*", "named": false }, { "type": "+", "named": false }, { "type": "+=", "named": false }, { "type": ",", "named": false }, { "type": "-", "named": false }, { "type": "-=", "named": false }, { "type": "->", "named": false }, { "type": "..", "named": false }, { "type": "/", "named": false }, { "type": ":", "named": false }, { "type": ";", "named": false }, { "type": "<", "named": false }, { "type": "<=", "named": false }, { "type": "=", "named": false }, { "type": "==", "named": false }, { "type": "=>", "named": false }, { "type": ">", "named": false }, { "type": ">=", "named": false }, { "type": "[", "named": false }, { "type": "]", "named": false }, { "type": "any", "named": false }, { "type": "append", "named": false }, { "type": "assert", "named": false }, { "type": "assert_equal", "named": false }, { "type": "async", "named": false }, { "type": "async for", "named": false }, { "type": "bash", "named": false }, { "type": "bool", "named": false }, { "type": "columns", "named": false }, { "type": "context", "named": false }, { "type": "download", "named": false }, { "type": "else", "named": false }, { "type": "else if", "named": false }, { "type": "false", "named": false }, { "type": "fish", "named": false }, { "type": "float", "named": true }, { "type": "fn", "named": false }, { "type": "for", "named": false }, { "type": "from", "named": false }, { "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 }, { "type": "int", "named": false }, { "type": "integer", "named": true }, { "type": "into", "named": false }, { "type": "length", "named": false }, { "type": "list", "named": false }, { "type": "map", "named": false }, { "type": "match", "named": false }, { "type": "metadata", "named": false }, { "type": "move", "named": false }, { "type": "output", "named": false }, { "type": "output_error", "named": false }, { "type": "random", "named": false }, { "type": "random_boolean", "named": false }, { "type": "random_float", "named": false }, { "type": "random_integer", "named": false }, { "type": "raw", "named": false }, { "type": "read", "named": false }, { "type": "return", "named": false }, { "type": "reverse", "named": false }, { "type": "rows", "named": false }, { "type": "select", "named": false }, { "type": "sh", "named": false }, { "type": "str", "named": false }, { "type": "string", "named": true }, { "type": "table", "named": false }, { "type": "to_float", "named": false }, { "type": "to_json", "named": false }, { "type": "to_string", "named": false }, { "type": "true", "named": false }, { "type": "type", "named": false }, { "type": "use", "named": false }, { "type": "while", "named": false }, { "type": "workdir", "named": false }, { "type": "write", "named": false }, { "type": "zsh", "named": false }, { "type": "{", "named": false }, { "type": "|", "named": false }, { "type": "||", "named": false }, { "type": "}", "named": false } ]