typst-0.9: test/typ/compute/calc-08.out
--- parse tree ---
[ Comment
, SoftBreak
, Code
"typ/compute/calc-08.typ"
( line 2 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg
(FuncCall
(FieldAccess
(Ident (Identifier "even")) (Ident (Identifier "calc")))
[ NormalArg (Literal (Int 2)) ])
, NormalArg (Literal (Boolean True))
])
, SoftBreak
, Code
"typ/compute/calc-08.typ"
( line 3 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg
(FuncCall
(FieldAccess
(Ident (Identifier "odd")) (Ident (Identifier "calc")))
[ NormalArg (Literal (Int 2)) ])
, NormalArg (Literal (Boolean False))
])
, SoftBreak
, Code
"typ/compute/calc-08.typ"
( line 4 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg
(FuncCall
(FieldAccess
(Ident (Identifier "odd")) (Ident (Identifier "calc")))
[ NormalArg (Negated (Literal (Int 1))) ])
, NormalArg (Literal (Boolean True))
])
, SoftBreak
, Code
"typ/compute/calc-08.typ"
( line 5 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg
(FuncCall
(FieldAccess
(Ident (Identifier "even")) (Ident (Identifier "calc")))
[ NormalArg (Negated (Literal (Int 11))) ])
, NormalArg (Literal (Boolean False))
])
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
text(body: [✅]),
text(body: [
]),
text(body: [✅]),
text(body: [
]),
text(body: [✅]),
text(body: [
]),
text(body: [✅]),
parbreak() })