tinymist/syntaxes/textmate/tests/unit/basic/control-flow-for-destruct.typ.snap
Myriad-Dreamin 03ac73bd52
feat: change some names of textmate scopes (#1119)
* feat: change some special kind of string tokens

* feat: change some special kind of constant tokens

* feat: change some special kind of keyword tokens

* test: update snapshot
2025-01-07 14:00:21 +08:00

179 lines
No EOL
11 KiB
Text

>#for i in () { }
#^ source.typst keyword.control.hash.typst
# ^^^ source.typst meta.expr.for.typst keyword.control.loop.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst variable.other.readwrite.typst
# ^ source.typst meta.expr.for.typst
# ^^ source.typst meta.expr.for.typst keyword.other.range.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.curly.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.curly.typst
>#for (i) in () { }
#^ source.typst keyword.control.hash.typst
# ^^^ source.typst meta.expr.for.typst keyword.control.loop.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst variable.other.readwrite.typst
# ^ source.typst meta.expr.for.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst
# ^^ source.typst meta.expr.for.typst keyword.other.range.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.curly.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.curly.typst
>#for (i,) in () { }
#^ source.typst keyword.control.hash.typst
# ^^^ source.typst meta.expr.for.typst keyword.control.loop.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst variable.other.readwrite.typst
# ^ source.typst meta.expr.for.typst punctuation.separator.comma.typst
# ^ source.typst meta.expr.for.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst
# ^^ source.typst meta.expr.for.typst keyword.other.range.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.curly.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.curly.typst
>#for (i, ..) in () { }
#^ source.typst keyword.control.hash.typst
# ^^^ source.typst meta.expr.for.typst keyword.control.loop.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst variable.other.readwrite.typst
# ^ source.typst meta.expr.for.typst punctuation.separator.comma.typst
# ^ source.typst meta.expr.for.typst
# ^^ source.typst meta.expr.for.typst keyword.operator.spread.typst
# ^ source.typst meta.expr.for.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst
# ^^ source.typst meta.expr.for.typst keyword.other.range.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.curly.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.curly.typst
>#for (.., i) in () { }
#^ source.typst keyword.control.hash.typst
# ^^^ source.typst meta.expr.for.typst keyword.control.loop.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.round.typst
# ^^ source.typst meta.expr.for.typst keyword.operator.spread.typst
# ^ source.typst meta.expr.for.typst punctuation.separator.comma.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst variable.other.readwrite.typst
# ^ source.typst meta.expr.for.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst
# ^^ source.typst meta.expr.for.typst keyword.other.range.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.curly.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.curly.typst
>#for (i: 1, ..) in () { }
#^ source.typst keyword.control.hash.typst
# ^^^ source.typst meta.expr.for.typst keyword.control.loop.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst variable.other.readwrite.typst
# ^ source.typst meta.expr.for.typst punctuation.separator.colon.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst constant.numeric.integer.typst
# ^ source.typst meta.expr.for.typst punctuation.separator.comma.typst
# ^ source.typst meta.expr.for.typst
# ^^ source.typst meta.expr.for.typst keyword.operator.spread.typst
# ^ source.typst meta.expr.for.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst
# ^^ source.typst meta.expr.for.typst keyword.other.range.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.curly.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.curly.typst
>#for (.., i: 1) in () { }
#^ source.typst keyword.control.hash.typst
# ^^^ source.typst meta.expr.for.typst keyword.control.loop.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.round.typst
# ^^ source.typst meta.expr.for.typst keyword.operator.spread.typst
# ^ source.typst meta.expr.for.typst punctuation.separator.comma.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst variable.other.readwrite.typst
# ^ source.typst meta.expr.for.typst punctuation.separator.colon.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst constant.numeric.integer.typst
# ^ source.typst meta.expr.for.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst
# ^^ source.typst meta.expr.for.typst keyword.other.range.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.curly.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.curly.typst
>#for (i: 1, a, ..) in () { }
#^ source.typst keyword.control.hash.typst
# ^^^ source.typst meta.expr.for.typst keyword.control.loop.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst variable.other.readwrite.typst
# ^ source.typst meta.expr.for.typst punctuation.separator.colon.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst constant.numeric.integer.typst
# ^ source.typst meta.expr.for.typst punctuation.separator.comma.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst variable.other.readwrite.typst
# ^ source.typst meta.expr.for.typst punctuation.separator.comma.typst
# ^ source.typst meta.expr.for.typst
# ^^ source.typst meta.expr.for.typst keyword.operator.spread.typst
# ^ source.typst meta.expr.for.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst
# ^^ source.typst meta.expr.for.typst keyword.other.range.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.curly.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.curly.typst
>#for (.., i: 1, b) in () { }
#^ source.typst keyword.control.hash.typst
# ^^^ source.typst meta.expr.for.typst keyword.control.loop.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.round.typst
# ^^ source.typst meta.expr.for.typst keyword.operator.spread.typst
# ^ source.typst meta.expr.for.typst punctuation.separator.comma.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst variable.other.readwrite.typst
# ^ source.typst meta.expr.for.typst punctuation.separator.colon.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst constant.numeric.integer.typst
# ^ source.typst meta.expr.for.typst punctuation.separator.comma.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst variable.other.readwrite.typst
# ^ source.typst meta.expr.for.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst
# ^^ source.typst meta.expr.for.typst keyword.other.range.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.curly.typst
# ^ source.typst meta.expr.for.typst
# ^ source.typst meta.expr.for.typst meta.brace.curly.typst