typst-0.9: test/typ/compute/calc-15.out
--- parse tree ---
[ Comment
, SoftBreak
, Code
"typ/compute/calc-15.typ"
( line 2 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg
(FuncCall
(FieldAccess
(Ident (Identifier "min")) (Ident (Identifier "calc")))
[ NormalArg (Literal (Int 2))
, NormalArg (Negated (Literal (Int 4)))
])
, NormalArg (Negated (Literal (Int 4)))
])
, SoftBreak
, Code
"typ/compute/calc-15.typ"
( line 3 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg
(FuncCall
(FieldAccess
(Ident (Identifier "min")) (Ident (Identifier "calc")))
[ NormalArg (Literal (Float 3.5))
, NormalArg (Literal (Float 100.0))
, NormalArg (Negated (Literal (Float 0.1)))
, NormalArg (Literal (Int 3))
])
, NormalArg (Negated (Literal (Float 0.1)))
])
, SoftBreak
, Code
"typ/compute/calc-15.typ"
( line 4 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg
(FuncCall
(FieldAccess
(Ident (Identifier "max")) (Ident (Identifier "calc")))
[ NormalArg (Negated (Literal (Int 3)))
, NormalArg (Literal (Int 11))
])
, NormalArg (Literal (Int 11))
])
, SoftBreak
, Code
"typ/compute/calc-15.typ"
( line 5 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg
(FuncCall
(FieldAccess
(Ident (Identifier "min")) (Ident (Identifier "calc")))
[ NormalArg (Literal (String "hi")) ])
, NormalArg (Literal (String "hi"))
])
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
text(body: [✅]),
text(body: [
]),
text(body: [✅]),
text(body: [
]),
text(body: [✅]),
text(body: [
]),
text(body: [✅]),
parbreak() })