summaryrefslogtreecommitdiff
path: root/tests/snippets/crystal/test_operator_methods.txt
blob: e4942ef0622b7110a4107782e8c6a995f5239ddd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---input---
([] of Int32).[]?(5)

---tokens---
'('           Punctuation
'['           Operator
']'           Operator
' '           Text
'of'          Keyword
' '           Text
'Int32'       Name
')'           Punctuation
'.'           Operator
'[]?'         Name.Operator
'('           Punctuation
'5'           Literal.Number.Integer
')'           Punctuation
'\n'          Text