tests/snippets/typescript/test_function_definition.txt
raw| 1 | ---input--- |
| 2 | async function main() { |
| 3 | } |
| 4 | |
| 5 | ---tokens--- |
| 6 | 'async' Keyword |
| 7 | ' ' Text.Whitespace |
| 8 | 'function' Keyword.Declaration |
| 9 | ' ' Text.Whitespace |
| 10 | 'main' Name.Other |
| 11 | '(' Punctuation |
| 12 | ')' Punctuation |
| 13 | ' ' Text.Whitespace |
| 14 | '{' Punctuation |
| 15 | '\n' Text.Whitespace |
| 16 | |
| 17 | '}' Punctuation |
| 18 | '\n' Text.Whitespace |