feat!: drop modules, general refactor and cleanup

This commit is contained in:
Christian Clason 2023-06-12 09:54:30 -06:00
parent 310f0925ec
commit 692b051b09
1247 changed files with 6096 additions and 9074 deletions

View file

@ -0,0 +1,51 @@
; Scopes
[
(class)
(multiclass)
(def)
(defm)
(defset)
(defvar)
(foreach)
(if)
(let)
] @local.scope
; References
[
(var)
(identifier)
] @local.reference
; Definitions
(instruction
(identifier) @local.definition.field)
(let_instruction
(identifier) @local.definition.field)
(include_directive
(string) @local.definition.import)
(template_arg
(identifier) @local.definition.parameter)
(class
name: (identifier) @local.definition.type)
(multiclass
name: (identifier) @local.definition.type)
(def
name: (value
(_) @local.definition.type))
(defm
name: (value
(_) @local.definition.type))
(defset
name: (identifier) @local.definition.type)
(def_var
name: (identifier) @local.definition.var)