typst-0.9: test/typ/compiler/let-01.out
--- parse tree ---
[ Comment
, ParBreak
, Comment
, SoftBreak
, Code
"typ/compiler/let-01.typ"
( line 4 , column 2 )
(Let (BasicBind (Just (Identifier "v1"))) (Literal (Int 1)))
, SoftBreak
, Text "One"
, ParBreak
, Comment
, SoftBreak
, Code
"typ/compiler/let-01.typ"
( line 8 , column 2 )
(Let (BasicBind (Just (Identifier "v2"))) (Literal (Int 2)))
, Space
, Text "Two"
, ParBreak
, Comment
, SoftBreak
, Code
"typ/compiler/let-01.typ"
( line 11 , column 2 )
(Let (BasicBind (Just (Identifier "v3"))) (Literal (Int 3)))
, SoftBreak
, Text "Three"
, ParBreak
, Code
"typ/compiler/let-01.typ"
( line 14 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg (Ident (Identifier "v1"))
, NormalArg (Literal (Int 1))
])
, SoftBreak
, Code
"typ/compiler/let-01.typ"
( line 15 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg (Ident (Identifier "v2"))
, NormalArg (Literal (Int 2))
])
, SoftBreak
, Code
"typ/compiler/let-01.typ"
( line 16 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg (Ident (Identifier "v3"))
, NormalArg (Literal (Int 3))
])
, ParBreak
]
--- evaluated ---
document(body: { parbreak(),
text(body: [
]),
text(body: [
One]),
parbreak(),
text(body: [
]),
text(body: [ Two]),
parbreak(),
text(body: [
]),
text(body: [
Three]),
parbreak(),
text(body: [✅]),
text(body: [
]),
text(body: [✅]),
text(body: [
]),
text(body: [✅]),
parbreak() })