Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/ponylang/locals.scm')
| -rw-r--r-- | runtime/queries/ponylang/locals.scm | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/runtime/queries/ponylang/locals.scm b/runtime/queries/ponylang/locals.scm deleted file mode 100644 index bf6a5ed2..00000000 --- a/runtime/queries/ponylang/locals.scm +++ /dev/null @@ -1,33 +0,0 @@ -[ - (entity) - (method) - (behavior) - (constructor) - ("if") - (elseif) - (ifdef) - (elseifdef) - (iftype) - (elseiftype) - (match) - (match_case) - ("while") - ("repeat") - ("for") - (lambda) - (try_block) - (with) -] @local.scope -(match else_block: (block) @local.scope) -(try_block else_block: (block) @local.scope) -(try_block then_block: (block) @local.scope) -(with else_block: (block) @local.scope) - -(param name: (identifier) @local.definition.variable.parameter) -(lambdaparam name: (identifier) @local.definition.variable.parameter) - -; only lower case identifiers are references -( - (identifier) @local.reference - (#match? @local.reference "^[a-z_][a-zA-Z_]*") -) |