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
^^^^^
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
^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts string.quoted.single.ts punctuation.definition.string.begin.ts
^^^^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts string.quoted.single.ts
^
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
^^
source.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 entity.name.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
^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts string.quoted.single.ts punctuation.definition.string.begin.ts
^^^^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts string.quoted.single.ts
^
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
^^
source.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
^^
source.ts meta.class.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 entity.name.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
^^
source.ts meta.class.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
^^
source.ts meta.class.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 entity.name.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
^^
source.ts meta.class.ts
>}
^
source.ts meta.class.ts punctuation.definition.block.ts