feat(supercollider)!: update parser and queries

parser PR: https://github.com/madskjeldgaard/tree-sitter-supercollider/pull/67

removed nodes:
control_structure, if, while, for, forby, method_call,
method_name, instance_variable_setter_call, argument_calls

added nodes:
class_def_body, !==, ===

modified nodes:
function_call now has fields receiver, name and arguments
chained method calls now appear as nested function_calls (where receiver
is another function_call)
This commit is contained in:
elgiano 2026-02-20 15:38:13 +01:00 committed by Christian Clason
parent 972f378653
commit 544320a9cf
6 changed files with 73 additions and 29 deletions

View file

@ -12,21 +12,30 @@
(variable_definition)
(variable_definition_sequence
(variable_definition))
(control_structure)
(return_statement)
] @indent.begin
[
(parameter_call_list
(argument_calls))
"("
(_))
")"
"{"
"}"
"["
"]"
] @indent.branch
; for auto-indent while typing
(ERROR
"{") @indent.begin
(ERROR
"}") @indent.branch
(ERROR
"[") @indent.begin
(ERROR
"]") @indent.branch
[
(block_comment)
(line_comment)