tinymist/syntaxes/textmate/tests/unit/basic/call-chain.typ.snap
2025-01-08 11:24:55 +08:00

37 lines
No EOL
2.4 KiB
Text

>#let a = (1,);
#^ 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 constant.numeric.integer.typst
# ^ source.typst meta.expr.let.typst punctuation.separator.comma.typst
# ^ source.typst meta.expr.let.typst meta.brace.round.typst
# ^ source.typst punctuation.terminator.statement.typst
>#a.map(it => it).map(it => it); ()
#^ 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 variable.other.readwrite.typst
# ^ source.typst meta.expr.call.typst
# ^^ source.typst meta.expr.call.typst storage.type.function.arrow.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
# ^ 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 variable.other.readwrite.typst
# ^ source.typst meta.expr.call.typst
# ^^ source.typst meta.expr.call.typst storage.type.function.arrow.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
# ^ source.typst punctuation.terminator.statement.typst
# ^ source.typst
# ^ source.typst markup.content.brace.typst
# ^ source.typst markup.content.brace.typst