typst-0.9: test/typ/compiler/construct-03.out
--- parse tree ---
[ Comment
, SoftBreak
, Text "A"
, Space
, Code
"typ/compiler/construct-03.typ"
( line 2 , column 4 )
(FuncCall
(Ident (Identifier "box"))
[ NormalArg
(FuncCall
(Ident (Identifier "rect"))
[ KeyValArg (Identifier "fill") (Ident (Identifier "yellow"))
, KeyValArg (Identifier "inset") (Literal (Numeric 5.0 Pt))
, NormalArg (FuncCall (Ident (Identifier "rect")) [])
])
])
, Space
, Text "B"
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
A ]),
box(body: rect(body: rect(),
fill: rgb(100%,86%,0%,100%),
inset: 5.0pt)),
text(body: [ B]),
parbreak() })