tests/snippets/crystal/test_operator_methods.txt
raw| 1 | ---input--- |
| 2 | ([] of Int32).[]?(5) |
| 3 | |
| 4 | ---tokens--- |
| 5 | '(' Punctuation |
| 6 | '[' Operator |
| 7 | ']' Operator |
| 8 | ' ' Text.Whitespace |
| 9 | 'of' Keyword |
| 10 | ' ' Text.Whitespace |
| 11 | 'Int32' Name |
| 12 | ')' Punctuation |
| 13 | '.' Operator |
| 14 | '[]?' Name.Operator |
| 15 | '(' Punctuation |
| 16 | '5' Literal.Number.Integer |
| 17 | ')' Punctuation |
| 18 | '\n' Text.Whitespace |