typst-0.9: test/typ/compiler/spread-04.out
--- parse tree ---
[ Comment
, SoftBreak
, Code
"typ/compiler/spread-04.typ"
( line 2 , column 2 )
(LetFunc (Identifier "f") [] (Literal None))
, SoftBreak
, Code
"typ/compiler/spread-04.typ"
( line 3 , column 2 )
(FuncCall (Ident (Identifier "f")) [ SpreadArg (Literal None) ])
, SoftBreak
, Code
"typ/compiler/spread-04.typ"
( line 4 , column 2 )
(FuncCall
(Ident (Identifier "f"))
[ SpreadArg
(If [ ( Literal (Boolean False) , Block (CodeBlock []) ) ])
])
, SoftBreak
, Code
"typ/compiler/spread-04.typ"
( line 5 , column 2 )
(FuncCall
(Ident (Identifier "f"))
[ SpreadArg
(For
(BasicBind (Just (Identifier "x")))
(Array [])
(Block (Content [])))
])
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
text(body: [
]),
text(body: [
]),
text(body: [
]),
parbreak() })