tree-sitter-tiger/test/highlight/operators.tig

43 lines
786 B
Plaintext
Raw Normal View History

2022-06-03 10:08:58 +02:00
(
/* <- punctuation.bracket */
-1 | 2 & 3 + 4 * 5;
/* <- operator */
/* ^ operator */
/* ^ operator */
/* ^ operator */
/* ^ operator */
/* ^ punctuation.delimiter */
12 >= 27;
/* ^ operator */
12 <= 27;
/* ^ operator */
12 = 27;
/* ^ operator */
12 <> 27;
/* ^ operator */
12 < 27;
/* ^ operator */
12 > 27;
/* ^ operator */
record.field;
/* ^ punctuation.delimiter */
func(a, b);
/* ^ punctuation.bracket */
/* ^ punctuation.bracket */
/* ^ punctuation.delimiter */
record_type { };
/* ^ punctuation.bracket */
/* ^ punctuation.bracket */
array[42]
/* ^ punctuation.bracket */
/* ^ punctuation.bracket */
)
/* <- punctuation.bracket */