tests/snippets/gdscript/test_simple_function.txt
raw| 1 | ---input--- |
| 2 | func abc(arg): |
| 3 | print("Hello, World!") |
| 4 | |
| 5 | ---tokens--- |
| 6 | 'func' Keyword |
| 7 | ' ' Text.Whitespace |
| 8 | 'abc' Name |
| 9 | '(' Punctuation |
| 10 | 'arg' Name |
| 11 | ')' Punctuation |
| 12 | ':' Punctuation |
| 13 | '\n' Text.Whitespace |
| 14 | |
| 15 | '\t' Text.Whitespace |
| 16 | 'print' Name.Builtin |
| 17 | '(' Punctuation |
| 18 | '"' Literal.String.Double |
| 19 | 'Hello, World!' Literal.String.Double |
| 20 | '"' Literal.String.Double |
| 21 | ')' Punctuation |
| 22 | '\n' Text.Whitespace |