typst-0.9: test/typ/compiler/ops-13.out
--- parse tree ---
[ Comment
, SoftBreak
, Code
"typ/compiler/ops-13.typ"
( line 2 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg
(InCollection (Literal (String "hi")) (Literal (String "worship")))
, NormalArg (Literal (Boolean True))
])
, SoftBreak
, Code
"typ/compiler/ops-13.typ"
( line 3 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg
(InCollection
(Literal (String "hi"))
(Array
[ Reg (Literal (String "we"))
, Reg (Literal (String "hi"))
, Reg (Literal (String "bye"))
]))
, NormalArg (Literal (Boolean True))
])
, SoftBreak
, Code
"typ/compiler/ops-13.typ"
( line 4 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg
(InCollection
(Literal (String "Hey")) (Literal (String "abHeyCd")))
, NormalArg (Literal (Boolean True))
])
, SoftBreak
, Code
"typ/compiler/ops-13.typ"
( line 5 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg
(InCollection
(Literal (String "Hey")) (Literal (String "abheyCd")))
, NormalArg (Literal (Boolean False))
])
, SoftBreak
, Code
"typ/compiler/ops-13.typ"
( line 6 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg
(InCollection
(Literal (Int 5))
(FuncCall
(Ident (Identifier "range")) [ NormalArg (Literal (Int 10)) ]))
, NormalArg (Literal (Boolean True))
])
, SoftBreak
, Code
"typ/compiler/ops-13.typ"
( line 7 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg
(InCollection
(Literal (Int 12))
(FuncCall
(Ident (Identifier "range")) [ NormalArg (Literal (Int 10)) ]))
, NormalArg (Literal (Boolean False))
])
, SoftBreak
, Code
"typ/compiler/ops-13.typ"
( line 8 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg (InCollection (Literal (String "")) (Array []))
, NormalArg (Literal (Boolean False))
])
, SoftBreak
, Code
"typ/compiler/ops-13.typ"
( line 9 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg
(InCollection
(Literal (String "key"))
(Dict
[ Reg ( Ident (Identifier "key") , Literal (String "value") ) ]))
, NormalArg (Literal (Boolean True))
])
, SoftBreak
, Code
"typ/compiler/ops-13.typ"
( line 10 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg
(InCollection
(Literal (String "value"))
(Dict
[ Reg ( Ident (Identifier "key") , Literal (String "value") ) ]))
, NormalArg (Literal (Boolean False))
])
, SoftBreak
, Code
"typ/compiler/ops-13.typ"
( line 11 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg
(Not
(InCollection
(Literal (String "Hey")) (Literal (String "abheyCd"))))
, NormalArg (Literal (Boolean True))
])
, SoftBreak
, Code
"typ/compiler/ops-13.typ"
( line 12 , column 2 )
(FuncCall
(Ident (Identifier "test"))
[ NormalArg
(Not
(InCollection (Literal (String "a")) (Literal (String "abc"))))
, NormalArg (Literal (Boolean False))
])
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
text(body: [✅]),
text(body: [
]),
text(body: [✅]),
text(body: [
]),
text(body: [✅]),
text(body: [
]),
text(body: [✅]),
text(body: [
]),
text(body: [✅]),
text(body: [
]),
text(body: [✅]),
text(body: [
]),
text(body: [✅]),
text(body: [
]),
text(body: [✅]),
text(body: [
]),
text(body: [✅]),
text(body: [
]),
text(body: [✅]),
text(body: [
]),
text(body: [✅]),
parbreak() })