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

102 строки
3.8 KiB
Plaintext

original file
-----------------------------------
interface Test<T> {
test: T;
}
interface Props {
prop: Test<T>;
}
class Whatever {
}
-----------------------------------
Grammar: TypeScriptReact.tmLanguage
-----------------------------------
>interface Test<T> {
^^^^^^^^^
source.tsx meta.interface.tsx storage.type.interface.tsx
^
source.tsx meta.interface.tsx
^^^^
source.tsx meta.interface.tsx entity.name.type.interface.tsx
^
source.tsx meta.interface.tsx meta.type.parameters.tsx punctuation.definition.typeparameters.begin.tsx
^
source.tsx meta.interface.tsx meta.type.parameters.tsx entity.name.type.tsx
^
source.tsx meta.interface.tsx meta.type.parameters.tsx punctuation.definition.typeparameters.end.tsx
^
source.tsx meta.interface.tsx
^
source.tsx meta.interface.tsx punctuation.definition.block.tsx
> test: T;
^^^^
source.tsx meta.interface.tsx meta.field.declaration.tsx
^^^^
source.tsx meta.interface.tsx meta.field.declaration.tsx meta.definition.property.tsx variable.object.property.tsx
^
source.tsx meta.interface.tsx meta.field.declaration.tsx meta.type.annotation.tsx keyword.operator.type.annotation.tsx
^
source.tsx meta.interface.tsx meta.field.declaration.tsx meta.type.annotation.tsx
^
source.tsx meta.interface.tsx meta.field.declaration.tsx meta.type.annotation.tsx entity.name.type.tsx
^
source.tsx meta.interface.tsx punctuation.terminator.statement.tsx
>}
^
source.tsx meta.interface.tsx punctuation.definition.block.tsx
>
^
source.tsx
>interface Props {
^^^^^^^^^
source.tsx meta.interface.tsx storage.type.interface.tsx
^
source.tsx meta.interface.tsx
^^^^^
source.tsx meta.interface.tsx entity.name.type.interface.tsx
^
source.tsx meta.interface.tsx
^
source.tsx meta.interface.tsx punctuation.definition.block.tsx
> prop: Test<T>;
^^^^
source.tsx meta.interface.tsx meta.field.declaration.tsx
^^^^
source.tsx meta.interface.tsx meta.field.declaration.tsx meta.definition.property.tsx variable.object.property.tsx
^
source.tsx meta.interface.tsx meta.field.declaration.tsx meta.type.annotation.tsx keyword.operator.type.annotation.tsx
^
source.tsx meta.interface.tsx meta.field.declaration.tsx meta.type.annotation.tsx
^^^^
source.tsx meta.interface.tsx meta.field.declaration.tsx meta.type.annotation.tsx entity.name.type.tsx
^
source.tsx meta.interface.tsx meta.field.declaration.tsx meta.type.annotation.tsx meta.type.parameters.tsx punctuation.definition.typeparameters.begin.tsx
^
source.tsx meta.interface.tsx meta.field.declaration.tsx meta.type.annotation.tsx meta.type.parameters.tsx entity.name.type.tsx
^
source.tsx meta.interface.tsx meta.field.declaration.tsx meta.type.annotation.tsx meta.type.parameters.tsx punctuation.definition.typeparameters.end.tsx
^
source.tsx meta.interface.tsx punctuation.terminator.statement.tsx
>}
^
source.tsx meta.interface.tsx punctuation.definition.block.tsx
>
^
source.tsx
>class Whatever {
^^^^^
source.tsx meta.class.tsx storage.type.class.tsx
^
source.tsx meta.class.tsx
^^^^^^^^
source.tsx meta.class.tsx entity.name.type.class.tsx
^
source.tsx meta.class.tsx
^
source.tsx meta.class.tsx punctuation.definition.block.tsx
>}
^
source.tsx meta.class.tsx punctuation.definition.block.tsx