Debian Codegraph @

tests/snippets/nix/built_in.txt

raw
1 ---input---
2 import ./foo.nix
3
4 map (x: x + x) [ 1 2 3 ]
5
6 ---tokens---
7 'import' Name.Builtin
8 ' ' Text
9 './foo.nix' Literal
10 '\n\n' Text
11
12 'map' Name.Builtin
13 ' ' Text
14 '(' Punctuation
15 'x' Text
16 ':' Punctuation
17 ' ' Text
18 'x' Text
19 ' ' Text
20 '+' Operator
21 ' ' Text
22 'x' Text
23 ')' Punctuation
24 ' ' Text
25 '[' Punctuation
26 ' ' Text
27 '1' Literal.Number.Integer
28 ' ' Text
29 '2' Literal.Number.Integer
30 ' ' Text
31 '3' Literal.Number.Integer
32 ' ' Text
33 ']' Punctuation
34 '\n' Text