summaryrefslogtreecommitdiff
path: root/tests/lexers/clojure/example2.txt
blob: f264748abc34a114114988e591943b9392073966 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---input---
(= c (int \;)) (do (.readLine s) :line-start)

---tokens---
'('           Punctuation
'= '          Name.Builtin
'c'           Name.Variable
' '           Text
'('           Punctuation
'int '        Name.Builtin
'\\;'         Literal.String.Char
')'           Punctuation
')'           Punctuation
' '           Text
'('           Punctuation
'do '         Keyword
'('           Punctuation
'.readLine'   Name.Function
' '           Text
's'           Name.Variable
')'           Punctuation
' '           Text
':line-start' Literal.String.Symbol
')'           Punctuation
'\n'          Text