typst-0.9: test/typ/compiler/construct-01.out
--- parse tree ---
[ Comment
, SoftBreak
, Comment
, SoftBreak
, Comment
, SoftBreak
, Code
"typ/compiler/construct-01.typ"
( line 4 , column 2 )
(Set
(Ident (Identifier "list"))
[ KeyValArg (Identifier "marker") (Block (Content [ Text ">" ])) ])
, SoftBreak
, Code
"typ/compiler/construct-01.typ"
( line 5 , column 2 )
(FuncCall
(Ident (Identifier "list"))
[ KeyValArg (Identifier "marker") (Block (Content [ EnDash ]))
, BlockArg
[ SoftBreak
, Code
"typ/compiler/construct-01.typ"
( line 6 , column 4 )
(FuncCall
(Ident (Identifier "rect"))
[ KeyValArg (Identifier "width") (Literal (Numeric 2.0 Cm))
, KeyValArg (Identifier "fill") (Ident (Identifier "green"))
, KeyValArg (Identifier "inset") (Literal (Numeric 4.0 Pt))
, NormalArg
(FuncCall (Ident (Identifier "list")) [ BlockArg [ Text "A" ] ])
])
, ParBreak
]
])
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
text(body: [
]),
text(body: [
]),
text(body: [
]),
list(children: ({ text(body: [
]),
rect(body: list(children: (text(body: [A])),
marker: text(body: [>])),
fill: rgb(18%,80%,25%,100%),
inset: 4.0pt,
width: 2.0cm),
parbreak() }),
marker: text(body: [–])),
parbreak() })