typst-0.9: test/typ/compiler/import-00.out
--- parse tree ---
[ Comment
, SoftBreak
, Comment
, ParBreak
, Comment
, SoftBreak
, Code
"typ/compiler/import-00.typ"
( line 5 , column 2 )
(Let
(BasicBind (Just (Identifier "value")))
(Block (Content [ Text "foo" ])))
, ParBreak
, Comment
, SoftBreak
, Code
"typ/compiler/import-00.typ"
( line 8 , column 2 )
(Import
(Literal (String "module.typ"))
(SomeIdentifiers
[ ( Identifier "fn" , Nothing )
, ( Identifier "value" , Nothing )
]))
, SoftBreak
, Code
"typ/compiler/import-00.typ"
( line 9 , column 2 )
(FuncCall
(Ident (Identifier "fn"))
[ BlockArg
[ Text "Like" , Space , Text "and" , Space , Text "Subscribe!" ]
])
, SoftBreak
, Code
"typ/compiler/import-00.typ"
( line 10 , column 2 )
(Ident (Identifier "value"))
, ParBreak
, Comment
, SoftBreak
, Comment
, SoftBreak
, Code
"typ/compiler/import-00.typ"
( line 14 , column 2 )
(Import
(Literal (String "module.typ"))
(SomeIdentifiers
[ ( Identifier "a" , Nothing ) , ( Identifier "c" , Nothing ) ]))
, Text "bye"
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
parbreak(),
text(body: [
]),
parbreak(),
text(body: [
]),
text(body: [
]),
rect(body: text(body: [Like and Subscribe!]),
fill: rgb(18%,80%,25%,100%),
inset: 5.0pt),
text(body: [
]),
text(body: [hi]),
parbreak(),
text(body: [
]),
text(body: [
]),
text(body: [bye]),
parbreak() })