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

9 lines
255 B
Plaintext

primitive print(s: string)
/* ^ function */
/* ^ variable.parameter */
function func(a: int) : int = (print("Hello World!"); a)
/* ^ function */
/* ^ variable.parameter */
/* ^ function */