packages feed

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

--- parse tree ---
[ Comment
, SoftBreak
, Code
    "typ/compiler/set-01.typ"
    ( line 2 , column 2 )
    (Let
       (BasicBind (Just (Identifier "fruit")))
       (Block
          (Content
             [ SoftBreak
             , BulletListItem [ Text "Apple" ]
             , SoftBreak
             , BulletListItem [ Text "Orange" ]
             , SoftBreak
             , Code
                 "typ/compiler/set-01.typ"
                 ( line 5 , column 4 )
                 (FuncCall
                    (Ident (Identifier "list"))
                    [ KeyValArg (Identifier "body-indent") (Literal (Numeric 20.0 Pt))
                    , BlockArg [ Text "Pear" ]
                    ])
             , ParBreak
             ])))
, ParBreak
, BulletListItem [ Text "Fruit" ]
, SoftBreak
, Code
    "typ/compiler/set-01.typ"
    ( line 9 , column 2 )
    (Block
       (Content
          [ Code
              "typ/compiler/set-01.typ"
              ( line 9 , column 4 )
              (Set
                 (Ident (Identifier "list"))
                 [ KeyValArg (Identifier "indent") (Literal (Numeric 10.0 Pt)) ])
          , SoftBreak
          , Code
              "typ/compiler/set-01.typ"
              ( line 10 , column 3 )
              (Ident (Identifier "fruit"))
          ]))
, SoftBreak
, BulletListItem
    [ Text "No" , Space , Text "more" , Space , Text "fruit" ]
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]), 
                 parbreak(), 
                 list(children: (text(body: [Fruit]))), 
                 text(body: [
]), 
                 text(body: [
]), 
                 list(children: (text(body: [Apple]), 
                                 text(body: [Orange]))), 
                 list(body-indent: 20.0pt, 
                      children: (text(body: [Pear]))), 
                 parbreak(), 
                 text(body: [
]), 
                 list(children: (text(body: [No more fruit])), 
                      indent: 10.0pt) })