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

62 строки
2.5 KiB
Plaintext

original file
-----------------------------------
function test() {
type X = { }
return {};
}
-----------------------------------
Grammar: TypeScript.tmLanguage
-----------------------------------
>function test() {
^^^^^^^^
source.ts meta.function.ts storage.type.function.ts
^
source.ts meta.function.ts
^^^^
source.ts meta.function.ts meta.definition.function.ts entity.name.function.ts
^
source.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
^
source.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.end.ts
^
source.ts meta.function.ts
^
source.ts meta.function.ts meta.block.ts punctuation.definition.block.ts
> type X = { }
^^
source.ts meta.function.ts meta.block.ts
^^^^
source.ts meta.function.ts meta.block.ts meta.type.declaration.ts storage.type.type.ts
^
source.ts meta.function.ts meta.block.ts meta.type.declaration.ts
^
source.ts meta.function.ts meta.block.ts meta.type.declaration.ts entity.name.type.alias.ts
^
source.ts meta.function.ts meta.block.ts meta.type.declaration.ts
^
source.ts meta.function.ts meta.block.ts meta.type.declaration.ts keyword.operator.assignment.ts
^
source.ts meta.function.ts meta.block.ts meta.type.declaration.ts
^
source.ts meta.function.ts meta.block.ts meta.type.declaration.ts meta.object.type.ts punctuation.definition.block.ts
^
source.ts meta.function.ts meta.block.ts meta.type.declaration.ts meta.object.type.ts
^
source.ts meta.function.ts meta.block.ts meta.type.declaration.ts meta.object.type.ts punctuation.definition.block.ts
> return {};
^^
source.ts meta.function.ts meta.block.ts
^^^^^^
source.ts meta.function.ts meta.block.ts keyword.control.flow.ts
^
source.ts meta.function.ts meta.block.ts
^
source.ts meta.function.ts meta.block.ts meta.objectliteral.ts punctuation.definition.block.ts
^
source.ts meta.function.ts meta.block.ts meta.objectliteral.ts punctuation.definition.block.ts
^
source.ts meta.function.ts meta.block.ts punctuation.terminator.statement.ts
>}
^
source.ts meta.function.ts meta.block.ts punctuation.definition.block.ts