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

64 строки
2.7 KiB
Plaintext

original file
-----------------------------------
let a = /foo[]bar/;
let b = /foo[^]bar/;
-----------------------------------
Grammar: TypeScript.tmLanguage
-----------------------------------
>let a = /foo[]bar/;
^^^
source.ts meta.var.expr.ts storage.type.ts
^
source.ts meta.var.expr.ts
^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.definition.variable.ts variable.other.readwrite.ts
^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts
^
source.ts meta.var.expr.ts keyword.operator.assignment.ts
^
source.ts meta.var.expr.ts
^
source.ts meta.var.expr.ts string.regexp.ts punctuation.definition.string.begin.ts
^^^
source.ts meta.var.expr.ts string.regexp.ts
^
source.ts meta.var.expr.ts string.regexp.ts constant.other.character-class.set.regexp punctuation.definition.character-class.regexp
^
source.ts meta.var.expr.ts string.regexp.ts constant.other.character-class.set.regexp punctuation.definition.character-class.regexp
^^^
source.ts meta.var.expr.ts string.regexp.ts
^
source.ts meta.var.expr.ts string.regexp.ts punctuation.definition.string.end.ts
^
source.ts punctuation.terminator.statement.ts
>let b = /foo[^]bar/;
^^^
source.ts meta.var.expr.ts storage.type.ts
^
source.ts meta.var.expr.ts
^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.definition.variable.ts variable.other.readwrite.ts
^
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts
^
source.ts meta.var.expr.ts keyword.operator.assignment.ts
^
source.ts meta.var.expr.ts string.regexp.ts
^
source.ts meta.var.expr.ts string.regexp.ts punctuation.definition.string.begin.ts
^^^
source.ts meta.var.expr.ts string.regexp.ts
^
source.ts meta.var.expr.ts string.regexp.ts constant.other.character-class.set.regexp punctuation.definition.character-class.regexp
^
source.ts meta.var.expr.ts string.regexp.ts constant.other.character-class.set.regexp keyword.operator.negation.regexp
^
source.ts meta.var.expr.ts string.regexp.ts constant.other.character-class.set.regexp punctuation.definition.character-class.regexp
^^^
source.ts meta.var.expr.ts string.regexp.ts
^
source.ts meta.var.expr.ts string.regexp.ts punctuation.definition.string.end.ts
^
source.ts punctuation.terminator.statement.ts