1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
--- 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() })
|