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

106 строки
5.4 KiB
Plaintext

original file
-----------------------------------
class A {
@Route.GET('/*')
get(q: Request, s: Response): void {
s.sendFile();
}
}
-----------------------------------
Grammar: TypeScript.tmLanguage
-----------------------------------
>class A {
^^^^^
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
> @Route.GET('/*')
^^^^
source.ts meta.class.ts
^
source.ts meta.class.ts meta.decorator.ts punctuation.decorator.ts
^^^^^
source.ts meta.class.ts meta.decorator.ts meta.function-call.ts variable.other.object.ts
^
source.ts meta.class.ts meta.decorator.ts meta.function-call.ts punctuation.accessor.ts
^^^
source.ts meta.class.ts meta.decorator.ts meta.function-call.ts entity.name.function.ts
^
source.ts meta.class.ts meta.decorator.ts meta.brace.round.ts
^
source.ts meta.class.ts meta.decorator.ts string.quoted.single.ts punctuation.definition.string.begin.ts
^^
source.ts meta.class.ts meta.decorator.ts string.quoted.single.ts
^
source.ts meta.class.ts meta.decorator.ts string.quoted.single.ts punctuation.definition.string.end.ts
^
source.ts meta.class.ts meta.decorator.ts meta.brace.round.ts
> get(q: Request, s: Response): void {
^^^^
source.ts meta.class.ts meta.method.declaration.ts
^^^
source.ts meta.class.ts meta.method.declaration.ts meta.definition.method.ts entity.name.function.ts
^
source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts punctuation.definition.parameters.begin.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 entity.name.type.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 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 entity.name.type.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 meta.return.type.ts keyword.operator.type.annotation.ts
^
source.ts meta.class.ts meta.method.declaration.ts meta.return.type.ts
^^^^
source.ts meta.class.ts meta.method.declaration.ts meta.return.type.ts support.type.primitive.ts
^
source.ts meta.class.ts meta.method.declaration.ts meta.return.type.ts
^
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts punctuation.definition.block.ts
> s.sendFile();
^^^^^^^^
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts
^
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts meta.function-call.ts variable.other.object.ts
^
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts meta.function-call.ts punctuation.accessor.ts
^^^^^^^^
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts meta.function-call.ts entity.name.function.ts
^
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts meta.brace.round.ts
^
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts meta.brace.round.ts
^
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts punctuation.terminator.statement.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