typst-0.4: test/out/compute/construct-07.out
--- parse tree ---
[ Code
"test/typ/compute/construct-07.typ"
( line 1 , column 2 )
(Let
(BasicBind (Just (Identifier "test")))
(FuncExpr
[ NormalParam (Identifier "x") , NormalParam (Identifier "y") ]
(Block
(CodeBlock
[ If
[ ( Equals (Ident (Identifier "x")) (Ident (Identifier "y"))
, Block (Content [ Text "\9989" ])
)
, ( Literal (Boolean True)
, Block
(Content
[ Text "\10060"
, Text "("
, Code
"test/typ/compute/construct-07.typ"
( line 1 , column 47 )
(FuncCall
(Ident (Identifier "repr"))
[ NormalArg (Ident (Identifier "x")) ])
, Space
, Text "/"
, Text "="
, Space
, Code
"test/typ/compute/construct-07.typ"
( line 1 , column 59 )
(FuncCall
(Ident (Identifier "repr"))
[ NormalArg (Ident (Identifier "y")) ])
, Text ")"
])
)
]
]))))
, SoftBreak
, Comment
, Code
"test/typ/compute/construct-07.typ"
( line 3 , column 2 )
(Let
(BasicBind (Just (Identifier "envelope")))
(FuncCall
(Ident (Identifier "symbol"))
[ NormalArg (Literal (String "\128386"))
, NormalArg
(Array
[ Reg (Literal (String "stamped"))
, Reg (Literal (String "\128387"))
])
, NormalArg
(Array
[ Reg (Literal (String "stamped.pen"))
, Reg (Literal (String "\128390"))
])
, NormalArg
(Array
[ Reg (Literal (String "lightning"))
, Reg (Literal (String "\128388"))
])
, NormalArg
(Array
[ Reg (Literal (String "fly"))
, Reg (Literal (String "\128389"))
])
]))
, ParBreak
, Code
"test/typ/compute/construct-07.typ"
( line 11 , column 2 )
(Ident (Identifier "envelope"))
, SoftBreak
, Code
"test/typ/compute/construct-07.typ"
( line 12 , column 2 )
(FieldAccess
(Ident (Identifier "stamped")) (Ident (Identifier "envelope")))
, SoftBreak
, Code
"test/typ/compute/construct-07.typ"
( line 13 , column 2 )
(FieldAccess
(Ident (Identifier "pen")) (Ident (Identifier "envelope")))
, SoftBreak
, Code
"test/typ/compute/construct-07.typ"
( line 14 , column 2 )
(FieldAccess
(Ident (Identifier "pen"))
(FieldAccess
(Ident (Identifier "stamped")) (Ident (Identifier "envelope"))))
, SoftBreak
, Code
"test/typ/compute/construct-07.typ"
( line 15 , column 2 )
(FieldAccess
(Ident (Identifier "lightning")) (Ident (Identifier "envelope")))
, SoftBreak
, Code
"test/typ/compute/construct-07.typ"
( line 16 , column 2 )
(FieldAccess
(Ident (Identifier "fly")) (Ident (Identifier "envelope")))
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
parbreak(),
text(body: [π]),
text(body: [
]),
text(body: [π]),
text(body: [
]),
text(body: [π]),
text(body: [
]),
text(body: [π]),
text(body: [
]),
text(body: [π]),
text(body: [
]),
text(body: [π
]),
parbreak() })