[ { "type": "_statement", "named": true, "subtypes": [ { "type": "command", "named": true }, { "type": "compute", "named": true }, { "type": "fix", "named": true }, { "type": "shell", "named": true }, { "type": "variable_def", "named": true }, { "type": "variable_del", "named": true } ] }, { "type": "args_under", "named": true, "fields": { "arg": { "multiple": true, "required": true, "types": [ { "type": "bool", "named": true }, { "type": "concatenation", "named": true }, { "type": "float", "named": true }, { "type": "indexed_ident", "named": true }, { "type": "int", "named": true }, { "type": "simple_expansion", "named": true }, { "type": "string", "named": true }, { "type": "underscore_ident", "named": true }, { "type": "var_curly", "named": true }, { "type": "var_round", "named": true }, { "type": "word", "named": true } ] } } }, { "type": "binary_func", "named": true, "fields": { "args": { "multiple": true, "required": true, "types": [ { "type": "(", "named": false }, { "type": ")", "named": false }, { "type": ",", "named": false }, { "type": "expression", "named": true } ] }, "function": { "multiple": false, "required": true, "types": [ { "type": "identifier", "named": true } ] } } }, { "type": "binary_op", "named": true, "fields": { "left": { "multiple": false, "required": true, "types": [ { "type": "expression", "named": true } ] }, "operator": { "multiple": false, "required": true, "types": [ { "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 } ] }, "right": { "multiple": false, "required": true, "types": [ { "type": "expression", "named": true } ] } } }, { "type": "bool", "named": true, "fields": {}, "children": { "multiple": false, "required": true, "types": [ { "type": "false", "named": true }, { "type": "true", "named": true } ] } }, { "type": "command", "named": true, "fields": {}, "children": { "multiple": true, "required": true, "types": [ { "type": "args_under", "named": true }, { "type": "command_name", "named": true } ] } }, { "type": "command_name", "named": true, "fields": {} }, { "type": "compute", "named": true, "fields": { "arguments": { "multiple": false, "required": false, "types": [ { "type": "args_under", "named": true } ] }, "compute_id": { "multiple": false, "required": true, "types": [ { "type": "compute_id", "named": true } ] }, "group": { "multiple": false, "required": true, "types": [ { "type": "group_id", "named": true } ] }, "style": { "multiple": false, "required": true, "types": [ { "type": "compute_style", "named": true } ] } } }, { "type": "compute_id", "named": true, "fields": {}, "children": { "multiple": false, "required": true, "types": [ { "type": "identifier", "named": true } ] } }, { "type": "compute_style", "named": true, "fields": {} }, { "type": "concatenation", "named": true, "fields": {}, "children": { "multiple": true, "required": true, "types": [ { "type": "simple_expansion", "named": true }, { "type": "string", "named": true }, { "type": "var_curly", "named": true }, { "type": "var_round", "named": true }, { "type": "word", "named": true } ] } }, { "type": "expression", "named": true, "fields": {}, "children": { "multiple": false, "required": true, "types": [ { "type": "atom_property", "named": true }, { "type": "binary_func", "named": true }, { "type": "binary_op", "named": true }, { "type": "bool", "named": true }, { "type": "constant", "named": true }, { "type": "float", "named": true }, { "type": "group_func", "named": true }, { "type": "hexnary_func", "named": true }, { "type": "indexing", "named": true }, { "type": "int", "named": true }, { "type": "other_func", "named": true }, { "type": "parens", "named": true }, { "type": "region_func", "named": true }, { "type": "ternary_func", "named": true }, { "type": "thermo_kwarg", "named": true }, { "type": "unary_func", "named": true }, { "type": "unary_op", "named": true }, { "type": "underscore_ident", "named": true }, { "type": "var_curly", "named": true }, { "type": "var_round", "named": true } ] } }, { "type": "fix", "named": true, "fields": { "arguments": { "multiple": false, "required": false, "types": [ { "type": "args_under", "named": true } ] }, "fix_id": { "multiple": false, "required": true, "types": [ { "type": "fix_id", "named": true } ] }, "group": { "multiple": false, "required": true, "types": [ { "type": "group_id", "named": true } ] }, "style": { "multiple": false, "required": true, "types": [ { "type": "fix_style", "named": true } ] } } }, { "type": "fix_id", "named": true, "fields": {}, "children": { "multiple": false, "required": true, "types": [ { "type": "identifier", "named": true } ] } }, { "type": "fix_style", "named": true, "fields": {} }, { "type": "glob", "named": true, "fields": {} }, { "type": "group_func", "named": true, "fields": { "args": { "multiple": true, "required": true, "types": [ { "type": "(", "named": false }, { "type": ")", "named": false }, { "type": "group_id", "named": true } ] }, "function": { "multiple": false, "required": true, "types": [ { "type": "identifier", "named": true } ] }, "other_args": { "multiple": true, "required": false, "types": [ { "type": ",", "named": false }, { "type": "expression", "named": true } ] } } }, { "type": "group_id", "named": true, "fields": {}, "children": { "multiple": false, "required": true, "types": [ { "type": "identifier", "named": true } ] } }, { "type": "hexnary_func", "named": true, "fields": { "args": { "multiple": true, "required": true, "types": [ { "type": "(", "named": false }, { "type": ")", "named": false }, { "type": ",", "named": false }, { "type": "expression", "named": true } ] }, "function": { "multiple": false, "required": true, "types": [ { "type": "identifier", "named": true } ] } } }, { "type": "identifier", "named": true, "fields": {} }, { "type": "indexed_ident", "named": true, "fields": { "ident": { "multiple": false, "required": true, "types": [ { "type": "indexed_ident", "named": true }, { "type": "underscore_ident", "named": true } ] } }, "children": { "multiple": false, "required": true, "types": [ { "type": "glob", "named": true }, { "type": "int", "named": true } ] } }, { "type": "indexing", "named": true, "fields": { "index": { "multiple": false, "required": true, "types": [ { "type": "glob", "named": true }, { "type": "int", "named": true } ] }, "value": { "multiple": false, "required": true, "types": [ { "type": "expression", "named": true } ] } } }, { "type": "input_script", "named": true, "fields": {}, "children": { "multiple": true, "required": false, "types": [ { "type": "_statement", "named": true } ] } }, { "type": "other_func", "named": true, "fields": { "args": { "multiple": true, "required": true, "types": [ { "type": "(", "named": false }, { "type": ")", "named": false }, { "type": ",", "named": false }, { "type": "expression", "named": true }, { "type": "identifier", "named": true } ] }, "function": { "multiple": false, "required": true, "types": [ { "type": "identifier", "named": true } ] } } }, { "type": "parens", "named": true, "fields": {}, "children": { "multiple": false, "required": true, "types": [ { "type": "expression", "named": true } ] } }, { "type": "quoted_expression", "named": true, "fields": {}, "children": { "multiple": false, "required": true, "types": [ { "type": "expression", "named": true } ] } }, { "type": "region_func", "named": true, "fields": { "args": { "multiple": true, "required": true, "types": [ { "type": "(", "named": false }, { "type": ")", "named": false }, { "type": ",", "named": false }, { "type": "group_id", "named": true } ] }, "function": { "multiple": false, "required": true, "types": [ { "type": "identifier", "named": true } ] }, "other_args": { "multiple": true, "required": false, "types": [ { "type": ",", "named": false }, { "type": "expression", "named": true } ] }, "region_id": { "multiple": false, "required": true, "types": [ { "type": "identifier", "named": true } ] } } }, { "type": "shell", "named": true, "fields": {} }, { "type": "simple_expansion", "named": true, "fields": {}, "children": { "multiple": false, "required": true, "types": [ { "type": "variable", "named": true } ] } }, { "type": "string", "named": true, "fields": {}, "children": { "multiple": true, "required": false, "types": [ { "type": "string_content", "named": true }, { "type": "var_curly", "named": true }, { "type": "var_round", "named": true } ] } }, { "type": "ternary_func", "named": true, "fields": { "args": { "multiple": true, "required": true, "types": [ { "type": "(", "named": false }, { "type": ")", "named": false }, { "type": ",", "named": false }, { "type": "expression", "named": true } ] }, "function": { "multiple": false, "required": true, "types": [ { "type": "identifier", "named": true } ] } } }, { "type": "unary_func", "named": true, "fields": { "args": { "multiple": true, "required": true, "types": [ { "type": "(", "named": false }, { "type": ")", "named": false }, { "type": "expression", "named": true } ] }, "function": { "multiple": false, "required": true, "types": [ { "type": "identifier", "named": true } ] } } }, { "type": "unary_op", "named": true, "fields": {}, "children": { "multiple": false, "required": true, "types": [ { "type": "expression", "named": true } ] } }, { "type": "underscore_ident", "named": true, "fields": {}, "children": { "multiple": false, "required": true, "types": [ { "type": "compute_id", "named": true }, { "type": "fix_id", "named": true }, { "type": "variable", "named": true } ] } }, { "type": "var_curly", "named": true, "fields": {}, "children": { "multiple": false, "required": true, "types": [ { "type": "variable", "named": true } ] } }, { "type": "var_round", "named": true, "fields": {}, "children": { "multiple": false, "required": true, "types": [ { "type": "expression", "named": true } ] } }, { "type": "variable", "named": true, "fields": {} }, { "type": "variable_def", "named": true, "fields": { "args": { "multiple": true, "required": false, "types": [ { "type": "concatenation", "named": true }, { "type": "simple_expansion", "named": true }, { "type": "string", "named": true }, { "type": "var_curly", "named": true }, { "type": "var_round", "named": true }, { "type": "word", "named": true } ] }, "name": { "multiple": false, "required": true, "types": [ { "type": "variable", "named": true } ] }, "rhs": { "multiple": false, "required": false, "types": [ { "type": "expression", "named": true }, { "type": "quoted_expression", "named": true } ] }, "style": { "multiple": false, "required": true, "types": [ { "type": "variable_style", "named": true } ] } } }, { "type": "variable_del", "named": true, "fields": { "name": { "multiple": false, "required": true, "types": [ { "type": "variable", "named": true } ] }, "style": { "multiple": false, "required": true, "types": [ { "type": "variable_style", "named": true } ] } } }, { "type": "variable_style", "named": true, "fields": {} }, { "type": "\n", "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": "atom_property", "named": true }, { "type": "atomfile", "named": false }, { "type": "c_", "named": false }, { "type": "comment", "named": true }, { "type": "compute", "named": false }, { "type": "constant", "named": true }, { "type": "f_", "named": false }, { "type": "false", "named": true }, { "type": "file", "named": false }, { "type": "fix", "named": false }, { "type": "float", "named": true }, { "type": "format", "named": false }, { "type": "getenv", "named": false }, { "type": "index", "named": false }, { "type": "int", "named": true }, { "type": "internal", "named": false }, { "type": "loop", "named": false }, { "type": "python", "named": false }, { "type": "shell", "named": false }, { "type": "string", "named": false }, { "type": "string_content", "named": true }, { "type": "thermo_kwarg", "named": true }, { "type": "timer", "named": false }, { "type": "true", "named": true }, { "type": "uloop", "named": false }, { "type": "universe", "named": false }, { "type": "v_", "named": false }, { "type": "variable", "named": false }, { "type": "vector", "named": false }, { "type": "word", "named": true }, { "type": "world", "named": false }, { "type": "|^", "named": false }, { "type": "||", "named": false }, { "type": "}", "named": false } ]