typst-0.9: test/typ/layout/stack-2-00.out
--- parse tree ---
[ Code
"typ/layout/stack-2-00.typ"
( line 1 , column 2 )
(Set
(Ident (Identifier "page"))
[ KeyValArg (Identifier "height") (Literal (Numeric 3.5 Cm)) ])
, SoftBreak
, Code
"typ/layout/stack-2-00.typ"
( line 2 , column 2 )
(FuncCall
(Ident (Identifier "stack"))
[ KeyValArg (Identifier "dir") (Ident (Identifier "ltr"))
, KeyValArg (Identifier "spacing") (Literal (Numeric 1.0 Fr))
, SpreadArg
(For
(BasicBind (Just (Identifier "c")))
(Literal (String "ABCDEFGHI"))
(Block
(CodeBlock
[ Array
[ Reg
(Block
(Content
[ Code
"typ/layout/stack-2-00.typ"
( line 5 , column 30 )
(Ident (Identifier "c"))
]))
]
])))
])
, ParBreak
, Text "Hello"
, SoftBreak
, Code
"typ/layout/stack-2-00.typ"
( line 9 , column 2 )
(FuncCall
(Ident (Identifier "v")) [ NormalArg (Literal (Numeric 2.0 Fr)) ])
, SoftBreak
, Text "from"
, Space
, Code
"typ/layout/stack-2-00.typ"
( line 10 , column 7 )
(FuncCall
(Ident (Identifier "h")) [ NormalArg (Literal (Numeric 1.0 Fr)) ])
, Space
, Text "the"
, Space
, Code
"typ/layout/stack-2-00.typ"
( line 10 , column 19 )
(FuncCall
(Ident (Identifier "h")) [ NormalArg (Literal (Numeric 1.0 Fr)) ])
, Space
, Text "wonderful"
, SoftBreak
, Code
"typ/layout/stack-2-00.typ"
( line 11 , column 2 )
(FuncCall
(Ident (Identifier "v")) [ NormalArg (Literal (Numeric 1.0 Fr)) ])
, SoftBreak
, Text "World!"
, Space
, Text "\127757"
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
stack(children: (text(body: [A]),
text(body: [B]),
text(body: [C]),
text(body: [D]),
text(body: [E]),
text(body: [F]),
text(body: [G]),
text(body: [H]),
text(body: [I])),
dir: ltr,
spacing: 1.0fr),
parbreak(),
text(body: [Hello
]),
v(amount: 2.0fr),
text(body: [
from ]),
h(amount: 1.0fr),
text(body: [ the ]),
h(amount: 1.0fr),
text(body: [ wonderful
]),
v(amount: 1.0fr),
text(body: [
World! 🌍]),
parbreak() })