mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-12-23 08:47:50 +00:00
314 lines
No EOL
16 KiB
Text
314 lines
No EOL
16 KiB
Text
>#let f(..args) = f
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^^^ source.typst meta.expr.let.typst storage.type.typst
|
|
# ^ source.typst meta.expr.let.typst
|
|
# ^ source.typst meta.expr.let.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.let.typst meta.brace.round.typst
|
|
# ^^ source.typst meta.expr.let.typst keyword.operator.spread.typst
|
|
# ^^^^ source.typst meta.expr.let.typst variable.other.readwrite.typst
|
|
# ^ source.typst meta.expr.let.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.let.typst
|
|
# ^^ source.typst meta.expr.let.typst keyword.operator.assignment.typst
|
|
# ^ source.typst meta.expr.let.typst variable.other.readwrite.typst
|
|
>#let g = (f: f)
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^^^ source.typst meta.expr.let.typst storage.type.typst
|
|
# ^ source.typst meta.expr.let.typst
|
|
# ^ source.typst meta.expr.let.typst variable.other.readwrite.typst
|
|
# ^ source.typst meta.expr.let.typst
|
|
# ^^ source.typst meta.expr.let.typst keyword.operator.assignment.typst
|
|
# ^ source.typst meta.expr.let.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.let.typst variable.other.readwrite.typst
|
|
# ^ source.typst meta.expr.let.typst punctuation.separator.colon.typst
|
|
# ^ source.typst meta.expr.let.typst
|
|
# ^ source.typst meta.expr.let.typst variable.other.readwrite.typst
|
|
# ^ source.typst meta.expr.let.typst meta.brace.round.typst
|
|
>#g.insert("g", g)
|
|
#^ source.typst variable.other.readwrite.hash.typst
|
|
# ^ source.typst variable.other.readwrite.typst
|
|
# ^ source.typst meta.expr.call.typst keyword.operator.accessor.typst
|
|
# ^^^^^^ source.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.call.typst string.quoted.double.typst punctuation.definition.string.typst
|
|
# ^ source.typst meta.expr.call.typst string.quoted.double.typst
|
|
# ^ source.typst meta.expr.call.typst string.quoted.double.typst punctuation.definition.string.typst
|
|
# ^ source.typst meta.expr.call.typst punctuation.separator.comma.typst
|
|
# ^ source.typst meta.expr.call.typst
|
|
# ^ source.typst meta.expr.call.typst variable.other.readwrite.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
|
|
>
|
|
>#f()
|
|
#^ source.typst entity.name.function.hash.typst
|
|
# ^ source.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
|
|
>#f() []
|
|
#^ source.typst entity.name.function.hash.typst
|
|
# ^ source.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst
|
|
# ^ source.typst markup.content.brace.typst
|
|
# ^ source.typst markup.content.brace.typst
|
|
>#f() ()
|
|
#^ source.typst entity.name.function.hash.typst
|
|
# ^ source.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst
|
|
# ^ source.typst markup.content.brace.typst
|
|
# ^ source.typst markup.content.brace.typst
|
|
>#f ()
|
|
#^ source.typst variable.other.readwrite.hash.typst
|
|
# ^ source.typst variable.other.readwrite.typst
|
|
# ^ source.typst
|
|
# ^ source.typst markup.content.brace.typst
|
|
# ^ source.typst markup.content.brace.typst
|
|
>#f []
|
|
#^ source.typst variable.other.readwrite.hash.typst
|
|
# ^ source.typst variable.other.readwrite.typst
|
|
# ^ source.typst
|
|
# ^ source.typst markup.content.brace.typst
|
|
# ^ source.typst markup.content.brace.typst
|
|
>#f[] []
|
|
#^ source.typst entity.name.function.hash.typst
|
|
# ^ source.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.square.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.square.typst
|
|
# ^ source.typst
|
|
# ^ source.typst markup.content.brace.typst
|
|
# ^ source.typst markup.content.brace.typst
|
|
>
|
|
>#(f())()
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
>#( f())()
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
# ^ source.typst
|
|
# ^ source.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
>#(f() )()
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
>
|
|
>#((f())(f()))
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
>#f()()
|
|
#^ source.typst entity.name.function.hash.typst
|
|
# ^ source.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
|
|
>#f(f)(f, f)
|
|
#^ source.typst entity.name.function.hash.typst
|
|
# ^ source.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.call.typst variable.other.readwrite.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.call.typst variable.other.readwrite.typst
|
|
# ^ source.typst meta.expr.call.typst punctuation.separator.comma.typst
|
|
# ^ source.typst meta.expr.call.typst
|
|
# ^ source.typst meta.expr.call.typst variable.other.readwrite.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
|
|
>#(g.g.f)()
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
# ^ source.typst variable.other.readwrite.typst
|
|
# ^ source.typst keyword.operator.accessor.typst
|
|
# ^ source.typst variable.other.readwrite.typst
|
|
# ^ source.typst keyword.operator.accessor.typst
|
|
# ^ source.typst variable.other.readwrite.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
>
|
|
>#list.item[]
|
|
#^ source.typst variable.other.readwrite.hash.typst
|
|
# ^^^^ source.typst variable.other.readwrite.typst
|
|
# ^ source.typst meta.expr.call.typst keyword.operator.accessor.typst
|
|
# ^^^^ source.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.square.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.square.typst
|
|
>#list[]
|
|
#^ source.typst entity.name.function.hash.typst
|
|
# ^^^^ source.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.square.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.square.typst
|
|
>
|
|
>#{ f }()
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^ source.typst meta.brace.curly.typst
|
|
# ^ source.typst
|
|
# ^ source.typst variable.other.readwrite.typst
|
|
# ^ source.typst
|
|
# ^ source.typst meta.brace.curly.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
>#({ f })()
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
# ^ source.typst meta.brace.curly.typst
|
|
# ^ source.typst
|
|
# ^ source.typst variable.other.readwrite.typst
|
|
# ^ source.typst
|
|
# ^ source.typst meta.brace.curly.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
>#{ f } ()
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^ source.typst meta.brace.curly.typst
|
|
# ^ source.typst
|
|
# ^ source.typst variable.other.readwrite.typst
|
|
# ^ source.typst
|
|
# ^ source.typst meta.brace.curly.typst
|
|
# ^ source.typst
|
|
# ^ source.typst markup.content.brace.typst
|
|
# ^ source.typst markup.content.brace.typst
|
|
>#({ f }) ()
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
# ^ source.typst meta.brace.curly.typst
|
|
# ^ source.typst
|
|
# ^ source.typst variable.other.readwrite.typst
|
|
# ^ source.typst
|
|
# ^ source.typst meta.brace.curly.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
# ^ source.typst
|
|
# ^ source.typst markup.content.brace.typst
|
|
# ^ source.typst markup.content.brace.typst
|
|
>
|
|
>#(list./*g*/item[])
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
# ^^^^ source.typst variable.other.readwrite.typst
|
|
# ^ source.typst keyword.operator.accessor.typst
|
|
# ^^ source.typst comment.block.typst punctuation.definition.comment.typst
|
|
# ^ source.typst comment.block.typst
|
|
# ^^ source.typst comment.block.typst
|
|
# ^^^^ source.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.square.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.square.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
>#(list./*g*/ item[])
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
# ^^^^ source.typst variable.other.readwrite.typst
|
|
# ^ source.typst keyword.operator.accessor.typst
|
|
# ^^ source.typst comment.block.typst punctuation.definition.comment.typst
|
|
# ^ source.typst comment.block.typst
|
|
# ^^ source.typst comment.block.typst
|
|
# ^ source.typst
|
|
# ^^^^ source.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.square.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.square.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
>#(f /*g*/ ())
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
# ^ source.typst variable.other.readwrite.typst
|
|
# ^ source.typst
|
|
# ^^ source.typst comment.block.typst punctuation.definition.comment.typst
|
|
# ^ source.typst comment.block.typst
|
|
# ^^ source.typst comment.block.typst
|
|
# ^ source.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
>
|
|
>
|
|
>#{
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^ source.typst meta.brace.curly.typst
|
|
> ("").join()
|
|
#^^ source.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
# ^ source.typst string.quoted.double.typst punctuation.definition.string.typst
|
|
# ^ source.typst string.quoted.double.typst punctuation.definition.string.typst
|
|
# ^ source.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.call.typst keyword.operator.accessor.typst
|
|
# ^^^^ source.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
|
|
>}
|
|
#^ source.typst meta.brace.curly.typst
|
|
>
|
|
>#test([#": "])
|
|
#^ source.typst entity.name.function.hash.typst
|
|
# ^^^^ source.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.square.typst
|
|
# ^ source.typst meta.expr.call.typst string.hash.hash.typst
|
|
# ^ source.typst meta.expr.call.typst string.quoted.double.typst punctuation.definition.string.typst
|
|
# ^^ source.typst meta.expr.call.typst string.quoted.double.typst
|
|
# ^ source.typst meta.expr.call.typst string.quoted.double.typst punctuation.definition.string.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.square.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
|
|
>#{}
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^ source.typst meta.brace.curly.typst
|
|
# ^ source.typst meta.brace.curly.typst
|
|
>
|
|
>#assert(str(it.fields().label))
|
|
#^ source.typst entity.name.function.hash.typst
|
|
# ^^^^^^ source.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^^^ source.typst meta.expr.call.typst meta.expr.call.typst entity.name.type.primitive.typst
|
|
# ^ source.typst meta.expr.call.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^^ source.typst meta.expr.call.typst meta.expr.call.typst variable.other.readwrite.typst
|
|
# ^ source.typst meta.expr.call.typst meta.expr.call.typst meta.expr.call.typst keyword.operator.accessor.typst
|
|
# ^^^^^^ source.typst meta.expr.call.typst meta.expr.call.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.call.typst meta.expr.call.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.call.typst meta.expr.call.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.call.typst meta.expr.call.typst meta.expr.call.typst keyword.operator.accessor.typst
|
|
# ^^^^^ source.typst meta.expr.call.typst meta.expr.call.typst meta.expr.call.typst variable.other.readwrite.typst
|
|
# ^ source.typst meta.expr.call.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
|
|
>#{}
|
|
#^ source.typst keyword.control.hash.typst
|
|
# ^ source.typst meta.brace.curly.typst
|
|
# ^ source.typst meta.brace.curly.typst
|
|
>
|
|
>#table(..range(6))
|
|
#^ source.typst entity.name.function.hash.typst
|
|
# ^^^^^ source.typst meta.expr.call.typst entity.name.function.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^^ source.typst meta.expr.call.typst keyword.operator.spread.typst
|
|
# ^^^^^ source.typst meta.expr.call.typst meta.expr.call.typst support.function.builtin.typst
|
|
# ^ source.typst meta.expr.call.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.call.typst meta.expr.call.typst constant.numeric.integer.typst
|
|
# ^ source.typst meta.expr.call.typst meta.expr.call.typst meta.brace.round.typst
|
|
# ^ source.typst meta.expr.call.typst meta.brace.round.typst
|
|
> |