typst-0.9: test/typ/compiler/import-02.out
--- parse tree ---
[ Comment
, SoftBreak
, Comment
, ParBreak
, Code
"typ/compiler/import-02.typ"
( line 4 , column 2 )
(Import
(Ident (Identifier "enum"))
(SomeIdentifiers [ ( Identifier "item" , Nothing ) ]))
, SoftBreak
, Code
"typ/compiler/import-02.typ"
( line 5 , column 2 )
(Import
(FuncCall
(FieldAccess
(Ident (Identifier "with")) (Ident (Identifier "assert")))
[ NormalArg (Literal (Boolean True)) ])
AllIdentifiers)
, ParBreak
, Code
"typ/compiler/import-02.typ"
( line 7 , column 2 )
(FuncCall
(Ident (Identifier "enum"))
[ NormalArg
(FuncCall
(Ident (Identifier "item"))
[ NormalArg (Literal (Int 1)) , BlockArg [ Text "First" ] ])
, NormalArg
(FuncCall
(Ident (Identifier "item"))
[ NormalArg (Literal (Int 5)) , BlockArg [ Text "Fifth" ] ])
])
, SoftBreak
, Code
"typ/compiler/import-02.typ"
( line 11 , column 2 )
(FuncCall
(Ident (Identifier "eq"))
[ NormalArg (Literal (Int 10)) , NormalArg (Literal (Int 10)) ])
, SoftBreak
, Code
"typ/compiler/import-02.typ"
( line 12 , column 2 )
(FuncCall
(Ident (Identifier "ne"))
[ NormalArg (Literal (Int 5)) , NormalArg (Literal (Int 6)) ])
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
parbreak(),
text(body: [
]),
parbreak(),
enum(children: (enum.item(body: text(body: [First]),
number: 1),
enum.item(body: text(body: [Fifth]),
number: 5))),
text(body: [
]),
text(body: [
]),
parbreak() })