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 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
|
--- parse tree ---
[ Comment
, ParBreak
, Code
"typ/compiler/array-00.typ"
( line 3 , column 2 )
(Set
(Ident (Identifier "page"))
[ KeyValArg (Identifier "width") (Literal (Numeric 150.0 Pt)) ])
, ParBreak
, Comment
, SoftBreak
, Code "typ/compiler/array-00.typ" ( line 6 , column 2 ) (Array [])
, ParBreak
, Comment
, SoftBreak
, Code
"typ/compiler/array-00.typ" ( line 9 , column 2 ) (Literal (Int 1))
, ParBreak
, Comment
, SoftBreak
, Code
"typ/compiler/array-00.typ"
( line 12 , column 2 )
(Array [ Reg (Negated (Literal (Int 1))) ])
, ParBreak
, Comment
, SoftBreak
, Code
"typ/compiler/array-00.typ"
( line 15 , column 2 )
(Array
[ Reg (Literal (Boolean True)) , Reg (Literal (Boolean False)) ])
, ParBreak
, Comment
, SoftBreak
, Code
"typ/compiler/array-00.typ"
( line 18 , column 2 )
(Array
[ Reg (Literal (String "1"))
, Reg
(FuncCall
(Ident (Identifier "rgb")) [ NormalArg (Literal (String "002")) ])
])
, ParBreak
]
--- evaluated ---
document(body: { parbreak(),
parbreak(),
text(body: [
]),
text(body: [()]),
parbreak(),
text(body: [
]),
text(body: [1]),
parbreak(),
text(body: [
]),
text(body: [(-1)]),
parbreak(),
text(body: [
]),
text(body: [(true, false)]),
parbreak(),
text(body: [
]),
text(body: [("1", rgb(0%,0%,0%,100%))]),
parbreak() })
|