typst-0.7: test/typ/text/deco-00.out
--- parse tree ---
[ Code
"typ/text/deco-00.typ"
( line 1 , column 2 )
(Let
(BasicBind (Just (Identifier "test")))
(FuncExpr
[ NormalParam (Identifier "x") , NormalParam (Identifier "y") ]
(Block
(CodeBlock
[ If
[ ( Equals (Ident (Identifier "x")) (Ident (Identifier "y"))
, Block (Content [ Text "\9989" ])
)
, ( Literal (Boolean True)
, Block
(Content
[ Text "\10060"
, Text "("
, Code
"typ/text/deco-00.typ"
( line 1 , column 47 )
(FuncCall
(Ident (Identifier "repr"))
[ NormalArg (Ident (Identifier "x")) ])
, Space
, Text "/"
, Text "="
, Space
, Code
"typ/text/deco-00.typ"
( line 1 , column 59 )
(FuncCall
(Ident (Identifier "repr"))
[ NormalArg (Ident (Identifier "y")) ])
, Text ")"
])
)
]
]))))
, SoftBreak
, Code
"typ/text/deco-00.typ"
( line 2 , column 2 )
(Let
(BasicBind (Just (Identifier "red")))
(FuncCall
(Ident (Identifier "rgb"))
[ NormalArg (Literal (String "fc0030")) ]))
, ParBreak
, Comment
, Code
"typ/text/deco-00.typ"
( line 5 , column 2 )
(FuncCall
(Ident (Identifier "strike"))
[ BlockArg
[ Text "Statements"
, Space
, Text "dreamt"
, Space
, Text "up"
, Space
, Text "by"
, Space
, Text "the"
, Space
, Text "utterly"
, Space
, Text "deranged"
, Text "."
]
])
, ParBreak
, Comment
, Code
"typ/text/deco-00.typ"
( line 8 , column 2 )
(FuncCall
(Ident (Identifier "underline"))
[ KeyValArg (Identifier "offset") (Literal (Numeric 5.0 Pt))
, BlockArg [ Text "Further" , Space , Text "below" , Text "." ]
])
, ParBreak
, Comment
, Code
"typ/text/deco-00.typ"
( line 11 , column 2 )
(FuncCall
(Ident (Identifier "underline"))
[ KeyValArg (Identifier "stroke") (Ident (Identifier "red"))
, KeyValArg (Identifier "evade") (Literal (Boolean False))
, BlockArg
[ Text "Critical"
, Space
, Text "information"
, Space
, Text "is"
, Space
, Text "conveyed"
, Space
, Text "here"
, Text "."
]
])
, ParBreak
, Comment
, Code
"typ/text/deco-00.typ"
( line 14 , column 2 )
(FuncCall
(Ident (Identifier "text"))
[ KeyValArg (Identifier "fill") (Ident (Identifier "red"))
, NormalArg
(FuncCall
(Ident (Identifier "underline"))
[ BlockArg
[ Text "Change"
, Space
, Text "with"
, Space
, Text "the"
, Space
, Text "wind"
, Text "."
]
])
])
, ParBreak
, Comment
, Code
"typ/text/deco-00.typ"
( line 17 , column 2 )
(FuncCall
(Ident (Identifier "overline"))
[ NormalArg
(FuncCall
(Ident (Identifier "underline"))
[ BlockArg
[ Text "Running"
, Space
, Text "amongst"
, Space
, Text "the"
, Space
, Text "wolves"
, Text "."
]
])
])
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
parbreak(),
strike(body: text(body: [Statements dreamt up by the utterly deranged.])),
parbreak(),
underline(body: text(body: [Further below.]),
offset: 5.0pt),
parbreak(),
underline(body: text(body: [Critical information is conveyed here.]),
evade: false,
stroke: rgb(98%,0%,18%,100%)),
parbreak(),
text(body: underline(body: text(body: [Change with the wind.])),
fill: rgb(98%,0%,18%,100%)),
parbreak(),
overline(body: underline(body: text(body: [Running amongst the wolves.]))),
parbreak() })