feat!: drop modules, general refactor and cleanup

This commit is contained in:
Christian Clason 2023-06-12 09:54:30 -06:00
parent c13e28f894
commit 2c8f2f2fad
829 changed files with 4905 additions and 8010 deletions

View file

@ -0,0 +1,60 @@
[
"enum"
"extern"
"grammar"
"match"
"type"
"pub"
] @keyword
[
"match"
"else"
] @conditional
[
"+"
"*"
"?"
; TODO: inaccessible node
; =>
"=>@L"
"=>@R"
] @operator
(grammar_type_params
["<" ">"] @punctuation.bracket)
(symbol
["<" ">"] @punctuation.bracket)
(binding_symbol
["<" ">"] @punctuation.bracket)
(binding_symbol
name: (identifier) @parameter)
(bare_symbol
(macro
((macro_id) @type.definition)))
(bare_symbol
(identifier) @type.definition)
(nonterminal_name
(macro_id) @type.definition)
(nonterminal_name
(identifier) @type.definition)
(nonterminal
(type_ref) @type.builtin)
["(" ")" "[" "]"] @punctuation.bracket
[";" ":"] @punctuation.delimiter
(lifetime (identifier) @storageclass)
(string_literal) @string
(regex_literal) @string