typst-0.9: test/typ/layout/grid-1-01.out
--- parse tree ---
[ Code
"typ/layout/grid-1-01.typ"
( line 1 , column 2 )
(Set
(Ident (Identifier "rect"))
[ KeyValArg (Identifier "inset") (Literal (Numeric 0.0 Pt)) ])
, SoftBreak
, Code
"typ/layout/grid-1-01.typ"
( line 2 , column 2 )
(FuncCall
(Ident (Identifier "grid"))
[ KeyValArg
(Identifier "columns")
(Array
[ Reg (Literal Auto)
, Reg (Literal Auto)
, Reg (Literal (Numeric 40.0 Percent))
])
, KeyValArg (Identifier "column-gutter") (Literal (Numeric 1.0 Fr))
, KeyValArg (Identifier "row-gutter") (Literal (Numeric 1.0 Fr))
, NormalArg
(FuncCall
(Ident (Identifier "rect"))
[ KeyValArg (Identifier "fill") (Ident (Identifier "eastern"))
, BlockArg
[ Text "dddaa" , Space , Text "aaa" , Space , Text "aaa" ]
])
, NormalArg
(FuncCall
(Ident (Identifier "rect"))
[ KeyValArg (Identifier "fill") (Ident (Identifier "green"))
, BlockArg [ Text "ccc" ]
])
, NormalArg
(FuncCall
(Ident (Identifier "rect"))
[ KeyValArg
(Identifier "fill")
(FuncCall
(Ident (Identifier "rgb"))
[ NormalArg (Literal (String "dddddd")) ])
, BlockArg [ Text "aaa" ]
])
])
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
grid(children: (rect(body: text(body: [dddaa aaa aaa]),
fill: rgb(13%,61%,67%,100%),
inset: 0.0pt),
rect(body: text(body: [ccc]),
fill: rgb(18%,80%,25%,100%),
inset: 0.0pt),
rect(body: text(body: [aaa]),
fill: rgb(86%,86%,86%,100%),
inset: 0.0pt)),
column-gutter: 1.0fr,
columns: (auto, auto, 40%),
row-gutter: 1.0fr),
parbreak() })