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

84 строки
4.5 KiB
Plaintext

original file
-----------------------------------
return this.travelWorld((cell: Cell) => {
cell.live = Math.random() < this.initialLifeProbability;
return cell;
});
-----------------------------------
> return this.travelWorld((cell: Cell) => {
^^^^^^^^^^^^
source.ts
^^^^^^
source.ts keyword.control.flow.ts
^
source.ts
^^^^
source.ts variable.language.this.ts
^
source.ts
^^^^^^^^^^^
source.ts entity.name.function.ts
^
source.ts meta.brace.round.ts
^
source.ts meta.arrow.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
^^^^
source.ts meta.arrow.ts meta.parameters.ts variable.parameter.ts
^
source.ts meta.arrow.ts meta.parameters.ts meta.type.annotation.ts
^
source.ts meta.arrow.ts meta.parameters.ts meta.type.annotation.ts
^^^^
source.ts meta.arrow.ts meta.parameters.ts meta.type.annotation.ts entity.name.type.ts
^
source.ts meta.arrow.ts meta.parameters.ts punctuation.definition.parameters.end.ts
^
source.ts meta.arrow.ts
^^
source.ts meta.arrow.ts storage.type.function.arrow.ts
^
source.ts meta.arrow.ts
^
source.ts meta.arrow.ts meta.block.ts punctuation.definition.block.ts
^^
source.ts meta.arrow.ts meta.block.ts
> cell.live = Math.random() < this.initialLifeProbability;
^^^^^^^^^^^^^^^^^^^^^^^^^^
source.ts meta.arrow.ts meta.block.ts
^
source.ts meta.arrow.ts meta.block.ts keyword.operator.assignment.ts
^^^^^^
source.ts meta.arrow.ts meta.block.ts
^^^^^^
source.ts meta.arrow.ts meta.block.ts entity.name.function.ts
^
source.ts meta.arrow.ts meta.block.ts meta.brace.round.ts
^
source.ts meta.arrow.ts meta.block.ts meta.brace.round.ts
^
source.ts meta.arrow.ts meta.block.ts
^
source.ts meta.arrow.ts meta.block.ts keyword.operator.relational.ts
^
source.ts meta.arrow.ts meta.block.ts
^^^^
source.ts meta.arrow.ts meta.block.ts variable.language.this.ts
^^^^^^^^^^^^^^^^^^^^^^^^^^
source.ts meta.arrow.ts meta.block.ts
> return cell;
^^^^^^^^^^^^^^^^
source.ts meta.arrow.ts meta.block.ts
^^^^^^
source.ts meta.arrow.ts meta.block.ts keyword.control.flow.ts
^^^^^^^^
source.ts meta.arrow.ts meta.block.ts
> });
^^^^^^^^^^^^
source.ts meta.arrow.ts meta.block.ts
^
source.ts meta.arrow.ts meta.block.ts punctuation.definition.block.ts
^
source.ts meta.brace.round.ts
^^
source.ts