typst-0.9: test/typ/compiler/label-00.out
--- parse tree ---
[ Comment
, SoftBreak
, Code
"typ/compiler/label-00.typ"
( line 2 , column 2 )
(Show
(Just (Ident (Identifier "heading")))
(Set
(Ident (Identifier "text"))
[ NormalArg (Literal (Numeric 10.0 Pt)) ]))
, SoftBreak
, Code
"typ/compiler/label-00.typ"
( line 3 , column 2 )
(Show
(Just
(FuncCall
(FieldAccess
(Ident (Identifier "where")) (Ident (Identifier "heading")))
[ KeyValArg (Identifier "label") (Label "intro") ]))
(Ident (Identifier "underline")))
, ParBreak
, Heading 1 [ Text "Introduction" ]
, Space
, Code
"typ/compiler/label-00.typ" ( line 5 , column 16 ) (Label "intro")
, SoftBreak
, Text "The"
, Space
, Text "beginning"
, Text "."
, ParBreak
, Heading 1 [ Text "Conclusion" ]
, SoftBreak
, Text "The"
, Space
, Text "end"
, Text "."
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
text(body: [
]),
parbreak(),
heading(body: text(body: [Introduction]),
level: 1),
text(body: [ ]),
<intro>,
text(body: [
The beginning.]),
parbreak(),
heading(body: text(body: [Conclusion]),
level: 1),
text(body: [The end.]),
parbreak() })