--- parse tree --- [ Code "test/typ/layout/stack-2-01.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/layout/stack-2-01.typ" ( line 1 , column 47 ) (FuncCall (Ident (Identifier "repr")) [ NormalArg (Ident (Identifier "x")) ]) , Space , Text "/" , Text "=" , Space , Code "test/typ/layout/stack-2-01.typ" ( line 1 , column 59 ) (FuncCall (Ident (Identifier "repr")) [ NormalArg (Ident (Identifier "y")) ]) , Text ")" ]) ) ] ])))) , SoftBreak , Code "test/typ/layout/stack-2-01.typ" ( line 2 , column 2 ) (Set (Ident (Identifier "page")) [ KeyValArg (Identifier "height") (Literal (Numeric 2.0 Cm)) ]) , SoftBreak , Code "test/typ/layout/stack-2-01.typ" ( line 3 , column 2 ) (Set (Ident (Identifier "text")) [ NormalArg (Ident (Identifier "white")) ]) , SoftBreak , Code "test/typ/layout/stack-2-01.typ" ( line 4 , column 2 ) (FuncCall (Ident (Identifier "rect")) [ KeyValArg (Identifier "fill") (Ident (Identifier "red")) , BlockArg [ SoftBreak , Code "test/typ/layout/stack-2-01.typ" ( line 5 , column 12 ) (FuncCall (Ident (Identifier "v")) [ NormalArg (Literal (Numeric 1.0 Fr)) ]) , SoftBreak , Code "test/typ/layout/stack-2-01.typ" ( line 6 , column 4 ) (FuncCall (Ident (Identifier "h")) [ NormalArg (Literal (Numeric 1.0 Fr)) ]) , Space , Text "Hi" , Space , Text "you!" , ParBreak ] ]) , ParBreak ] --- evaluated --- document(body: { text(body: [ ]), text(body: [ ]), text(body: [ ], color: rgb(100%,100%,100%,100%)), rect(body: { text(body: [ ], color: rgb(100%,100%,100%,100%)), v(amount: 1.0fr), text(body: [ ], color: rgb(100%,100%,100%,100%)), h(amount: 1.0fr), text(body: [ Hi you!], color: rgb(100%,100%,100%,100%)), parbreak() }, fill: rgb(100%,25%,21%,100%)), parbreak() })