packages feed

typst-0.9: test/typ/compute/data-08.out

--- parse tree ---
[ Comment
, SoftBreak
, Code
    "typ/compute/data-08.typ"
    ( line 2 , column 2 )
    (Let
       (BasicBind (Just (Identifier "data")))
       (FuncCall
          (Ident (Identifier "toml"))
          [ NormalArg (Literal (String "/assets/files/toml-types.toml")) ]))
, SoftBreak
, Code
    "typ/compute/data-08.typ"
    ( line 3 , column 2 )
    (FuncCall
       (Ident (Identifier "test"))
       [ NormalArg
           (FieldAccess
              (Ident (Identifier "string")) (Ident (Identifier "data")))
       , NormalArg (Literal (String "wonderful"))
       ])
, SoftBreak
, Code
    "typ/compute/data-08.typ"
    ( line 4 , column 2 )
    (FuncCall
       (Ident (Identifier "test"))
       [ NormalArg
           (FieldAccess
              (Ident (Identifier "integer")) (Ident (Identifier "data")))
       , NormalArg (Literal (Int 42))
       ])
, SoftBreak
, Code
    "typ/compute/data-08.typ"
    ( line 5 , column 2 )
    (FuncCall
       (Ident (Identifier "test"))
       [ NormalArg
           (FieldAccess
              (Ident (Identifier "float")) (Ident (Identifier "data")))
       , NormalArg (Literal (Float 3.14))
       ])
, SoftBreak
, Code
    "typ/compute/data-08.typ"
    ( line 6 , column 2 )
    (FuncCall
       (Ident (Identifier "test"))
       [ NormalArg
           (FieldAccess
              (Ident (Identifier "boolean")) (Ident (Identifier "data")))
       , NormalArg (Literal (Boolean True))
       ])
, SoftBreak
, Code
    "typ/compute/data-08.typ"
    ( line 7 , column 2 )
    (FuncCall
       (Ident (Identifier "test"))
       [ NormalArg
           (FieldAccess
              (Ident (Identifier "date_time")) (Ident (Identifier "data")))
       , NormalArg (Literal (String "2023-02-01T15:38:57Z"))
       ])
, SoftBreak
, Code
    "typ/compute/data-08.typ"
    ( line 8 , column 2 )
    (FuncCall
       (Ident (Identifier "test"))
       [ NormalArg
           (FieldAccess
              (Ident (Identifier "array")) (Ident (Identifier "data")))
       , NormalArg
           (Array
              [ Reg (Literal (Int 1))
              , Reg (Literal (String "string"))
              , Reg (Literal (Float 3.0))
              , Reg (Literal (Boolean False))
              ])
       ])
, SoftBreak
, Code
    "typ/compute/data-08.typ"
    ( line 9 , column 2 )
    (FuncCall
       (Ident (Identifier "test"))
       [ NormalArg
           (FieldAccess
              (Ident (Identifier "inline_table")) (Ident (Identifier "data")))
       , NormalArg
           (Dict
              [ Reg ( Literal (String "first") , Literal (String "amazing") )
              , Reg ( Literal (String "second") , Literal (String "greater") )
              ])
       ])
, SoftBreak
, Code
    "typ/compute/data-08.typ"
    ( line 10 , column 2 )
    (FuncCall
       (Ident (Identifier "test"))
       [ NormalArg
           (FieldAccess
              (Ident (Identifier "element"))
              (FieldAccess
                 (Ident (Identifier "table")) (Ident (Identifier "data"))))
       , NormalArg (Literal (Int 5))
       ])
, SoftBreak
, Code
    "typ/compute/data-08.typ"
    ( line 11 , column 2 )
    (FuncCall
       (Ident (Identifier "test"))
       [ NormalArg
           (FieldAccess
              (Ident (Identifier "others"))
              (FieldAccess
                 (Ident (Identifier "table")) (Ident (Identifier "data"))))
       , NormalArg
           (Array
              [ Reg (Literal (Boolean False))
              , Reg (Literal (String "indeed"))
              , Reg (Literal (Int 7))
              ])
       ])
, ParBreak
]
--- evaluated ---
document(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: [✅]), 
                 text(body: [
]), 
                 text(body: [✅]), 
                 parbreak() })