mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-12-23 08:47:50 +00:00
* fix: comment and set rules * fix: losen for rules * fix: chore field, escape * fix: hash termination * dev: handle math mode * fix: terminate expressions on right braces * dev: match spread operator * dev: remove complex check on if * dev: add two bugs * dev: fix if/while conditions * fix: terminate expressions on right braces 2
192 lines
No EOL
12 KiB
Text
192 lines
No EOL
12 KiB
Text
>#for i
|
|
#^ source.typst punctuation.definition.hash.typst
|
|
# ^^^^^^ source.typst meta.expr.for.typst
|
|
>#for i in
|
|
#^ source.typst meta.expr.for.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.operator.range.typst
|
|
>#for i in range(1)
|
|
#^ source.typst meta.expr.for.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.operator.range.typst
|
|
# ^ source.typst meta.expr.for.typst
|
|
# ^^^^^ source.typst meta.expr.for.typst meta.expr.call.typst entity.name.function.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 meta.expr.for.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.operator.range.typst
|
|
# ^ source.typst meta.expr.for.typst
|
|
# ^^^^^ source.typst meta.expr.for.typst meta.expr.call.typst entity.name.function.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 punctuation.definition.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.operator.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 punctuation.definition.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.operator.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 punctuation.definition.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.operator.range.typst
|
|
# ^ source.typst meta.expr.for.typst
|
|
# ^^^^^ source.typst meta.expr.for.typst meta.expr.call.typst entity.name.function.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 punctuation.definition.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.operator.range.typst
|
|
# ^ source.typst meta.expr.for.typst
|
|
# ^^^^^ source.typst meta.expr.for.typst meta.expr.call.typst entity.name.function.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 punctuation.definition.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.operator.range.typst
|
|
# ^ source.typst meta.expr.for.typst
|
|
# ^^^^^ source.typst meta.expr.for.typst meta.expr.call.typst entity.name.function.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 punctuation.definition.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.operator.range.typst
|
|
# ^ source.typst meta.expr.for.typst
|
|
# ^^^^^ source.typst meta.expr.for.typst meta.expr.call.typst entity.name.function.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 punctuation.definition.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.operator.range.typst
|
|
# ^ source.typst meta.expr.for.typst
|
|
# ^^^^^ source.typst meta.expr.for.typst meta.expr.call.typst entity.name.function.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 punctuation.definition.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.operator.range.typst
|
|
# ^ source.typst meta.expr.for.typst
|
|
# ^^^^^ source.typst meta.expr.for.typst meta.expr.call.typst entity.name.function.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 punctuation.definition.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.operator.range.typst
|
|
# ^ source.typst meta.expr.for.typst
|
|
# ^^^^^ source.typst meta.expr.for.typst meta.expr.call.typst entity.name.function.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) {} {}
|
|
#^ source.typst punctuation.definition.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.operator.range.typst
|
|
# ^ source.typst meta.expr.for.typst
|
|
# ^^^^^ source.typst meta.expr.for.typst meta.expr.call.typst entity.name.function.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 meta.expr.for.typst
|
|
# ^ source.typst meta.expr.for.typst meta.brace.curly.typst
|
|
# ^ source.typst meta.expr.for.typst meta.brace.curly.typst
|
|
>1
|
|
#^^ source.typst |