--- parse tree --- [ Code "test/typ/compute/data-10.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/data-10.typ" ( line 1 , column 47 ) (FuncCall (Ident (Identifier "repr")) [ NormalArg (Ident (Identifier "x")) ]) , Space , Text "/" , Text "=" , Space , Code "test/typ/compute/data-10.typ" ( line 1 , column 59 ) (FuncCall (Ident (Identifier "repr")) [ NormalArg (Ident (Identifier "y")) ]) , Text ")" ]) ) ] ])))) , SoftBreak , Comment , Code "test/typ/compute/data-10.typ" ( line 3 , column 2 ) (Let (BasicBind (Just (Identifier "data"))) (FuncCall (Ident (Identifier "yaml")) [ NormalArg (Literal (String "test/assets/files/yaml-types.yaml")) ])) , SoftBreak , Code "test/typ/compute/data-10.typ" ( line 4 , column 2 ) (FuncCall (Ident (Identifier "test")) [ NormalArg (FuncCall (FieldAccess (Ident (Identifier "len")) (Ident (Identifier "data"))) []) , NormalArg (Literal (Int 7)) ]) , SoftBreak , Code "test/typ/compute/data-10.typ" ( line 5 , column 2 ) (FuncCall (Ident (Identifier "test")) [ NormalArg (FieldAccess (Ident (Identifier "null_key")) (Ident (Identifier "data"))) , NormalArg (Array [ Reg (Literal None) , Reg (Literal None) ]) ]) , SoftBreak , Code "test/typ/compute/data-10.typ" ( line 6 , column 2 ) (FuncCall (Ident (Identifier "test")) [ NormalArg (FieldAccess (Ident (Identifier "string")) (Ident (Identifier "data"))) , NormalArg (Literal (String "text")) ]) , SoftBreak , Code "test/typ/compute/data-10.typ" ( line 7 , column 2 ) (FuncCall (Ident (Identifier "test")) [ NormalArg (FieldAccess (Ident (Identifier "integer")) (Ident (Identifier "data"))) , NormalArg (Literal (Int 5)) ]) , SoftBreak , Code "test/typ/compute/data-10.typ" ( line 8 , column 2 ) (FuncCall (Ident (Identifier "test")) [ NormalArg (FieldAccess (Ident (Identifier "float")) (Ident (Identifier "data"))) , NormalArg (Literal (Float 1.12)) ]) , SoftBreak , Code "test/typ/compute/data-10.typ" ( line 9 , column 2 ) (FuncCall (Ident (Identifier "test")) [ NormalArg (FieldAccess (Ident (Identifier "mapping")) (Ident (Identifier "data"))) , NormalArg (Dict [ Reg ( Literal (String "1") , Literal (String "one") ) , Reg ( Literal (String "2") , Literal (String "two") ) ]) ]) , SoftBreak , Code "test/typ/compute/data-10.typ" ( line 10 , column 2 ) (FuncCall (Ident (Identifier "test")) [ NormalArg (FieldAccess (Ident (Identifier "seq")) (Ident (Identifier "data"))) , NormalArg (Array [ Reg (Literal (Int 1)) , Reg (Literal (Int 2)) , Reg (Literal (Int 3)) , Reg (Literal (Int 4)) ]) ]) , SoftBreak , Code "test/typ/compute/data-10.typ" ( line 11 , column 2 ) (FuncCall (Ident (Identifier "test")) [ NormalArg (FieldAccess (Ident (Identifier "bool")) (Ident (Identifier "data"))) , NormalArg (Literal (Boolean False)) ]) , SoftBreak , Code "test/typ/compute/data-10.typ" ( line 12 , column 2 ) (FuncCall (Ident (Identifier "test")) [ NormalArg (FuncCall (FieldAccess (Ident (Identifier "contains")) (FuncCall (FieldAccess (Ident (Identifier "keys")) (Ident (Identifier "data"))) [])) [ NormalArg (Literal (String "true")) ]) , NormalArg (Literal (Boolean False)) ]) , ParBreak ] --- evaluated --- document(body: { text(body: [ ]), text(body: [ ]), text(body: [❌(]), text(body: [8]), text(body: [ /= ]), text(body: [7]), text(body: [)]), text(body: [ ]), text(body: [✅]), text(body: [ ]), text(body: [✅]), text(body: [ ]), text(body: [✅]), text(body: [ ]), text(body: [✅]), text(body: [ ]), text(body: [✅]), text(body: [ ]), text(body: [✅]), text(body: [ ]), text(body: [✅]), text(body: [ ]), text(body: [❌(]), text(body: [true]), text(body: [ /= ]), text(body: [false]), text(body: [)]), parbreak() })