tests/snippets/scala/test_colon_colon_function_name.txt
raw| 1 | ---input--- |
| 2 | def ::(xs: List[T]): List[T] = ::(x, xs) |
| 3 | |
| 4 | ---tokens--- |
| 5 | 'def' Keyword |
| 6 | ' ' Text.Whitespace |
| 7 | '::' Name.Function |
| 8 | '(' Punctuation |
| 9 | 'xs' Name |
| 10 | ':' Punctuation |
| 11 | ' ' Text.Whitespace |
| 12 | 'List' Name.Class |
| 13 | '[' Punctuation |
| 14 | 'T' Name.Class |
| 15 | ']' Punctuation |
| 16 | ')' Punctuation |
| 17 | ':' Punctuation |
| 18 | ' ' Text.Whitespace |
| 19 | 'List' Name.Class |
| 20 | '[' Punctuation |
| 21 | 'T' Name.Class |
| 22 | ']' Punctuation |
| 23 | ' ' Text.Whitespace |
| 24 | '=' Operator |
| 25 | ' ' Text.Whitespace |
| 26 | '::' Name |
| 27 | '(' Punctuation |
| 28 | 'x' Name |
| 29 | ',' Punctuation |
| 30 | ' ' Text.Whitespace |
| 31 | 'xs' Name |
| 32 | ')' Punctuation |
| 33 | '\n' Text.Whitespace |