typst-0.9: test/typ/math/attach-02.out
--- parse tree ---
[ Comment
, SoftBreak
, Equation
True
[ Code
"typ/math/attach-02.typ"
( line 3 , column 1 )
(FuncCall
(Ident (Identifier "attach"))
[ BlockArg [ Text "a" ]
, KeyValArg (Identifier "tl") (Block (Content [ Text "u" ]))
])
, Text ","
, Code
"typ/math/attach-02.typ"
( line 3 , column 21 )
(FuncCall
(Ident (Identifier "attach"))
[ BlockArg [ Text "a" ]
, KeyValArg (Identifier "tr") (Block (Content [ Text "v" ]))
])
, Text ","
, Code
"typ/math/attach-02.typ"
( line 3 , column 41 )
(FuncCall
(Ident (Identifier "attach"))
[ BlockArg [ Text "a" ]
, KeyValArg (Identifier "bl") (Block (Content [ Text "x" ]))
])
, Text ","
, Code
"typ/math/attach-02.typ"
( line 4 , column 1 )
(FuncCall
(Ident (Identifier "attach"))
[ BlockArg [ Text "a" ]
, KeyValArg (Identifier "br") (Block (Content [ Text "y" ]))
])
, Text ","
, MAttach
Nothing
(Just (Text "t"))
(Code
"typ/math/attach-02.typ"
( line 4 , column 21 )
(FuncCall (Ident (Identifier "limits")) [ BlockArg [ Text "a" ] ]))
, Text ","
, MAttach
(Just (Text "b"))
Nothing
(Code
"typ/math/attach-02.typ"
( line 4 , column 41 )
(FuncCall (Ident (Identifier "limits")) [ BlockArg [ Text "a" ] ]))
, HardBreak
, Code
"typ/math/attach-02.typ"
( line 6 , column 1 )
(FuncCall
(Ident (Identifier "attach"))
[ BlockArg [ Text "a" ]
, KeyValArg (Identifier "tr") (Block (Content [ Text "v" ]))
, KeyValArg (Identifier "t") (Block (Content [ Text "t" ]))
])
, Text ","
, Code
"typ/math/attach-02.typ"
( line 7 , column 1 )
(FuncCall
(Ident (Identifier "attach"))
[ BlockArg [ Text "a" ]
, KeyValArg (Identifier "tr") (Block (Content [ Text "v" ]))
, KeyValArg (Identifier "br") (Block (Content [ Text "y" ]))
])
, Text ","
, Code
"typ/math/attach-02.typ"
( line 8 , column 1 )
(FuncCall
(Ident (Identifier "attach"))
[ BlockArg [ Text "a" ]
, KeyValArg (Identifier "br") (Block (Content [ Text "y" ]))
, KeyValArg (Identifier "b") (Block (Content [ Text "b" ]))
])
, Text ","
, Code
"typ/math/attach-02.typ"
( line 9 , column 1 )
(FuncCall
(Ident (Identifier "attach"))
[ BlockArg
[ Code
"typ/math/attach-02.typ"
( line 9 , column 8 )
(FuncCall (Ident (Identifier "limits")) [ BlockArg [ Text "a" ] ])
]
, KeyValArg (Identifier "b") (Block (Content [ Text "b" ]))
, KeyValArg (Identifier "bl") (Block (Content [ Text "x" ]))
])
, Text ","
, Code
"typ/math/attach-02.typ"
( line 10 , column 1 )
(FuncCall
(Ident (Identifier "attach"))
[ BlockArg [ Text "a" ]
, KeyValArg (Identifier "tl") (Block (Content [ Text "u" ]))
, KeyValArg (Identifier "bl") (Block (Content [ Text "x" ]))
])
, Text ","
, Code
"typ/math/attach-02.typ"
( line 11 , column 1 )
(FuncCall
(Ident (Identifier "attach"))
[ BlockArg
[ Code
"typ/math/attach-02.typ"
( line 11 , column 8 )
(FuncCall (Ident (Identifier "limits")) [ BlockArg [ Text "a" ] ])
]
, KeyValArg (Identifier "t") (Block (Content [ Text "t" ]))
, KeyValArg (Identifier "tl") (Block (Content [ Text "u" ]))
])
, HardBreak
, Code
"typ/math/attach-02.typ"
( line 13 , column 1 )
(FuncCall
(Ident (Identifier "attach"))
[ BlockArg [ Text "a" ]
, KeyValArg (Identifier "tl") (Block (Content [ Text "u" ]))
, KeyValArg (Identifier "tr") (Block (Content [ Text "v" ]))
])
, Text ","
, Code
"typ/math/attach-02.typ"
( line 14 , column 1 )
(FuncCall
(Ident (Identifier "attach"))
[ BlockArg
[ Code
"typ/math/attach-02.typ"
( line 14 , column 8 )
(FuncCall (Ident (Identifier "limits")) [ BlockArg [ Text "a" ] ])
]
, KeyValArg (Identifier "t") (Block (Content [ Text "t" ]))
, KeyValArg (Identifier "br") (Block (Content [ Text "y" ]))
])
, Text ","
, Code
"typ/math/attach-02.typ"
( line 15 , column 1 )
(FuncCall
(Ident (Identifier "attach"))
[ BlockArg
[ Code
"typ/math/attach-02.typ"
( line 15 , column 8 )
(FuncCall (Ident (Identifier "limits")) [ BlockArg [ Text "a" ] ])
]
, KeyValArg (Identifier "b") (Block (Content [ Text "b" ]))
, KeyValArg (Identifier "tr") (Block (Content [ Text "v" ]))
])
, Text ","
, Code
"typ/math/attach-02.typ"
( line 16 , column 1 )
(FuncCall
(Ident (Identifier "attach"))
[ BlockArg [ Text "a" ]
, KeyValArg (Identifier "bl") (Block (Content [ Text "x" ]))
, KeyValArg (Identifier "br") (Block (Content [ Text "y" ]))
])
, Text ","
, Code
"typ/math/attach-02.typ"
( line 17 , column 1 )
(FuncCall
(Ident (Identifier "attach"))
[ BlockArg
[ Code
"typ/math/attach-02.typ"
( line 17 , column 8 )
(FuncCall (Ident (Identifier "limits")) [ BlockArg [ Text "a" ] ])
]
, KeyValArg (Identifier "b") (Block (Content [ Text "b" ]))
, KeyValArg (Identifier "tl") (Block (Content [ Text "u" ]))
])
, Text ","
, Code
"typ/math/attach-02.typ"
( line 18 , column 1 )
(FuncCall
(Ident (Identifier "attach"))
[ BlockArg
[ Code
"typ/math/attach-02.typ"
( line 18 , column 8 )
(FuncCall (Ident (Identifier "limits")) [ BlockArg [ Text "a" ] ])
]
, KeyValArg (Identifier "t") (Block (Content [ Text "t" ]))
, KeyValArg (Identifier "bl") (Block (Content [ Text "u" ]))
])
, Text ","
, MAttach
(Just (Text "b"))
(Just (Text "t"))
(Code
"typ/math/attach-02.typ"
( line 19 , column 1 )
(FuncCall (Ident (Identifier "limits")) [ BlockArg [ Text "a" ] ]))
, HardBreak
, Code
"typ/math/attach-02.typ"
( line 21 , column 1 )
(FuncCall
(Ident (Identifier "attach"))
[ BlockArg [ Text "a" ]
, KeyValArg (Identifier "tl") (Block (Content [ Text "u" ]))
, KeyValArg (Identifier "tr") (Block (Content [ Text "v" ]))
, KeyValArg (Identifier "bl") (Block (Content [ Text "x" ]))
, KeyValArg (Identifier "br") (Block (Content [ Text "y" ]))
])
, Text ","
, Code
"typ/math/attach-02.typ"
( line 22 , column 1 )
(FuncCall
(Ident (Identifier "attach"))
[ BlockArg
[ Code
"typ/math/attach-02.typ"
( line 22 , column 8 )
(FuncCall (Ident (Identifier "limits")) [ BlockArg [ Text "a" ] ])
]
, KeyValArg (Identifier "t") (Block (Content [ Text "t" ]))
, KeyValArg (Identifier "bl") (Block (Content [ Text "x" ]))
, KeyValArg (Identifier "br") (Block (Content [ Text "y" ]))
, KeyValArg (Identifier "b") (Block (Content [ Text "b" ]))
])
, Text ","
, Code
"typ/math/attach-02.typ"
( line 23 , column 1 )
(FuncCall
(Ident (Identifier "attach"))
[ BlockArg
[ Code
"typ/math/attach-02.typ"
( line 23 , column 8 )
(FuncCall (Ident (Identifier "limits")) [ BlockArg [ Text "a" ] ])
]
, KeyValArg (Identifier "t") (Block (Content [ Text "t" ]))
, KeyValArg (Identifier "tl") (Block (Content [ Text "u" ]))
, KeyValArg (Identifier "tr") (Block (Content [ Text "v" ]))
, KeyValArg (Identifier "b") (Block (Content [ Text "b" ]))
])
, Text ","
, Code
"typ/math/attach-02.typ"
( line 24 , column 1 )
(FuncCall
(Ident (Identifier "attach"))
[ BlockArg
[ Code
"typ/math/attach-02.typ"
( line 24 , column 8 )
(FuncCall (Ident (Identifier "limits")) [ BlockArg [ Text "a" ] ])
]
, KeyValArg (Identifier "tl") (Block (Content [ Text "u" ]))
, KeyValArg (Identifier "bl") (Block (Content [ Text "x" ]))
, KeyValArg (Identifier "t") (Block (Content [ Text "t" ]))
, KeyValArg (Identifier "b") (Block (Content [ Text "b" ]))
])
, Text ","
, Code
"typ/math/attach-02.typ"
( line 25 , column 1 )
(FuncCall
(Ident (Identifier "attach"))
[ BlockArg
[ Code
"typ/math/attach-02.typ"
( line 25 , column 8 )
(FuncCall (Ident (Identifier "limits")) [ BlockArg [ Text "a" ] ])
]
, KeyValArg (Identifier "t") (Block (Content [ Text "t" ]))
, KeyValArg (Identifier "b") (Block (Content [ Text "b" ]))
, KeyValArg (Identifier "tr") (Block (Content [ Text "v" ]))
, KeyValArg (Identifier "br") (Block (Content [ Text "y" ]))
])
, Text ","
, Code
"typ/math/attach-02.typ"
( line 26 , column 1 )
(FuncCall
(Ident (Identifier "attach"))
[ BlockArg [ Text "a" ]
, KeyValArg (Identifier "tl") (Block (Content [ Text "u" ]))
, KeyValArg (Identifier "t") (Block (Content [ Text "t" ]))
, KeyValArg (Identifier "tr") (Block (Content [ Text "v" ]))
, KeyValArg (Identifier "bl") (Block (Content [ Text "x" ]))
, KeyValArg (Identifier "b") (Block (Content [ Text "b" ]))
, KeyValArg (Identifier "br") (Block (Content [ Text "y" ]))
])
]
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
math.equation(block: true,
body: { math.attach(base: text(body: [a]),
tl: text(body: [u])),
text(body: [,]),
math.attach(base: text(body: [a]),
tr: text(body: [v])),
text(body: [,]),
math.attach(base: text(body: [a]),
bl: text(body: [x])),
text(body: [,]),
math.attach(base: text(body: [a]),
br: text(body: [y])),
text(body: [,]),
math.attach(b: none,
base: math.limits(body: text(body: [a])),
t: text(body: [t])),
text(body: [,]),
math.attach(b: text(body: [b]),
base: math.limits(body: text(body: [a])),
t: none),
linebreak(),
math.attach(base: text(body: [a]),
t: text(body: [t]),
tr: text(body: [v])),
text(body: [,]),
math.attach(base: text(body: [a]),
br: text(body: [y]),
tr: text(body: [v])),
text(body: [,]),
math.attach(b: text(body: [b]),
base: text(body: [a]),
br: text(body: [y])),
text(body: [,]),
math.attach(b: text(body: [b]),
base: math.limits(body: text(body: [a])),
bl: text(body: [x])),
text(body: [,]),
math.attach(base: text(body: [a]),
bl: text(body: [x]),
tl: text(body: [u])),
text(body: [,]),
math.attach(base: math.limits(body: text(body: [a])),
t: text(body: [t]),
tl: text(body: [u])),
linebreak(),
math.attach(base: text(body: [a]),
tl: text(body: [u]),
tr: text(body: [v])),
text(body: [,]),
math.attach(base: math.limits(body: text(body: [a])),
br: text(body: [y]),
t: text(body: [t])),
text(body: [,]),
math.attach(b: text(body: [b]),
base: math.limits(body: text(body: [a])),
tr: text(body: [v])),
text(body: [,]),
math.attach(base: text(body: [a]),
bl: text(body: [x]),
br: text(body: [y])),
text(body: [,]),
math.attach(b: text(body: [b]),
base: math.limits(body: text(body: [a])),
tl: text(body: [u])),
text(body: [,]),
math.attach(base: math.limits(body: text(body: [a])),
bl: text(body: [u]),
t: text(body: [t])),
text(body: [,]),
math.attach(b: text(body: [b]),
base: math.limits(body: text(body: [a])),
t: text(body: [t])),
linebreak(),
math.attach(base: text(body: [a]),
bl: text(body: [x]),
br: text(body: [y]),
tl: text(body: [u]),
tr: text(body: [v])),
text(body: [,]),
math.attach(b: text(body: [b]),
base: math.limits(body: text(body: [a])),
bl: text(body: [x]),
br: text(body: [y]),
t: text(body: [t])),
text(body: [,]),
math.attach(b: text(body: [b]),
base: math.limits(body: text(body: [a])),
t: text(body: [t]),
tl: text(body: [u]),
tr: text(body: [v])),
text(body: [,]),
math.attach(b: text(body: [b]),
base: math.limits(body: text(body: [a])),
bl: text(body: [x]),
t: text(body: [t]),
tl: text(body: [u])),
text(body: [,]),
math.attach(b: text(body: [b]),
base: math.limits(body: text(body: [a])),
br: text(body: [y]),
t: text(body: [t]),
tr: text(body: [v])),
text(body: [,]),
math.attach(b: text(body: [b]),
base: text(body: [a]),
bl: text(body: [x]),
br: text(body: [y]),
t: text(body: [t]),
tl: text(body: [u]),
tr: text(body: [v])) },
numbering: none),
parbreak() })