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

280 строки
18 KiB
Plaintext
Исходник Обычный вид История

original file
-----------------------------------
var someVar = ^^new ^^Thing<^^number, ^^string>('^^data'^^);
var someVar = ^^makeThing<^^number, ^^string>('^^data'^^);
class MyClass {
static ^^someProp = new ^^Thing<^^number, ^^string>('data');
static ^^someProp = ^^makeThing<^^number, ^^string>('data');
someProp = new ^^Thing<^^number, ^^string>('data');
someProp = ^^makeThing<^^number, ^^string>('data');
}
-----------------------------------
>var someVar = new Thing<number, string>('data');
^^^
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 variable.other.readwrite.ts
^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts
^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts keyword.operator.assignment.ts
^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts
^^^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts new.expr.ts keyword.operator.new.ts
^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts new.expr.ts
^^^^^
2016-09-01 03:09:03 +03:00
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts new.expr.ts entity.name.type.ts
^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts new.expr.ts meta.type.parameters.ts punctuation.definition.typeparameters.begin.ts
^^^^^^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts new.expr.ts meta.type.parameters.ts support.type.primitive.ts
^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts new.expr.ts meta.type.parameters.ts punctuation.separator.comma.ts
^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts new.expr.ts meta.type.parameters.ts
^^^^^^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts new.expr.ts meta.type.parameters.ts support.type.primitive.ts
^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts new.expr.ts meta.type.parameters.ts punctuation.definition.typeparameters.end.ts
^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.brace.round.ts
^
2016-08-12 01:38:31 +03:00
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts string.quoted.single.ts punctuation.definition.string.begin.ts
^^^^
2016-08-12 01:38:31 +03:00
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts string.quoted.single.ts
^
2016-08-12 01:38:31 +03:00
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts string.quoted.single.ts punctuation.definition.string.end.ts
^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.brace.round.ts
2016-09-16 02:16:35 +03:00
^
source.ts punctuation.terminator.statement.ts
>var someVar = makeThing<number, string>('data');
^^^
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 variable.other.readwrite.ts
^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts
^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts keyword.operator.assignment.ts
^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts
^^^^^^^^^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts variable.function.ts
^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.type.parameters.ts punctuation.definition.typeparameters.begin.ts
^^^^^^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.type.parameters.ts support.type.primitive.ts
^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.type.parameters.ts punctuation.separator.comma.ts
^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.type.parameters.ts
^^^^^^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.type.parameters.ts support.type.primitive.ts
^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.type.parameters.ts punctuation.definition.typeparameters.end.ts
^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.brace.round.ts
^
2016-08-12 01:38:31 +03:00
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts string.quoted.single.ts punctuation.definition.string.begin.ts
^^^^
2016-08-12 01:38:31 +03:00
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts string.quoted.single.ts
^
2016-08-12 01:38:31 +03:00
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts string.quoted.single.ts punctuation.definition.string.end.ts
^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.brace.round.ts
2016-09-16 02:16:35 +03:00
^
source.ts punctuation.terminator.statement.ts
>
^
source.ts
>class MyClass {
^^^^^
source.ts meta.class.ts storage.type.class.ts
^
source.ts meta.class.ts
^^^^^^^
source.ts meta.class.ts entity.name.class.ts
^
source.ts meta.class.ts
^
source.ts meta.class.ts punctuation.definition.block.ts
> static someProp = new Thing<number, string>('data');
^^^^
source.ts meta.class.ts
^^^^^^
source.ts meta.class.ts storage.modifier.ts
^
source.ts meta.class.ts meta.field.declaration.ts
^^^^^^^^
source.ts meta.class.ts meta.field.declaration.ts variable.object.property.ts
^
source.ts meta.class.ts meta.field.declaration.ts
^
source.ts meta.class.ts meta.field.declaration.ts keyword.operator.assignment.ts
^
source.ts meta.class.ts meta.field.declaration.ts
^^^
source.ts meta.class.ts meta.field.declaration.ts new.expr.ts keyword.operator.new.ts
^
source.ts meta.class.ts meta.field.declaration.ts new.expr.ts
^^^^^
source.ts meta.class.ts meta.field.declaration.ts new.expr.ts entity.name.type.ts
^
source.ts meta.class.ts meta.field.declaration.ts new.expr.ts meta.type.parameters.ts punctuation.definition.typeparameters.begin.ts
^^^^^^
source.ts meta.class.ts meta.field.declaration.ts new.expr.ts meta.type.parameters.ts support.type.primitive.ts
^
source.ts meta.class.ts meta.field.declaration.ts new.expr.ts meta.type.parameters.ts punctuation.separator.comma.ts
^
source.ts meta.class.ts meta.field.declaration.ts new.expr.ts meta.type.parameters.ts
^^^^^^
source.ts meta.class.ts meta.field.declaration.ts new.expr.ts meta.type.parameters.ts support.type.primitive.ts
^
source.ts meta.class.ts meta.field.declaration.ts new.expr.ts meta.type.parameters.ts punctuation.definition.typeparameters.end.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.brace.round.ts
^
source.ts meta.class.ts meta.field.declaration.ts string.quoted.single.ts punctuation.definition.string.begin.ts
^^^^
source.ts meta.class.ts meta.field.declaration.ts string.quoted.single.ts
^
source.ts meta.class.ts meta.field.declaration.ts string.quoted.single.ts punctuation.definition.string.end.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.brace.round.ts
2016-09-16 02:16:35 +03:00
^
source.ts meta.class.ts punctuation.terminator.statement.ts
> static someProp = makeThing<number, string>('data');
^^^^
source.ts meta.class.ts
^^^^^^
source.ts meta.class.ts storage.modifier.ts
^
source.ts meta.class.ts meta.field.declaration.ts
^^^^^^^^
source.ts meta.class.ts meta.field.declaration.ts variable.object.property.ts
^
source.ts meta.class.ts meta.field.declaration.ts
^
source.ts meta.class.ts meta.field.declaration.ts keyword.operator.assignment.ts
^
source.ts meta.class.ts meta.field.declaration.ts
^^^^^^^^^
source.ts meta.class.ts meta.field.declaration.ts variable.function.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.type.parameters.ts punctuation.definition.typeparameters.begin.ts
^^^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.type.parameters.ts support.type.primitive.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.type.parameters.ts punctuation.separator.comma.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.type.parameters.ts
^^^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.type.parameters.ts support.type.primitive.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.type.parameters.ts punctuation.definition.typeparameters.end.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.brace.round.ts
^
source.ts meta.class.ts meta.field.declaration.ts string.quoted.single.ts punctuation.definition.string.begin.ts
^^^^
source.ts meta.class.ts meta.field.declaration.ts string.quoted.single.ts
^
source.ts meta.class.ts meta.field.declaration.ts string.quoted.single.ts punctuation.definition.string.end.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.brace.round.ts
2016-09-16 02:16:35 +03:00
^
source.ts meta.class.ts punctuation.terminator.statement.ts
>
^
source.ts meta.class.ts
> someProp = new Thing<number, string>('data');
^^^^
source.ts meta.class.ts meta.field.declaration.ts
^^^^^^^^
source.ts meta.class.ts meta.field.declaration.ts variable.object.property.ts
^
source.ts meta.class.ts meta.field.declaration.ts
^
source.ts meta.class.ts meta.field.declaration.ts keyword.operator.assignment.ts
^
source.ts meta.class.ts meta.field.declaration.ts
^^^
source.ts meta.class.ts meta.field.declaration.ts new.expr.ts keyword.operator.new.ts
^
source.ts meta.class.ts meta.field.declaration.ts new.expr.ts
^^^^^
source.ts meta.class.ts meta.field.declaration.ts new.expr.ts entity.name.type.ts
^
source.ts meta.class.ts meta.field.declaration.ts new.expr.ts meta.type.parameters.ts punctuation.definition.typeparameters.begin.ts
^^^^^^
source.ts meta.class.ts meta.field.declaration.ts new.expr.ts meta.type.parameters.ts support.type.primitive.ts
^
source.ts meta.class.ts meta.field.declaration.ts new.expr.ts meta.type.parameters.ts punctuation.separator.comma.ts
^
source.ts meta.class.ts meta.field.declaration.ts new.expr.ts meta.type.parameters.ts
^^^^^^
source.ts meta.class.ts meta.field.declaration.ts new.expr.ts meta.type.parameters.ts support.type.primitive.ts
^
source.ts meta.class.ts meta.field.declaration.ts new.expr.ts meta.type.parameters.ts punctuation.definition.typeparameters.end.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.brace.round.ts
^
source.ts meta.class.ts meta.field.declaration.ts string.quoted.single.ts punctuation.definition.string.begin.ts
^^^^
source.ts meta.class.ts meta.field.declaration.ts string.quoted.single.ts
^
source.ts meta.class.ts meta.field.declaration.ts string.quoted.single.ts punctuation.definition.string.end.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.brace.round.ts
2016-09-16 02:16:35 +03:00
^
source.ts meta.class.ts punctuation.terminator.statement.ts
> someProp = makeThing<number, string>('data');
^^^^
source.ts meta.class.ts meta.field.declaration.ts
^^^^^^^^
source.ts meta.class.ts meta.field.declaration.ts variable.object.property.ts
^
source.ts meta.class.ts meta.field.declaration.ts
^
source.ts meta.class.ts meta.field.declaration.ts keyword.operator.assignment.ts
^
source.ts meta.class.ts meta.field.declaration.ts
^^^^^^^^^
source.ts meta.class.ts meta.field.declaration.ts variable.function.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.type.parameters.ts punctuation.definition.typeparameters.begin.ts
^^^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.type.parameters.ts support.type.primitive.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.type.parameters.ts punctuation.separator.comma.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.type.parameters.ts
^^^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.type.parameters.ts support.type.primitive.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.type.parameters.ts punctuation.definition.typeparameters.end.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.brace.round.ts
^
source.ts meta.class.ts meta.field.declaration.ts string.quoted.single.ts punctuation.definition.string.begin.ts
^^^^
source.ts meta.class.ts meta.field.declaration.ts string.quoted.single.ts
^
source.ts meta.class.ts meta.field.declaration.ts string.quoted.single.ts punctuation.definition.string.end.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.brace.round.ts
2016-09-16 02:16:35 +03:00
^
source.ts meta.class.ts punctuation.terminator.statement.ts
>}
^
source.ts meta.class.ts punctuation.definition.block.ts