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

218 строки
9.5 KiB
Plaintext

original file
-----------------------------------
enum Hello {
A,
B
}
class World {
normal() {
let x = 5;
console.log("hello");
}
[Hello.A]() {
let x = 5;
console.log("hello");
}
}
-----------------------------------
Grammar: TypeScript.tmLanguage
-----------------------------------
>enum Hello {
^^^^
source.ts meta.enum.declaration.ts storage.type.enum.ts
^
source.ts meta.enum.declaration.ts
^^^^^
source.ts meta.enum.declaration.ts entity.name.type.enum.ts
^
source.ts
^
source.ts meta.block.ts punctuation.definition.block.ts
^^
source.ts meta.block.ts
> A,
^^^^
source.ts meta.block.ts
^
source.ts meta.block.ts constant.other.ts
^
source.ts meta.block.ts punctuation.separator.comma.ts
^^
source.ts meta.block.ts
> B
^^^^
source.ts meta.block.ts
^
source.ts meta.block.ts constant.other.ts
^^
source.ts meta.block.ts
>}
^
source.ts meta.block.ts punctuation.definition.block.ts
^^
source.ts
>
^^
source.ts
>class World {
^^^^^
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
^^
source.ts meta.class.ts
> normal() {
^^^^
source.ts meta.class.ts
^^^^^^
source.ts meta.class.ts meta.method.declaration.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 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
> let x = 5;
^^^^^^^^
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.var.expr.ts storage.type.ts
^
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts meta.var.expr.ts
^
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts variable.other.readwrite.ts
^
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts
^
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts meta.var.expr.ts keyword.operator.assignment.ts
^
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts meta.var.expr.ts
^
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts meta.var.expr.ts constant.numeric.decimal.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
> console.log("hello");
^^^^^^^^
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts
^^^^^^^
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts support.class.console.ts
^
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts punctuation.accessor.ts
^^^
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts support.function.console.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 string.quoted.double.ts punctuation.definition.string.begin.ts
^^^^^
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts string.quoted.double.ts
^
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts string.quoted.double.ts punctuation.definition.string.end.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
^
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts punctuation.definition.block.ts
^^
source.ts meta.class.ts
>
^^
source.ts meta.class.ts
> [Hello.A]() {
^^^^
source.ts meta.class.ts
^
source.ts meta.class.ts meta.method.declaration.ts meta.array.literal.ts meta.brace.square.ts
^^^^^
source.ts meta.class.ts meta.method.declaration.ts meta.array.literal.ts variable.other.object.ts
^
source.ts meta.class.ts meta.method.declaration.ts meta.array.literal.ts punctuation.accessor.ts
^
source.ts meta.class.ts meta.method.declaration.ts meta.array.literal.ts constant.other.property.ts
^
source.ts meta.class.ts meta.method.declaration.ts meta.array.literal.ts meta.brace.square.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 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
> let x = 5;
^^^^^^^^
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.var.expr.ts storage.type.ts
^
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts meta.var.expr.ts
^
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts variable.other.readwrite.ts
^
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts
^
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts meta.var.expr.ts keyword.operator.assignment.ts
^
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts meta.var.expr.ts
^
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts meta.var.expr.ts constant.numeric.decimal.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
> console.log("hello");
^^^^^^^^
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts
^^^^^^^
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts support.class.console.ts
^
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts punctuation.accessor.ts
^^^
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts support.function.console.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 string.quoted.double.ts punctuation.definition.string.begin.ts
^^^^^
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts string.quoted.double.ts
^
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts string.quoted.double.ts punctuation.definition.string.end.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
^
source.ts meta.class.ts meta.method.declaration.ts meta.block.ts punctuation.definition.block.ts
^^
source.ts meta.class.ts
>}
^
source.ts meta.class.ts punctuation.definition.block.ts