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

9 lines
255 B
Plaintext
Raw Normal View History

2022-06-03 19:59:56 +02:00
primitive print(s: string)
/* ^ function */
/* ^ variable.parameter */
function func(a: int) : int = (print("Hello World!"); a)
/* ^ function */
/* ^ variable.parameter */
/* ^ function */