tartrazine/tests/nix/built_in.txt

35 lines
695 B
Plaintext
Raw Normal View History

2024-08-03 10:36:47 +00:00
---input---
import ./foo.nix
map (x: x + x) [ 1 2 3 ]
---tokens---
'import' Name.Builtin
' ' Text
'./foo.nix' Literal
'\n\n' Text
'map' Name.Builtin
' ' Text
'(' Punctuation
'x' Text
':' Punctuation
' ' Text
'x' Text
' ' Text
'+' Operator
' ' Text
'x' Text
')' Punctuation
' ' Text
'[' Punctuation
' ' Text
'1' Literal.Number.Integer
' ' Text
'2' Literal.Number.Integer
' ' Text
'3' Literal.Number.Integer
' ' Text
']' Punctuation
'\n' Text