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

558 строки
17 KiB
Plaintext

original file
-----------------------------------
interface A {}
interface B {}
interface C {}
type D = A | B | C
type D1 = A
| B
| C
type D3 =
A
| B
| C
type D2
= A
| B
| C
type E = 'e1' | 'e2' | 'e3'
type E1 = 'e1'
| 'e2'
| 'e3'
type E2 =
'e1'
| 'e2'
| 'e3'
type E3
= 'e1'
| 'e2'
| 'e3'
type F = A & B & C
type F1 = A
& B
& C
type F2 =
A
& B
& C
type F3
= A
& B
& C
-----------------------------------
Grammar: TypeScript.tmLanguage
-----------------------------------
>interface A {}
^^^^^^^^^
source.ts meta.interface.ts storage.type.interface.ts
^
source.ts meta.interface.ts
^
source.ts meta.interface.ts entity.name.type.interface.ts
^
source.ts meta.interface.ts
^
source.ts meta.interface.ts punctuation.definition.block.ts
^
source.ts meta.interface.ts punctuation.definition.block.ts
>interface B {}
^^^^^^^^^
source.ts meta.interface.ts storage.type.interface.ts
^
source.ts meta.interface.ts
^
source.ts meta.interface.ts entity.name.type.interface.ts
^
source.ts meta.interface.ts
^
source.ts meta.interface.ts punctuation.definition.block.ts
^
source.ts meta.interface.ts punctuation.definition.block.ts
>interface C {}
^^^^^^^^^
source.ts meta.interface.ts storage.type.interface.ts
^
source.ts meta.interface.ts
^
source.ts meta.interface.ts entity.name.type.interface.ts
^
source.ts meta.interface.ts
^
source.ts meta.interface.ts punctuation.definition.block.ts
^
source.ts meta.interface.ts punctuation.definition.block.ts
>
^
source.ts
>type D = A | B | C
^^^^
source.ts meta.type.declaration.ts storage.type.type.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts entity.name.type.alias.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.assignment.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts entity.name.type.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.type.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts entity.name.type.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.type.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts entity.name.type.ts
>type D1 = A
^^^^
source.ts meta.type.declaration.ts storage.type.type.ts
^
source.ts meta.type.declaration.ts
^^
source.ts meta.type.declaration.ts entity.name.type.alias.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.assignment.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts entity.name.type.ts
> | B
^^^^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.type.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts entity.name.type.ts
> | C
^^^^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.type.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts entity.name.type.ts
>type D3 =
^^^^
source.ts meta.type.declaration.ts storage.type.type.ts
^
source.ts meta.type.declaration.ts
^^
source.ts meta.type.declaration.ts entity.name.type.alias.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.assignment.ts
^^
source.ts meta.type.declaration.ts
> A
^^^^^^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts entity.name.type.ts
> | B
^^^^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.type.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts entity.name.type.ts
> | C
^^^^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.type.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts entity.name.type.ts
>type D2
^^^^
source.ts meta.type.declaration.ts storage.type.type.ts
^
source.ts meta.type.declaration.ts
^^
source.ts meta.type.declaration.ts entity.name.type.alias.ts
> = A
^^^^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.assignment.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts entity.name.type.ts
> | B
^^^^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.type.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts entity.name.type.ts
> | C
^^^^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.type.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts entity.name.type.ts
>
^
source.ts
>type E = 'e1' | 'e2' | 'e3'
^^^^
source.ts meta.type.declaration.ts storage.type.type.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts entity.name.type.alias.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.assignment.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts string.quoted.single.ts punctuation.definition.string.begin.ts
^^
source.ts meta.type.declaration.ts string.quoted.single.ts
^
source.ts meta.type.declaration.ts string.quoted.single.ts punctuation.definition.string.end.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.type.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts string.quoted.single.ts punctuation.definition.string.begin.ts
^^
source.ts meta.type.declaration.ts string.quoted.single.ts
^
source.ts meta.type.declaration.ts string.quoted.single.ts punctuation.definition.string.end.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.type.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts string.quoted.single.ts punctuation.definition.string.begin.ts
^^
source.ts meta.type.declaration.ts string.quoted.single.ts
^
source.ts meta.type.declaration.ts string.quoted.single.ts punctuation.definition.string.end.ts
>type E1 = 'e1'
^^^^
source.ts meta.type.declaration.ts storage.type.type.ts
^
source.ts meta.type.declaration.ts
^^
source.ts meta.type.declaration.ts entity.name.type.alias.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.assignment.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts string.quoted.single.ts punctuation.definition.string.begin.ts
^^
source.ts meta.type.declaration.ts string.quoted.single.ts
^
source.ts meta.type.declaration.ts string.quoted.single.ts punctuation.definition.string.end.ts
^^
source.ts meta.type.declaration.ts
> | 'e2'
^^^^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.type.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts string.quoted.single.ts punctuation.definition.string.begin.ts
^^
source.ts meta.type.declaration.ts string.quoted.single.ts
^
source.ts meta.type.declaration.ts string.quoted.single.ts punctuation.definition.string.end.ts
^^
source.ts meta.type.declaration.ts
> | 'e3'
^^^^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.type.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts string.quoted.single.ts punctuation.definition.string.begin.ts
^^
source.ts meta.type.declaration.ts string.quoted.single.ts
^
source.ts meta.type.declaration.ts string.quoted.single.ts punctuation.definition.string.end.ts
>type E2 =
^^^^
source.ts meta.type.declaration.ts storage.type.type.ts
^
source.ts meta.type.declaration.ts
^^
source.ts meta.type.declaration.ts entity.name.type.alias.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.assignment.ts
^^
source.ts meta.type.declaration.ts
> 'e1'
^^^^^^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts string.quoted.single.ts punctuation.definition.string.begin.ts
^^
source.ts meta.type.declaration.ts string.quoted.single.ts
^
source.ts meta.type.declaration.ts string.quoted.single.ts punctuation.definition.string.end.ts
^^
source.ts meta.type.declaration.ts
> | 'e2'
^^^^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.type.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts string.quoted.single.ts punctuation.definition.string.begin.ts
^^
source.ts meta.type.declaration.ts string.quoted.single.ts
^
source.ts meta.type.declaration.ts string.quoted.single.ts punctuation.definition.string.end.ts
^^
source.ts meta.type.declaration.ts
> | 'e3'
^^^^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.type.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts string.quoted.single.ts punctuation.definition.string.begin.ts
^^
source.ts meta.type.declaration.ts string.quoted.single.ts
^
source.ts meta.type.declaration.ts string.quoted.single.ts punctuation.definition.string.end.ts
>type E3
^^^^
source.ts meta.type.declaration.ts storage.type.type.ts
^
source.ts meta.type.declaration.ts
^^
source.ts meta.type.declaration.ts entity.name.type.alias.ts
^^
source.ts meta.type.declaration.ts
> = 'e1'
^^^^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.assignment.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts string.quoted.single.ts punctuation.definition.string.begin.ts
^^
source.ts meta.type.declaration.ts string.quoted.single.ts
^
source.ts meta.type.declaration.ts string.quoted.single.ts punctuation.definition.string.end.ts
^^
source.ts meta.type.declaration.ts
> | 'e2'
^^^^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.type.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts string.quoted.single.ts punctuation.definition.string.begin.ts
^^
source.ts meta.type.declaration.ts string.quoted.single.ts
^
source.ts meta.type.declaration.ts string.quoted.single.ts punctuation.definition.string.end.ts
^^
source.ts meta.type.declaration.ts
> | 'e3'
^^^^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.type.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts string.quoted.single.ts punctuation.definition.string.begin.ts
^^
source.ts meta.type.declaration.ts string.quoted.single.ts
^
source.ts meta.type.declaration.ts string.quoted.single.ts punctuation.definition.string.end.ts
>
^
source.ts
>type F = A & B & C
^^^^
source.ts meta.type.declaration.ts storage.type.type.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts entity.name.type.alias.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.assignment.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts entity.name.type.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.type.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts entity.name.type.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.type.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts entity.name.type.ts
>type F1 = A
^^^^
source.ts meta.type.declaration.ts storage.type.type.ts
^
source.ts meta.type.declaration.ts
^^
source.ts meta.type.declaration.ts entity.name.type.alias.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.assignment.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts entity.name.type.ts
> & B
^^^^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.type.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts entity.name.type.ts
> & C
^^^^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.type.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts entity.name.type.ts
>type F2 =
^^^^
source.ts meta.type.declaration.ts storage.type.type.ts
^
source.ts meta.type.declaration.ts
^^
source.ts meta.type.declaration.ts entity.name.type.alias.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.assignment.ts
> A
^^^^^^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts entity.name.type.ts
> & B
^^^^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.type.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts entity.name.type.ts
> & C
^^^^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.type.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts entity.name.type.ts
>type F3
^^^^
source.ts meta.type.declaration.ts storage.type.type.ts
^
source.ts meta.type.declaration.ts
^^
source.ts meta.type.declaration.ts entity.name.type.alias.ts
> = A
^^^^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.assignment.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts entity.name.type.ts
> & B
^^^^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.type.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts entity.name.type.ts
> & C
^^^^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts keyword.operator.type.ts
^
source.ts meta.type.declaration.ts
^
source.ts meta.type.declaration.ts entity.name.type.ts