typst-0.9: test/typ/compiler/set-02.out
--- parse tree ---
[ Comment
, SoftBreak
, Comment
, SoftBreak
, Code
"typ/compiler/set-02.typ"
( line 3 , column 2 )
(Set
(Ident (Identifier "block"))
[ KeyValArg (Identifier "spacing") (Literal (Numeric 4.0 Pt)) ])
, SoftBreak
, Code
"typ/compiler/set-02.typ"
( line 4 , column 2 )
(Set
(Ident (Identifier "text"))
[ KeyValArg (Identifier "style") (Literal (String "italic"))
, KeyValArg (Identifier "fill") (Ident (Identifier "eastern"))
])
, SoftBreak
, Code
"typ/compiler/set-02.typ"
( line 5 , column 2 )
(Let
(BasicBind (Just (Identifier "x")))
(Block
(Content
[ Text "And"
, Space
, Text "the"
, Space
, Text "red"
, Space
, Code
"typ/compiler/set-02.typ"
( line 5 , column 24 )
(FuncCall (Ident (Identifier "parbreak")) [])
, Space
, Text "lay"
, Space
, Text "silent!"
])))
, SoftBreak
, Code
"typ/compiler/set-02.typ"
( line 6 , column 2 )
(FuncCall
(Ident (Identifier "text"))
[ KeyValArg (Identifier "fill") (Ident (Identifier "red"))
, NormalArg (Ident (Identifier "x"))
])
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
text(body: [
]),
text(body: [
]),
text(body: [
],
fill: rgb(13%,61%,67%,100%),
style: "italic"),
text(body: [
],
fill: rgb(13%,61%,67%,100%),
style: "italic"),
text(body: { text(body: [And the red ],
fill: rgb(13%,61%,67%,100%),
style: "italic"),
parbreak(),
text(body: [ lay silent!],
fill: rgb(13%,61%,67%,100%),
style: "italic") },
fill: rgb(100%,25%,21%,100%),
style: "italic"),
parbreak() })