tinymist/syntaxes/textmate/tests/unit/basic/control-flow-for.typ.snap
2025-01-07 14:20:00 +08:00

196 lines
No EOL
12 KiB
Text

>#for i
#^ 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
>#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
>#for i in range(1)
#^ 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.expr.call.typst support.function.builtin.typst
# ^ source.typst meta.expr.for.typst meta.expr.call.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst meta.expr.call.typst constant.numeric.integer.typst
# ^ source.typst meta.expr.for.typst meta.expr.call.typst meta.brace.round.typst
>#for i in range(1) {}
#^ 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.expr.call.typst support.function.builtin.typst
# ^ source.typst meta.expr.for.typst meta.expr.call.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst meta.expr.call.typst constant.numeric.integer.typst
# ^ source.typst meta.expr.for.typst meta.expr.call.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 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 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.curly.typst
# ^ source.typst meta.expr.for.typst meta.brace.curly.typst
>#for i in {}; 1
#^ 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.curly.typst
# ^ source.typst meta.expr.for.typst meta.brace.curly.typst
# ^ source.typst punctuation.terminator.statement.typst
# ^^^ source.typst
>#for i in range(1) {}; 1
#^ 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.expr.call.typst support.function.builtin.typst
# ^ source.typst meta.expr.for.typst meta.expr.call.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst meta.expr.call.typst constant.numeric.integer.typst
# ^ source.typst meta.expr.for.typst meta.expr.call.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 meta.brace.curly.typst
# ^ source.typst punctuation.terminator.statement.typst
# ^^^ source.typst
>#for i in range(1) {}1
#^ 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.expr.call.typst support.function.builtin.typst
# ^ source.typst meta.expr.for.typst meta.expr.call.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst meta.expr.call.typst constant.numeric.integer.typst
# ^ source.typst meta.expr.for.typst meta.expr.call.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 meta.brace.curly.typst
# ^^ source.typst
>#for i in range(1) {}a
#^ 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.expr.call.typst support.function.builtin.typst
# ^ source.typst meta.expr.for.typst meta.expr.call.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst meta.expr.call.typst constant.numeric.integer.typst
# ^ source.typst meta.expr.for.typst meta.expr.call.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 meta.brace.curly.typst
# ^^ source.typst
>#for i in range(1) {} 1
#^ 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.expr.call.typst support.function.builtin.typst
# ^ source.typst meta.expr.for.typst meta.expr.call.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst meta.expr.call.typst constant.numeric.integer.typst
# ^ source.typst meta.expr.for.typst meta.expr.call.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 meta.brace.curly.typst
# ^^^ source.typst
>#for i in range(1) {} a
#^ 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.expr.call.typst support.function.builtin.typst
# ^ source.typst meta.expr.for.typst meta.expr.call.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst meta.expr.call.typst constant.numeric.integer.typst
# ^ source.typst meta.expr.for.typst meta.expr.call.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 meta.brace.curly.typst
# ^^^ source.typst
>#for i in range(1) {}
#^ 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.expr.call.typst support.function.builtin.typst
# ^ source.typst meta.expr.for.typst meta.expr.call.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst meta.expr.call.typst constant.numeric.integer.typst
# ^ source.typst meta.expr.for.typst meta.expr.call.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 meta.brace.curly.typst
>#for i in range(1) {}; {}
#^ 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.expr.call.typst support.function.builtin.typst
# ^ source.typst meta.expr.for.typst meta.expr.call.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst meta.expr.call.typst constant.numeric.integer.typst
# ^ source.typst meta.expr.for.typst meta.expr.call.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 meta.brace.curly.typst
# ^ source.typst punctuation.terminator.statement.typst
# ^ source.typst
# ^ source.typst markup.content.brace.typst
# ^ source.typst markup.content.brace.typst
>#for i in range(1) {} {}
#^ 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.expr.call.typst support.function.builtin.typst
# ^ source.typst meta.expr.for.typst meta.expr.call.typst meta.brace.round.typst
# ^ source.typst meta.expr.for.typst meta.expr.call.typst constant.numeric.integer.typst
# ^ source.typst meta.expr.for.typst meta.expr.call.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 meta.brace.curly.typst
# ^ source.typst
# ^ source.typst markup.content.brace.typst
# ^ source.typst markup.content.brace.typst
>1
#^^ source.typst