File: raw-code-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 (28 lines) | stat: -rw-r--r-- 783 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
--- parse tree ---
[ Code
    "typ/text/raw-code-03.typ"
    ( line 1 , column 2 )
    (Set
       (Ident (Identifier "page"))
       [ KeyValArg (Identifier "width") (Literal (Numeric 180.0 Pt)) ])
, SoftBreak
, Code
    "typ/text/raw-code-03.typ"
    ( line 2 , column 2 )
    (Set
       (Ident (Identifier "text"))
       [ NormalArg (Literal (Numeric 6.0 Pt)) ])
, ParBreak
, RawBlock
    "cpp"
    "#include <iostream>\n\nint main() {\n  std::cout << \"Hello, world!\";\n}"
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]), 
                 parbreak(), 
                 raw(block: true, 
                     lang: "cpp", 
                     text: "#include <iostream>\n\nint main() {\n  std::cout << \"Hello, world!\";\n}"), 
                 parbreak() })