typst-0.9: test/typ/compiler/break-continue-05.out
--- parse tree ---
[ Comment
, SoftBreak
, Code
"typ/compiler/break-continue-05.typ"
( line 2 , column 2 )
(LetFunc
(Identifier "identity")
[ NormalParam (Identifier "x") ]
(Ident (Identifier "x")))
, SoftBreak
, Code
"typ/compiler/break-continue-05.typ"
( line 3 , column 2 )
(Let
(BasicBind (Just (Identifier "out")))
(For
(BasicBind (Just (Identifier "i")))
(FuncCall
(Ident (Identifier "range")) [ NormalArg (Literal (Int 5)) ])
(Block
(CodeBlock
[ Literal (String "A")
, FuncCall
(Ident (Identifier "identity"))
[ NormalArg (Block (CodeBlock [ Literal (String "B") , Break ])) ]
, Literal (String "C")
]))))
, ParBreak
, Code
"typ/compiler/break-continue-05.typ"
( line 12 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg (Ident (Identifier "out"))
, NormalArg (Literal (String "AB"))
])
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
text(body: [
]),
parbreak(),
text(body: [✅]),
parbreak() })