98 строки
5.4 KiB
Plaintext
98 строки
5.4 KiB
Plaintext
original file
|
|
-----------------------------------
|
|
class Foo {
|
|
constructor(
|
|
test: number, // foo bar,
|
|
exitEditModeCallback: () => void // Used to re-enable View updates.
|
|
) {
|
|
|
|
}
|
|
}
|
|
-----------------------------------
|
|
|
|
Grammar: TypeScript.tmLanguage
|
|
-----------------------------------
|
|
>class Foo {
|
|
^^^^^
|
|
source.ts meta.class.ts storage.type.class.ts
|
|
^
|
|
source.ts meta.class.ts
|
|
^^^
|
|
source.ts meta.class.ts entity.name.type.class.ts
|
|
^
|
|
source.ts meta.class.ts
|
|
^
|
|
source.ts meta.class.ts punctuation.definition.block.ts
|
|
> constructor(
|
|
^^^^
|
|
source.ts meta.class.ts
|
|
^^^^^^^^^^^
|
|
source.ts meta.class.ts meta.method.declaration.ts storage.type.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
|
|
> test: number, // foo bar,
|
|
^^^^^^^^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts
|
|
^^^^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts variable.parameter.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts meta.type.annotation.ts keyword.operator.type.annotation.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts meta.type.annotation.ts
|
|
^^^^^^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts meta.type.annotation.ts support.type.primitive.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts punctuation.separator.parameter.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts
|
|
^^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts comment.line.double-slash.ts punctuation.definition.comment.ts
|
|
^^^^^^^^^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts comment.line.double-slash.ts
|
|
> exitEditModeCallback: () => void // Used to re-enable View updates.
|
|
^^^^^^^^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts variable.parameter.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts meta.type.annotation.ts keyword.operator.type.annotation.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts meta.type.annotation.ts meta.type.function.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts meta.type.annotation.ts meta.type.function.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts meta.type.annotation.ts meta.type.function.ts meta.parameters.ts punctuation.definition.parameters.end.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts meta.type.annotation.ts
|
|
^^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts meta.type.annotation.ts meta.type.function.return.ts storage.type.function.arrow.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts meta.type.annotation.ts meta.type.function.return.ts
|
|
^^^^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts meta.type.annotation.ts meta.type.function.return.ts support.type.primitive.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts meta.type.annotation.ts meta.type.function.return.ts
|
|
^^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts comment.line.double-slash.ts punctuation.definition.comment.ts
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts comment.line.double-slash.ts
|
|
> ) {
|
|
^^^^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts punctuation.definition.parameters.end.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts punctuation.definition.block.ts
|
|
>
|
|
^^^^^^^^^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts
|
|
> }
|
|
^^^^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts
|
|
^
|
|
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts punctuation.definition.block.ts
|
|
>}
|
|
^
|
|
source.ts meta.class.ts punctuation.definition.block.ts |