typst-0.9: test/typ/layout/terms-01.out
--- parse tree ---
[ Comment
, SoftBreak
, Code
"typ/layout/terms-01.typ"
( line 2 , column 2 )
(For
(BasicBind (Just (Identifier "word")))
(FuncCall
(FieldAccess
(Ident (Identifier "map"))
(FuncCall
(FieldAccess
(Ident (Identifier "split"))
(FuncCall
(Ident (Identifier "lorem")) [ NormalArg (Literal (Int 4)) ]))
[]))
[ NormalArg
(FuncExpr
[ NormalParam (Identifier "s") ]
(FuncCall
(FieldAccess (Ident (Identifier "trim")) (Ident (Identifier "s")))
[ NormalArg (Literal (String ".")) ]))
])
(Block
(Content
[ SoftBreak
, DescListItem
[ Code
"typ/layout/terms-01.typ"
( line 3 , column 6 )
(Ident (Identifier "word"))
]
[ Text "Latin" , Space , Text "stuff" , Text "." ]
, ParBreak
])))
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
text(body: [
]),
terms(children: ((text(body: [Lorem]),
text(body: [Latin stuff.])))),
text(body: [
]),
terms(children: ((text(body: [ipsum]),
text(body: [Latin stuff.])))),
text(body: [
]),
terms(children: ((text(body: [dolor]),
text(body: [Latin stuff.])))),
text(body: [
]),
terms(children: ((text(body: [sit]),
text(body: [Latin stuff.])))),
parbreak() })