summaryrefslogtreecommitdiff
path: root/runtime/queries/groovy/locals.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/groovy/locals.scm')
-rw-r--r--runtime/queries/groovy/locals.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/queries/groovy/locals.scm b/runtime/queries/groovy/locals.scm
new file mode 100644
index 00000000..380c4ad6
--- /dev/null
+++ b/runtime/queries/groovy/locals.scm
@@ -0,0 +1,6 @@
+(function_definition) @local.scope
+
+(parameter
+ name: (identifier) @local.definition)
+
+(identifier) @local.reference