diff options
Diffstat (limited to 'runtime/queries/pascal/locals.scm')
| -rw-r--r-- | runtime/queries/pascal/locals.scm | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/runtime/queries/pascal/locals.scm b/runtime/queries/pascal/locals.scm new file mode 100644 index 000000000..d74d54ad4 --- /dev/null +++ b/runtime/queries/pascal/locals.scm @@ -0,0 +1,54 @@ +(root) @local.scope + +(defProc) @local.scope + +(lambda) @local.scope + +(interface + (declProc) @local.scope) + +(declSection + (declProc) @local.scope) + +(declClass + (declProc) @local.scope) + +(declHelper + (declProc) @local.scope) + +(declProcRef) @local.scope + +(exceptionHandler) @local.scope + +(exceptionHandler + variable: (identifier) @local.definition) + +(declArg + name: (identifier) @local.definition) + +(declVar + name: (identifier) @local.definition) + +(declConst + name: (identifier) @local.definition) + +(declLabel + name: (identifier) @local.definition) + +(genericArg + name: (identifier) @local.definition) + +(declEnumValue + name: (identifier) @local.definition) + +(declType + name: (identifier) @local.definition) + +(declType + name: (genericTpl + entity: (identifier) @local.definition)) + +(declProc + name: (identifier) @local.definition) + +(identifier) @local.reference |
