2022-01-03 05:57:55 +04:00
|
|
|
[
|
|
|
|
(comment)
|
|
|
|
(multiline_comment)
|
|
|
|
] @comment
|
|
|
|
|
|
|
|
[
|
|
|
|
"("
|
|
|
|
")"
|
|
|
|
"["
|
|
|
|
"]"
|
|
|
|
"{"
|
|
|
|
"}"
|
|
|
|
"<"
|
|
|
|
">"
|
|
|
|
] @punctuation.bracket
|
|
|
|
|
|
|
|
[
|
|
|
|
","
|
|
|
|
";"
|
|
|
|
"."
|
|
|
|
] @punctuation.delimiter
|
|
|
|
|
|
|
|
[
|
|
|
|
"#"
|
|
|
|
"-"
|
|
|
|
"..."
|
|
|
|
":"
|
|
|
|
] @operator
|
|
|
|
|
|
|
|
[
|
|
|
|
"="
|
|
|
|
"!cond"
|
|
|
|
(operator_keyword)
|
|
|
|
] @function
|
|
|
|
|
|
|
|
[
|
|
|
|
"true"
|
|
|
|
"false"
|
|
|
|
] @constant.builtin.boolean
|
|
|
|
|
|
|
|
[
|
|
|
|
"?"
|
|
|
|
] @constant.builtin
|
|
|
|
|
|
|
|
(var) @variable
|
|
|
|
|
|
|
|
(template_arg (identifier) @variable.parameter)
|
|
|
|
|
|
|
|
(_ argument: (value (identifier) @variable.parameter))
|
|
|
|
|
|
|
|
(type) @type
|
|
|
|
|
|
|
|
"code" @type.builtin
|
|
|
|
|
|
|
|
(number) @constant.numeric.integer
|
|
|
|
[
|
|
|
|
(string_string)
|
|
|
|
(code_string)
|
|
|
|
] @string
|
|
|
|
|
|
|
|
(preprocessor) @keyword.directive
|
|
|
|
|
|
|
|
[
|
|
|
|
"class"
|
|
|
|
"field"
|
|
|
|
"let"
|
|
|
|
"defvar"
|
|
|
|
"def"
|
|
|
|
"defset"
|
|
|
|
"defvar"
|
2024-11-21 02:14:15 +04:00
|
|
|
"deftype"
|
2022-01-03 05:57:55 +04:00
|
|
|
"assert"
|
2024-11-21 02:14:15 +04:00
|
|
|
"dump"
|
2022-01-03 05:57:55 +04:00
|
|
|
] @keyword
|
|
|
|
|
|
|
|
[
|
|
|
|
"let"
|
|
|
|
"in"
|
|
|
|
"foreach"
|
|
|
|
"if"
|
|
|
|
"then"
|
|
|
|
"else"
|
|
|
|
] @keyword.operator
|
|
|
|
|
|
|
|
"include" @keyword.control.import
|
|
|
|
|
|
|
|
[
|
|
|
|
"multiclass"
|
|
|
|
"defm"
|
|
|
|
] @namespace
|
|
|
|
|
|
|
|
(ERROR) @error
|