78 строки
2.6 KiB
Plaintext
78 строки
2.6 KiB
Plaintext
original file
|
|
-----------------------------------
|
|
|
|
interface TestInterface {
|
|
testvar: string;
|
|
testfunc(): string;
|
|
}
|
|
|
|
/*
|
|
Testing Comments
|
|
*/
|
|
|
|
-----------------------------------
|
|
|
|
Grammar: TypeScript.tmLanguage
|
|
-----------------------------------
|
|
>
|
|
^
|
|
source.ts
|
|
>interface TestInterface {
|
|
^^^^^^^^^
|
|
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
|
|
> testvar: string;
|
|
^^
|
|
source.ts meta.interface.ts meta.field.declaration.ts
|
|
^^^^^^^
|
|
source.ts meta.interface.ts meta.field.declaration.ts meta.definition.property.ts variable.object.property.ts
|
|
^
|
|
source.ts meta.interface.ts meta.field.declaration.ts meta.type.annotation.ts keyword.operator.type.annotation.ts
|
|
^
|
|
source.ts meta.interface.ts meta.field.declaration.ts meta.type.annotation.ts
|
|
^^^^^^
|
|
source.ts meta.interface.ts meta.field.declaration.ts meta.type.annotation.ts support.type.primitive.ts
|
|
^
|
|
source.ts meta.interface.ts punctuation.terminator.statement.ts
|
|
> testfunc(): string;
|
|
^^
|
|
source.ts meta.interface.ts meta.method.declaration.ts
|
|
^^^^^^^^
|
|
source.ts meta.interface.ts meta.method.declaration.ts meta.definition.method.ts entity.name.function.ts
|
|
^
|
|
source.ts meta.interface.ts meta.method.declaration.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
|
|
^
|
|
source.ts meta.interface.ts meta.method.declaration.ts meta.parameters.ts punctuation.definition.parameters.end.ts
|
|
^
|
|
source.ts meta.interface.ts meta.method.declaration.ts meta.return.type.ts keyword.operator.type.annotation.ts
|
|
^
|
|
source.ts meta.interface.ts meta.method.declaration.ts meta.return.type.ts
|
|
^^^^^^
|
|
source.ts meta.interface.ts meta.method.declaration.ts meta.return.type.ts support.type.primitive.ts
|
|
^
|
|
source.ts meta.interface.ts punctuation.terminator.statement.ts
|
|
>}
|
|
^
|
|
source.ts meta.interface.ts punctuation.definition.block.ts
|
|
>
|
|
^
|
|
source.ts
|
|
>/*
|
|
^^
|
|
source.ts comment.block.ts punctuation.definition.comment.ts
|
|
> Testing Comments
|
|
^^^^^^^^^^^^^^^^^^
|
|
source.ts comment.block.ts
|
|
>*/
|
|
^^
|
|
source.ts comment.block.ts punctuation.definition.comment.ts
|
|
>
|
|
^
|
|
source.ts |