File: construct-03.out

package info (click to toggle)
haskell-typst 0.9-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 16,332 kB
  • sloc: haskell: 8,684; xml: 32; makefile: 3
file content (30 lines) | stat: -rw-r--r-- 816 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- parse tree ---
[ Comment
, SoftBreak
, Text "A"
, Space
, Code
    "typ/compiler/construct-03.typ"
    ( line 2 , column 4 )
    (FuncCall
       (Ident (Identifier "box"))
       [ NormalArg
           (FuncCall
              (Ident (Identifier "rect"))
              [ KeyValArg (Identifier "fill") (Ident (Identifier "yellow"))
              , KeyValArg (Identifier "inset") (Literal (Numeric 5.0 Pt))
              , NormalArg (FuncCall (Ident (Identifier "rect")) [])
              ])
       ])
, Space
, Text "B"
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
A ]), 
                 box(body: rect(body: rect(), 
                                fill: rgb(100%,86%,0%,100%), 
                                inset: 5.0pt)), 
                 text(body: [ B]), 
                 parbreak() })