typst-0.9: test/typ/compiler/import-03.out
--- parse tree ---
[ Comment
, SoftBreak
, Code
"typ/compiler/import-03.typ"
( line 2 , column 2 )
(Import (Literal (String "module.typ")) (NoIdentifiers Nothing))
, SoftBreak
, Code
"typ/compiler/import-03.typ"
( line 3 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg
(FieldAccess
(Ident (Identifier "b")) (Ident (Identifier "module")))
, NormalArg (Literal (Int 1))
])
, SoftBreak
, Code
"typ/compiler/import-03.typ"
( line 4 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg
(FuncCall
(FieldAccess
(Ident (Identifier "item")) (Ident (Identifier "module")))
[ NormalArg (Literal (Int 1)) , NormalArg (Literal (Int 2)) ])
, NormalArg (Literal (Int 3))
])
, SoftBreak
, Code
"typ/compiler/import-03.typ"
( line 5 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg
(FuncCall
(FieldAccess
(Ident (Identifier "push")) (Ident (Identifier "module")))
[ NormalArg (Literal (Int 2)) ])
, NormalArg (Literal (Int 3))
])
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
text(body: [
]),
text(body: [✅]),
text(body: [
]),
text(body: [✅]),
text(body: [
]),
text(body: [✅]),
parbreak() })