packages feed

typst-0.9: test/typ/layout/repeat-04.out

--- parse tree ---
[ Comment
, SoftBreak
, Text "A"
, Code
    "typ/layout/repeat-04.typ"
    ( line 2 , column 3 )
    (FuncCall
       (Ident (Identifier "box"))
       [ KeyValArg (Identifier "width") (Literal (Numeric 1.0 Fr))
       , NormalArg
           (FuncCall
              (Ident (Identifier "repeat"))
              [ NormalArg
                  (FuncCall
                     (Ident (Identifier "rect"))
                     [ KeyValArg (Identifier "width") (Literal (Numeric 6.0 Em))
                     , KeyValArg (Identifier "height") (Literal (Numeric 0.7 Em))
                     ])
              ])
       ])
, Text "B"
, ParBreak
, Code
    "typ/layout/repeat-04.typ"
    ( line 4 , column 2 )
    (Set
       (Ident (Identifier "align"))
       [ NormalArg (Ident (Identifier "center")) ])
, SoftBreak
, Text "A"
, Code
    "typ/layout/repeat-04.typ"
    ( line 5 , column 3 )
    (FuncCall
       (Ident (Identifier "box"))
       [ KeyValArg (Identifier "width") (Literal (Numeric 1.0 Fr))
       , NormalArg
           (FuncCall
              (Ident (Identifier "repeat"))
              [ NormalArg
                  (FuncCall
                     (Ident (Identifier "rect"))
                     [ KeyValArg (Identifier "width") (Literal (Numeric 6.0 Em))
                     , KeyValArg (Identifier "height") (Literal (Numeric 0.7 Em))
                     ])
              ])
       ])
, Text "B"
, ParBreak
, Code
    "typ/layout/repeat-04.typ"
    ( line 7 , column 2 )
    (Set
       (Ident (Identifier "text"))
       [ KeyValArg (Identifier "dir") (Ident (Identifier "rtl")) ])
, SoftBreak
, Text "\1585\1610\1580\1610\1606"
, Code
    "typ/layout/repeat-04.typ"
    ( line 8 , column 7 )
    (FuncCall
       (Ident (Identifier "box"))
       [ KeyValArg (Identifier "width") (Literal (Numeric 1.0 Fr))
       , NormalArg
           (FuncCall
              (Ident (Identifier "repeat"))
              [ NormalArg
                  (FuncCall
                     (Ident (Identifier "rect"))
                     [ KeyValArg (Identifier "width") (Literal (Numeric 4.0 Em))
                     , KeyValArg (Identifier "height") (Literal (Numeric 0.7 Em))
                     ])
              ])
       ])
, Text "\1587\1608\1606"
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
A]), 
                 box(body: repeat(body: rect(height: 0.7em, 
                                             width: 6.0em)), 
                     width: 1.0fr), 
                 text(body: [B]), 
                 parbreak(), 
                 text(body: [
A]), 
                 box(body: repeat(body: rect(height: 0.7em, 
                                             width: 6.0em)), 
                     width: 1.0fr), 
                 text(body: [B]), 
                 parbreak(), 
                 text(body: [
ريجين], 
                      dir: rtl), 
                 box(body: repeat(body: rect(height: 0.7em, 
                                             width: 4.0em)), 
                     width: 1.0fr), 
                 text(body: [سون], dir: rtl), 
                 parbreak() })