nvim-treesitter/tests/query/highlights/tiger/operators.tig

50 lines
999 B
Text
Raw Normal View History

2022-06-14 17:30:49 +02:00
let
var a : int := 42
2023-12-24 12:52:21 +01:00
/* ^ @punctuation.delimiter */
/* ^ @operator */
2022-06-14 17:30:49 +02:00
in
(
2023-12-24 12:52:21 +01:00
/* <- @punctuation.bracket */
2022-06-14 17:30:49 +02:00
-1 | 2 & 3 + 4 * 5;
2023-12-24 12:52:21 +01:00
/* <- @operator */
/* ^ @operator */
/* ^ @operator */
/* ^ @operator */
/* ^ @operator */
/* ^ @punctuation.delimiter */
2022-06-14 17:30:49 +02:00
12 >= 27;
2023-12-24 12:52:21 +01:00
/* ^ @operator */
2022-06-14 17:30:49 +02:00
12 <= 27;
2023-12-24 12:52:21 +01:00
/* ^ @operator */
2022-06-14 17:30:49 +02:00
12 = 27;
2023-12-24 12:52:21 +01:00
/* ^ @operator */
2022-06-14 17:30:49 +02:00
12 <> 27;
2023-12-24 12:52:21 +01:00
/* ^ @operator */
2022-06-14 17:30:49 +02:00
12 < 27;
2023-12-24 12:52:21 +01:00
/* ^ @operator */
2022-06-14 17:30:49 +02:00
12 > 27;
2023-12-24 12:52:21 +01:00
/* ^ @operator */
2022-06-14 17:30:49 +02:00
record.field;
2023-12-24 12:52:21 +01:00
/* ^ @punctuation.delimiter */
2022-06-14 17:30:49 +02:00
func(a, b);
2023-12-24 12:52:21 +01:00
/* ^ @punctuation.bracket */
/* ^ @punctuation.bracket */
/* ^ @punctuation.delimiter */
2022-06-14 17:30:49 +02:00
record_type { };
2023-12-24 12:52:21 +01:00
/* ^ @punctuation.bracket */
/* ^ @punctuation.bracket */
2022-06-14 17:30:49 +02:00
array[42]
2023-12-24 12:52:21 +01:00
/* ^ @punctuation.bracket */
/* ^ @punctuation.bracket */
2022-06-14 17:30:49 +02:00
)
2023-12-24 12:52:21 +01:00
/* <- @punctuation.bracket */
2022-06-14 17:30:49 +02:00
end
/* vim: set ft=tiger: */