|
|
@ -109,6 +109,9 @@
|
|
|
|
(comment) @comment
|
|
|
|
(comment) @comment
|
|
|
|
|
|
|
|
|
|
|
|
;; Tokens
|
|
|
|
;; Tokens
|
|
|
|
|
|
|
|
(type_argument_list ["<" ">"] @punctuation.bracket)
|
|
|
|
|
|
|
|
(type_parameter_list ["<" ">"] @punctuation.bracket)
|
|
|
|
|
|
|
|
|
|
|
|
[
|
|
|
|
[
|
|
|
|
";"
|
|
|
|
";"
|
|
|
|
"."
|
|
|
|
"."
|
|
|
@ -159,14 +162,7 @@
|
|
|
|
"??="
|
|
|
|
"??="
|
|
|
|
] @operator
|
|
|
|
] @operator
|
|
|
|
|
|
|
|
|
|
|
|
[
|
|
|
|
["(" ")" "[" "]" "{" "}"] @punctuation.bracket
|
|
|
|
"("
|
|
|
|
|
|
|
|
")"
|
|
|
|
|
|
|
|
"["
|
|
|
|
|
|
|
|
"]"
|
|
|
|
|
|
|
|
"{"
|
|
|
|
|
|
|
|
"}"
|
|
|
|
|
|
|
|
] @punctuation.bracket
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;; Keywords
|
|
|
|
;; Keywords
|
|
|
|
(modifier) @keyword.storage.modifier
|
|
|
|
(modifier) @keyword.storage.modifier
|
|
|
@ -175,36 +171,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
[
|
|
|
|
[
|
|
|
|
"as"
|
|
|
|
"as"
|
|
|
|
|
|
|
|
"await"
|
|
|
|
"base"
|
|
|
|
"base"
|
|
|
|
"catch"
|
|
|
|
|
|
|
|
"checked"
|
|
|
|
"checked"
|
|
|
|
"finally"
|
|
|
|
"from"
|
|
|
|
|
|
|
|
"get"
|
|
|
|
|
|
|
|
"in"
|
|
|
|
|
|
|
|
"init"
|
|
|
|
"is"
|
|
|
|
"is"
|
|
|
|
|
|
|
|
"let"
|
|
|
|
"lock"
|
|
|
|
"lock"
|
|
|
|
|
|
|
|
"new"
|
|
|
|
"operator"
|
|
|
|
"operator"
|
|
|
|
|
|
|
|
"out"
|
|
|
|
"params"
|
|
|
|
"params"
|
|
|
|
|
|
|
|
"ref"
|
|
|
|
|
|
|
|
"select"
|
|
|
|
|
|
|
|
"set"
|
|
|
|
"sizeof"
|
|
|
|
"sizeof"
|
|
|
|
"stackalloc"
|
|
|
|
"stackalloc"
|
|
|
|
"throw"
|
|
|
|
|
|
|
|
"try"
|
|
|
|
|
|
|
|
"typeof"
|
|
|
|
"typeof"
|
|
|
|
"unchecked"
|
|
|
|
"unchecked"
|
|
|
|
"using"
|
|
|
|
"using"
|
|
|
|
"new"
|
|
|
|
|
|
|
|
"await"
|
|
|
|
|
|
|
|
"in"
|
|
|
|
|
|
|
|
"yield"
|
|
|
|
|
|
|
|
"get"
|
|
|
|
|
|
|
|
"set"
|
|
|
|
|
|
|
|
"when"
|
|
|
|
"when"
|
|
|
|
"out"
|
|
|
|
|
|
|
|
"ref"
|
|
|
|
|
|
|
|
"from"
|
|
|
|
|
|
|
|
"where"
|
|
|
|
"where"
|
|
|
|
"select"
|
|
|
|
|
|
|
|
"init"
|
|
|
|
|
|
|
|
"with"
|
|
|
|
"with"
|
|
|
|
"let"
|
|
|
|
"yield"
|
|
|
|
] @keyword
|
|
|
|
] @keyword
|
|
|
|
|
|
|
|
|
|
|
|
[
|
|
|
|
[
|
|
|
@ -225,21 +217,31 @@
|
|
|
|
] @keyword.storage.modifier
|
|
|
|
] @keyword.storage.modifier
|
|
|
|
|
|
|
|
|
|
|
|
[
|
|
|
|
[
|
|
|
|
|
|
|
|
"break"
|
|
|
|
|
|
|
|
"continue"
|
|
|
|
|
|
|
|
"goto"
|
|
|
|
|
|
|
|
] @keyword.control
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[
|
|
|
|
|
|
|
|
"catch"
|
|
|
|
|
|
|
|
"finally"
|
|
|
|
|
|
|
|
"throw"
|
|
|
|
|
|
|
|
"try"
|
|
|
|
|
|
|
|
] @keyword.control.exception
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[
|
|
|
|
|
|
|
|
"do"
|
|
|
|
"for"
|
|
|
|
"for"
|
|
|
|
"foreach"
|
|
|
|
"foreach"
|
|
|
|
"do"
|
|
|
|
|
|
|
|
"while"
|
|
|
|
"while"
|
|
|
|
"break"
|
|
|
|
|
|
|
|
"continue"
|
|
|
|
|
|
|
|
] @keyword.control.repeat
|
|
|
|
] @keyword.control.repeat
|
|
|
|
|
|
|
|
|
|
|
|
[
|
|
|
|
[
|
|
|
|
"goto"
|
|
|
|
|
|
|
|
"if"
|
|
|
|
|
|
|
|
"else"
|
|
|
|
|
|
|
|
"switch"
|
|
|
|
|
|
|
|
"case"
|
|
|
|
"case"
|
|
|
|
"default"
|
|
|
|
"default"
|
|
|
|
|
|
|
|
"else"
|
|
|
|
|
|
|
|
"if"
|
|
|
|
|
|
|
|
"switch"
|
|
|
|
] @keyword.control.conditional
|
|
|
|
] @keyword.control.conditional
|
|
|
|
|
|
|
|
|
|
|
|
"return" @keyword.control.return
|
|
|
|
"return" @keyword.control.return
|
|
|
|