TypeScript-TmLanguage/tests/baselines/namespaceAndModule.baseline...

96 строки
4.0 KiB
Plaintext

original file
-----------------------------------
namespace ts { }
module ts { }
declare namespace ts {}
declare module ts {}
declare module "x" {}
-----------------------------------
Grammar: TypeScript.tmLanguage
-----------------------------------
>namespace ts { }
^^^^^^^^^
source.ts meta.namespace.declaration.ts storage.type.namespace.ts
^
source.ts meta.namespace.declaration.ts
^^
source.ts meta.namespace.declaration.ts entity.name.type.module.ts
^
source.ts meta.namespace.declaration.ts
^
source.ts meta.namespace.declaration.ts meta.block.ts punctuation.definition.block.ts
^
source.ts meta.namespace.declaration.ts meta.block.ts
^
source.ts meta.namespace.declaration.ts meta.block.ts punctuation.definition.block.ts
>module ts { }
^^^^^^
source.ts meta.namespace.declaration.ts storage.type.namespace.ts
^
source.ts meta.namespace.declaration.ts
^^
source.ts meta.namespace.declaration.ts entity.name.type.module.ts
^
source.ts meta.namespace.declaration.ts
^
source.ts meta.namespace.declaration.ts meta.block.ts punctuation.definition.block.ts
^
source.ts meta.namespace.declaration.ts meta.block.ts
^
source.ts meta.namespace.declaration.ts meta.block.ts punctuation.definition.block.ts
>declare namespace ts {}
^^^^^^^
source.ts meta.namespace.declaration.ts storage.modifier.ts
^
source.ts meta.namespace.declaration.ts
^^^^^^^^^
source.ts meta.namespace.declaration.ts storage.type.namespace.ts
^
source.ts meta.namespace.declaration.ts
^^
source.ts meta.namespace.declaration.ts entity.name.type.module.ts
^
source.ts meta.namespace.declaration.ts
^
source.ts meta.namespace.declaration.ts meta.block.ts punctuation.definition.block.ts
^
source.ts meta.namespace.declaration.ts meta.block.ts punctuation.definition.block.ts
>declare module ts {}
^^^^^^^
source.ts meta.namespace.declaration.ts storage.modifier.ts
^
source.ts meta.namespace.declaration.ts
^^^^^^
source.ts meta.namespace.declaration.ts storage.type.namespace.ts
^
source.ts meta.namespace.declaration.ts
^^
source.ts meta.namespace.declaration.ts entity.name.type.module.ts
^
source.ts meta.namespace.declaration.ts
^
source.ts meta.namespace.declaration.ts meta.block.ts punctuation.definition.block.ts
^
source.ts meta.namespace.declaration.ts meta.block.ts punctuation.definition.block.ts
>declare module "x" {}
^^^^^^^
source.ts meta.namespace.declaration.ts storage.modifier.ts
^
source.ts meta.namespace.declaration.ts
^^^^^^
source.ts meta.namespace.declaration.ts storage.type.namespace.ts
^
source.ts meta.namespace.declaration.ts
^
source.ts meta.namespace.declaration.ts string.quoted.double.ts punctuation.definition.string.begin.ts
^
source.ts meta.namespace.declaration.ts string.quoted.double.ts
^
source.ts meta.namespace.declaration.ts string.quoted.double.ts punctuation.definition.string.end.ts
^
source.ts meta.namespace.declaration.ts
^
source.ts meta.namespace.declaration.ts meta.block.ts punctuation.definition.block.ts
^
source.ts meta.namespace.declaration.ts meta.block.ts punctuation.definition.block.ts