typst-0.9: test/typ/compiler/string-07.out
--- parse tree ---
[ Comment
, SoftBreak
, Code
"typ/compiler/string-07.typ"
( line 2 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg
(FuncCall
(FieldAccess (Ident (Identifier "slice")) (Literal (String "abc")))
[ NormalArg (Literal (Int 1)) , NormalArg (Literal (Int 2)) ])
, NormalArg (Literal (String "b"))
])
, SoftBreak
, Code
"typ/compiler/string-07.typ"
( line 3 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg
(FuncCall
(FieldAccess
(Ident (Identifier "slice")) (Literal (String "abc\127969def")))
[ NormalArg (Literal (Int 2)) , NormalArg (Literal (Int 7)) ])
, NormalArg (Literal (String "c\127969"))
])
, SoftBreak
, Code
"typ/compiler/string-07.typ"
( line 4 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg
(FuncCall
(FieldAccess
(Ident (Identifier "slice")) (Literal (String "abc\127969def")))
[ NormalArg (Literal (Int 2))
, NormalArg (Negated (Literal (Int 2)))
])
, NormalArg (Literal (String "c\127969d"))
])
, SoftBreak
, Code
"typ/compiler/string-07.typ"
( line 5 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg
(FuncCall
(FieldAccess
(Ident (Identifier "slice")) (Literal (String "abc\127969def")))
[ NormalArg (Negated (Literal (Int 3)))
, NormalArg (Negated (Literal (Int 1)))
])
, NormalArg (Literal (String "de"))
])
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
text(body: [✅]),
text(body: [
]),
text(body: [❌(]),
text(body: ["c🏡def"]),
text(body: [ /= ]),
text(body: ["c🏡"]),
text(body: [)]),
text(body: [
]),
text(body: [✅]),
text(body: [
]),
text(body: [✅]),
parbreak() })