typst-0.9: test/typ/compiler/if-00.out
--- parse tree ---
[ Comment
, SoftBreak
, Code
"typ/compiler/if-00.typ"
( line 2 , column 2 )
(If
[ ( LessThan (Literal (Int 1)) (Literal (Int 2))
, Block (Content [ SoftBreak , Text "One" , Text "." , ParBreak ])
)
])
, ParBreak
, Code
"typ/compiler/if-00.typ"
( line 6 , column 2 )
(If
[ ( Equals (Literal (Boolean True)) (Literal (Boolean False))
, Block
(Content
[ SoftBreak
, Text "{Bad},"
, Space
, Text "but"
, Space
, Text "we"
, Space
, Text "{dont"
, Text "-"
, Text "care}!"
, ParBreak
])
)
])
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
text(body: [
One.]),
parbreak(),
parbreak(),
parbreak() })