summaryrefslogtreecommitdiffstats
path: root/tests/snippets/scheme/keywords.txt
blob: 046a444324fade8e0677512587f73dfa04e2830a (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---input---
(define* (foo #:key (bar123? 'baz))
  (display bar123?)
  (newline))

(foo #:bar123? 'xyz)

---tokens---
'('           Punctuation
'define*'     Keyword
' '           Text.Whitespace
'('           Punctuation
'foo'         Name.Function
' '           Text.Whitespace
'#:key'       Keyword.Declaration
' '           Text.Whitespace
'('           Punctuation
'bar123?'     Name.Function
' '           Text.Whitespace
"'baz"        Literal.String.Symbol
')'           Punctuation
')'           Punctuation
'\n  '        Text.Whitespace
'('           Punctuation
'display'     Name.Builtin
' '           Text.Whitespace
'bar123?'     Name.Variable
')'           Punctuation
'\n  '        Text.Whitespace
'('           Punctuation
'newline'     Name.Builtin
')'           Punctuation
')'           Punctuation
'\n\n'        Text.Whitespace

'('           Punctuation
'foo'         Name.Function
' '           Text.Whitespace
'#:bar123?'   Keyword.Declaration
' '           Text.Whitespace
"'xyz"        Literal.String.Symbol
')'           Punctuation
'\n'          Text.Whitespace