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

198 строки
9.2 KiB
Plaintext

original file
-----------------------------------
// trailing part of some real code...
null, <{[key]: () => any}> null
// no syntax highlighting from here down...
function foo():{a: string} { }
null, <{[key]: () =>{a: number}}> null
// no syntax highlighting from here down...
function foo() { }
-----------------------------------
>// trailing part of some real code...
^^
source.ts comment.line.double-slash.ts punctuation.definition.comment.ts
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
source.ts comment.line.double-slash.ts
>
^^
source.ts
>null, <{[key]: () => any}> null
^^^^
source.ts constant.language.null.ts
^
source.ts punctuation.separator.comma.ts
^
source.ts cast.expr.ts
^
source.ts cast.expr.ts meta.brace.angle.ts
^
source.ts cast.expr.ts meta.object.type.ts punctuation.definition.block.ts
^
source.ts cast.expr.ts meta.object.type.ts meta.indexer.declaration.ts meta.brace.square.ts
^^^
source.ts cast.expr.ts meta.object.type.ts meta.indexer.declaration.ts
^
source.ts cast.expr.ts meta.object.type.ts meta.indexer.declaration.ts meta.brace.square.ts
^
source.ts cast.expr.ts meta.object.type.ts meta.type.annotation.ts
^
source.ts cast.expr.ts meta.object.type.ts meta.type.annotation.ts meta.type.paren.cover.ts
^
source.ts cast.expr.ts meta.object.type.ts meta.type.annotation.ts meta.type.paren.cover.ts meta.brace.round.ts
^
source.ts cast.expr.ts meta.object.type.ts meta.type.annotation.ts meta.type.paren.cover.ts meta.brace.round.ts
^
source.ts cast.expr.ts meta.object.type.ts meta.type.annotation.ts
^^
source.ts cast.expr.ts meta.object.type.ts meta.type.annotation.ts meta.type.function.return.ts storage.type.function.arrow.ts
^
source.ts cast.expr.ts meta.object.type.ts meta.type.annotation.ts meta.type.function.return.ts
^^^
source.ts cast.expr.ts meta.object.type.ts meta.type.annotation.ts meta.type.function.return.ts support.type.primitive.ts
^
source.ts cast.expr.ts meta.object.type.ts punctuation.definition.block.ts
^
source.ts cast.expr.ts meta.brace.angle.ts
^
source.ts
^^^^
source.ts constant.language.null.ts
^^
source.ts
>
^^
source.ts
>// no syntax highlighting from here down...
^^
source.ts comment.line.double-slash.ts punctuation.definition.comment.ts
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
source.ts comment.line.double-slash.ts
>
^^
source.ts
>function foo():{a: string} { }
^^^^^^^^
source.ts meta.function.ts storage.type.function.ts
^
source.ts meta.function.ts
^^^
source.ts meta.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 meta.return.type.ts
^
source.ts meta.function.ts meta.return.type.ts meta.object.type.ts punctuation.definition.block.ts
^
source.ts meta.function.ts meta.return.type.ts meta.object.type.ts meta.field.declaration.ts variable.object.property.ts
^
source.ts meta.function.ts meta.return.type.ts meta.object.type.ts meta.field.declaration.ts meta.type.annotation.ts
^
source.ts meta.function.ts meta.return.type.ts meta.object.type.ts meta.field.declaration.ts meta.type.annotation.ts
^^^^^^
source.ts meta.function.ts meta.return.type.ts meta.object.type.ts meta.field.declaration.ts meta.type.annotation.ts support.type.primitive.ts
^
source.ts meta.function.ts meta.return.type.ts meta.object.type.ts punctuation.definition.block.ts
^
source.ts meta.function.ts meta.return.type.ts
^
source.ts meta.function.ts meta.block.ts punctuation.definition.block.ts
^
source.ts meta.function.ts meta.block.ts
^
source.ts meta.function.ts meta.block.ts punctuation.definition.block.ts
^^
source.ts
>
^^
source.ts
>null, <{[key]: () =>{a: number}}> null
^^^^
source.ts constant.language.null.ts
^
source.ts punctuation.separator.comma.ts
^
source.ts cast.expr.ts
^
source.ts cast.expr.ts meta.brace.angle.ts
^
source.ts cast.expr.ts meta.object.type.ts punctuation.definition.block.ts
^
source.ts cast.expr.ts meta.object.type.ts meta.indexer.declaration.ts meta.brace.square.ts
^^^
source.ts cast.expr.ts meta.object.type.ts meta.indexer.declaration.ts
^
source.ts cast.expr.ts meta.object.type.ts meta.indexer.declaration.ts meta.brace.square.ts
^
source.ts cast.expr.ts meta.object.type.ts meta.type.annotation.ts
^
source.ts cast.expr.ts meta.object.type.ts meta.type.annotation.ts meta.type.paren.cover.ts
^
source.ts cast.expr.ts meta.object.type.ts meta.type.annotation.ts meta.type.paren.cover.ts meta.brace.round.ts
^
source.ts cast.expr.ts meta.object.type.ts meta.type.annotation.ts meta.type.paren.cover.ts meta.brace.round.ts
^
source.ts cast.expr.ts meta.object.type.ts meta.type.annotation.ts
^^
source.ts cast.expr.ts meta.object.type.ts meta.type.annotation.ts meta.type.function.return.ts storage.type.function.arrow.ts
^
source.ts cast.expr.ts meta.object.type.ts meta.type.annotation.ts meta.type.function.return.ts meta.object.type.ts punctuation.definition.block.ts
^
source.ts cast.expr.ts meta.object.type.ts meta.type.annotation.ts meta.type.function.return.ts meta.object.type.ts meta.field.declaration.ts variable.object.property.ts
^
source.ts cast.expr.ts meta.object.type.ts meta.type.annotation.ts meta.type.function.return.ts meta.object.type.ts meta.field.declaration.ts meta.type.annotation.ts
^
source.ts cast.expr.ts meta.object.type.ts meta.type.annotation.ts meta.type.function.return.ts meta.object.type.ts meta.field.declaration.ts meta.type.annotation.ts
^^^^^^
source.ts cast.expr.ts meta.object.type.ts meta.type.annotation.ts meta.type.function.return.ts meta.object.type.ts meta.field.declaration.ts meta.type.annotation.ts support.type.primitive.ts
^
source.ts cast.expr.ts meta.object.type.ts meta.type.annotation.ts meta.type.function.return.ts meta.object.type.ts punctuation.definition.block.ts
^
source.ts cast.expr.ts meta.object.type.ts punctuation.definition.block.ts
^
source.ts cast.expr.ts meta.brace.angle.ts
^
source.ts
^^^^
source.ts constant.language.null.ts
^^
source.ts
>
^^
source.ts
>// no syntax highlighting from here down...
^^
source.ts comment.line.double-slash.ts punctuation.definition.comment.ts
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
source.ts comment.line.double-slash.ts
>
^^
source.ts
>function foo() { }
^^^^^^^^
source.ts meta.function.ts storage.type.function.ts
^
source.ts meta.function.ts
^^^
source.ts meta.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
^
source.ts meta.function.ts meta.block.ts
^
source.ts meta.function.ts meta.block.ts punctuation.definition.block.ts