TypeScript-TmLanguage/tests/baselines/Issue44.txt

40 строки
1.1 KiB
Plaintext

original file
-----------------------------------
^^interface ^^TestInterface {
^^testvar: ^^string;
^^testfunc(): ^^string;
^^}
/*
Testing Comments
*/
-----------------------------------
Grammar: TypeScript.tmLanguage
-----------------------------------
>
>interface TestInterface {
^^^^^^^^^
[2, 1]: source.ts meta.class.ts storage.type.interface.ts
^^^^^^^^^^^^^
[2, 11]: source.ts meta.class.ts entity.name.type.class.ts
> testvar: string;
^^^^^^^
[3, 3]: source.ts meta.class.ts meta.field.declaration.ts variable.object.property.ts
^^^^^^
[3, 12]: source.ts meta.class.ts meta.field.declaration.ts meta.type.annotation.ts support.type.primitive.ts
> testfunc(): string;
^^^^^^^^
[4, 3]: source.ts meta.class.ts meta.method.declaration.ts entity.name.function.ts
^^^^^^
[4, 15]: source.ts meta.class.ts meta.method.declaration.ts meta.return.type.ts support.type.primitive.ts
>}
^
[5, 1]: source.ts meta.class.ts punctuation.definition.block.ts
>
>/*
> Testing Comments
>*/
>