diff options
Diffstat (limited to 'runtime/queries/solidity/locals.scm')
-rw-r--r-- | runtime/queries/solidity/locals.scm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/runtime/queries/solidity/locals.scm b/runtime/queries/solidity/locals.scm new file mode 100644 index 00000000..29bdc02c --- /dev/null +++ b/runtime/queries/solidity/locals.scm @@ -0,0 +1,9 @@ +(function_definition) @local.scope +(block_statement) @local.scope + +(function_definition (parameter name: (identifier) @local.definition)) + +; still have to support tuple assignments +(assignment_expression left: (identifier) @local.definition) + +(identifier) @local.reference
\ No newline at end of file |