TypeScript-TmLanguage/tests/baselines/Issue251.baseline.txt

220 строки
12 KiB
Plaintext

original file
-----------------------------------
for(var j=0; (j<rows && l<num); j++) {
for(var k = 0; (k<cols && l<num); k++){
output.push( {h, w, x: k*w, y: h*j, file: file.file});
l++;
}
}
-----------------------------------
Grammar: TypeScript.tmLanguage
-----------------------------------
>for(var j=0; (j<rows && l<num); j++) {
^^^
source.ts keyword.control.loop.ts
^
source.ts meta.brace.round.ts
^^^
source.ts meta.var.expr.ts storage.type.ts
^
source.ts meta.var.expr.ts
^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.definition.variable.ts variable.other.readwrite.ts
^
source.ts meta.var.expr.ts keyword.operator.assignment.ts
^
source.ts meta.var.expr.ts constant.numeric.decimal.ts
^
source.ts punctuation.terminator.statement.ts
^
source.ts
^
source.ts meta.brace.round.ts
^
source.ts variable.other.readwrite.ts
^
source.ts keyword.operator.relational.ts
^^^^
source.ts variable.other.readwrite.ts
^
source.ts
^^
source.ts keyword.operator.logical.ts
^
source.ts
^
source.ts variable.other.readwrite.ts
^
source.ts keyword.operator.relational.ts
^^^
source.ts variable.other.readwrite.ts
^
source.ts meta.brace.round.ts
^
source.ts punctuation.terminator.statement.ts
^
source.ts
^
source.ts variable.other.readwrite.ts
^^
source.ts keyword.operator.increment.ts
^
source.ts meta.brace.round.ts
^
source.ts
^
source.ts meta.block.ts punctuation.definition.block.ts
> for(var k = 0; (k<cols && l<num); k++){
^^
source.ts meta.block.ts
^^^
source.ts meta.block.ts keyword.control.loop.ts
^
source.ts meta.block.ts meta.brace.round.ts
^^^
source.ts meta.block.ts meta.var.expr.ts storage.type.ts
^
source.ts meta.block.ts meta.var.expr.ts
^
source.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.definition.variable.ts variable.other.readwrite.ts
^
source.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts
^
source.ts meta.block.ts meta.var.expr.ts keyword.operator.assignment.ts
^
source.ts meta.block.ts meta.var.expr.ts
^
source.ts meta.block.ts meta.var.expr.ts constant.numeric.decimal.ts
^
source.ts meta.block.ts punctuation.terminator.statement.ts
^
source.ts meta.block.ts
^
source.ts meta.block.ts meta.brace.round.ts
^
source.ts meta.block.ts variable.other.readwrite.ts
^
source.ts meta.block.ts keyword.operator.relational.ts
^^^^
source.ts meta.block.ts variable.other.readwrite.ts
^
source.ts meta.block.ts
^^
source.ts meta.block.ts keyword.operator.logical.ts
^
source.ts meta.block.ts
^
source.ts meta.block.ts variable.other.readwrite.ts
^
source.ts meta.block.ts keyword.operator.relational.ts
^^^
source.ts meta.block.ts variable.other.readwrite.ts
^
source.ts meta.block.ts meta.brace.round.ts
^
source.ts meta.block.ts punctuation.terminator.statement.ts
^
source.ts meta.block.ts
^
source.ts meta.block.ts variable.other.readwrite.ts
^^
source.ts meta.block.ts keyword.operator.increment.ts
^
source.ts meta.block.ts meta.brace.round.ts
^
source.ts meta.block.ts meta.block.ts punctuation.definition.block.ts
> output.push( {h, w, x: k*w, y: h*j, file: file.file});
^^^^
source.ts meta.block.ts meta.block.ts
^^^^^^
source.ts meta.block.ts meta.block.ts meta.function-call.ts variable.other.object.ts
^
source.ts meta.block.ts meta.block.ts meta.function-call.ts punctuation.accessor.ts
^^^^
source.ts meta.block.ts meta.block.ts meta.function-call.ts support.function.ts
^
source.ts meta.block.ts meta.block.ts meta.brace.round.ts
^
source.ts meta.block.ts meta.block.ts
^
source.ts meta.block.ts meta.block.ts meta.objectliteral.ts punctuation.definition.block.ts
^
source.ts meta.block.ts meta.block.ts meta.objectliteral.ts meta.object.member.ts variable.other.readwrite.ts
^
source.ts meta.block.ts meta.block.ts meta.objectliteral.ts punctuation.separator.comma.ts
^
source.ts meta.block.ts meta.block.ts meta.objectliteral.ts
^
source.ts meta.block.ts meta.block.ts meta.objectliteral.ts meta.object.member.ts variable.other.readwrite.ts
^
source.ts meta.block.ts meta.block.ts meta.objectliteral.ts punctuation.separator.comma.ts
^
source.ts meta.block.ts meta.block.ts meta.objectliteral.ts
^
source.ts meta.block.ts meta.block.ts meta.objectliteral.ts meta.object.member.ts meta.object-literal.key.ts
^
source.ts meta.block.ts meta.block.ts meta.objectliteral.ts meta.object.member.ts meta.object-literal.key.ts punctuation.separator.key-value.ts
^
source.ts meta.block.ts meta.block.ts meta.objectliteral.ts meta.object.member.ts
^
source.ts meta.block.ts meta.block.ts meta.objectliteral.ts meta.object.member.ts variable.other.readwrite.ts
^
source.ts meta.block.ts meta.block.ts meta.objectliteral.ts meta.object.member.ts keyword.operator.arithmetic.ts
^
source.ts meta.block.ts meta.block.ts meta.objectliteral.ts meta.object.member.ts variable.other.readwrite.ts
^
source.ts meta.block.ts meta.block.ts meta.objectliteral.ts punctuation.separator.comma.ts
^
source.ts meta.block.ts meta.block.ts meta.objectliteral.ts
^
source.ts meta.block.ts meta.block.ts meta.objectliteral.ts meta.object.member.ts meta.object-literal.key.ts
^
source.ts meta.block.ts meta.block.ts meta.objectliteral.ts meta.object.member.ts meta.object-literal.key.ts punctuation.separator.key-value.ts
^
source.ts meta.block.ts meta.block.ts meta.objectliteral.ts meta.object.member.ts
^
source.ts meta.block.ts meta.block.ts meta.objectliteral.ts meta.object.member.ts variable.other.readwrite.ts
^
source.ts meta.block.ts meta.block.ts meta.objectliteral.ts meta.object.member.ts keyword.operator.arithmetic.ts
^
source.ts meta.block.ts meta.block.ts meta.objectliteral.ts meta.object.member.ts variable.other.readwrite.ts
^
source.ts meta.block.ts meta.block.ts meta.objectliteral.ts punctuation.separator.comma.ts
^
source.ts meta.block.ts meta.block.ts meta.objectliteral.ts
^^^^
source.ts meta.block.ts meta.block.ts meta.objectliteral.ts meta.object.member.ts meta.object-literal.key.ts
^
source.ts meta.block.ts meta.block.ts meta.objectliteral.ts meta.object.member.ts meta.object-literal.key.ts punctuation.separator.key-value.ts
^
source.ts meta.block.ts meta.block.ts meta.objectliteral.ts meta.object.member.ts
^^^^
source.ts meta.block.ts meta.block.ts meta.objectliteral.ts meta.object.member.ts variable.other.object.ts
^
source.ts meta.block.ts meta.block.ts meta.objectliteral.ts meta.object.member.ts punctuation.accessor.ts
^^^^
source.ts meta.block.ts meta.block.ts meta.objectliteral.ts meta.object.member.ts variable.other.property.ts
^
source.ts meta.block.ts meta.block.ts meta.objectliteral.ts punctuation.definition.block.ts
^
source.ts meta.block.ts meta.block.ts meta.brace.round.ts
^
source.ts meta.block.ts meta.block.ts punctuation.terminator.statement.ts
> l++;
^^^^
source.ts meta.block.ts meta.block.ts
^
source.ts meta.block.ts meta.block.ts variable.other.readwrite.ts
^^
source.ts meta.block.ts meta.block.ts keyword.operator.increment.ts
^
source.ts meta.block.ts meta.block.ts punctuation.terminator.statement.ts
> }
^^
source.ts meta.block.ts meta.block.ts
^
source.ts meta.block.ts meta.block.ts punctuation.definition.block.ts
>}
^
source.ts meta.block.ts punctuation.definition.block.ts