packages feed

typst-0.9: test/typ/compiler/block-01.out

--- parse tree ---
[ Comment
, SoftBreak
, Code
    "typ/compiler/block-01.typ"
    ( line 2 , column 2 )
    (FuncCall
       (Ident (Identifier "test"))
       [ NormalArg (Block (CodeBlock [])) , NormalArg (Literal None) ])
, ParBreak
, Comment
, SoftBreak
, Code
    "typ/compiler/block-01.typ"
    ( line 5 , column 2 )
    (FuncCall
       (Ident (Identifier "test"))
       [ NormalArg
           (Block
              (CodeBlock
                 [ Let (BasicBind (Just (Identifier "v"))) (Literal (Int 0)) ]))
       , NormalArg (Literal None)
       ])
, ParBreak
, Comment
, SoftBreak
, Code
    "typ/compiler/block-01.typ"
    ( line 8 , column 2 )
    (FuncCall
       (Ident (Identifier "test"))
       [ NormalArg (Block (CodeBlock [ Literal (String "hello") ]))
       , NormalArg (Literal (String "hello"))
       ])
, ParBreak
, Comment
, SoftBreak
, Code
    "typ/compiler/block-01.typ"
    ( line 11 , column 2 )
    (FuncCall
       (Ident (Identifier "test"))
       [ NormalArg
           (Block
              (CodeBlock
                 [ Let (BasicBind (Just (Identifier "x"))) (Literal (String "m"))
                 , Plus (Ident (Identifier "x")) (Literal (String "y"))
                 ]))
       , NormalArg (Literal (String "my"))
       ])
, ParBreak
, Comment
, SoftBreak
, Code
    "typ/compiler/block-01.typ"
    ( line 14 , column 2 )
    (FuncCall
       (Ident (Identifier "test"))
       [ NormalArg
           (Block
              (CodeBlock
                 [ Let (BasicBind (Just (Identifier "x"))) (Literal (Int 1))
                 , Let (BasicBind (Just (Identifier "y"))) (Literal (Int 2))
                 , Plus (Ident (Identifier "x")) (Ident (Identifier "y"))
                 ]))
       , NormalArg (Literal (Int 3))
       ])
, ParBreak
, Comment
, SoftBreak
, Code
    "typ/compiler/block-01.typ"
    ( line 21 , column 2 )
    (FuncCall
       (Ident (Identifier "test"))
       [ NormalArg
           (Block
              (CodeBlock
                 [ FuncCall
                     (Ident (Identifier "type")) [ NormalArg (Literal (String "")) ]
                 , Literal None
                 ]))
       , NormalArg (Literal (String "string"))
       ])
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]), 
                 text(body: [✅]), 
                 parbreak(), 
                 text(body: [
]), 
                 text(body: [✅]), 
                 parbreak(), 
                 text(body: [
]), 
                 text(body: [✅]), 
                 parbreak(), 
                 text(body: [
]), 
                 text(body: [✅]), 
                 parbreak(), 
                 text(body: [
]), 
                 text(body: [✅]), 
                 parbreak(), 
                 text(body: [
]), 
                 text(body: [✅]), 
                 parbreak() })