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

248 строки
9.1 KiB
Plaintext

original file
-----------------------------------
let a = 0, b = 0, c = 0;
let value = a / b
/ c;
let value2 = a / b
/ c * a + b / a / b / c;
let value2 = a / b / c * a + b / a / b / c;
-----------------------------------
Grammar: TypeScript.tmLanguage
-----------------------------------
>let a = 0, b = 0, c = 0;
^^^
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 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 constant.numeric.decimal.ts
^
source.ts meta.var.expr.ts punctuation.separator.comma.ts
^
source.ts meta.var.expr.ts
^
source.ts meta.var.expr.ts meta.var-single-variable.expr.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 constant.numeric.decimal.ts
^
source.ts meta.var.expr.ts punctuation.separator.comma.ts
^
source.ts meta.var.expr.ts
^
source.ts meta.var.expr.ts meta.var-single-variable.expr.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 constant.numeric.decimal.ts
^
source.ts punctuation.terminator.statement.ts
^^
source.ts
>let value = a / b
^^^
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 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 variable.other.readwrite.ts
^
source.ts meta.var.expr.ts
^
source.ts meta.var.expr.ts keyword.operator.arithmetic.ts
^
source.ts meta.var.expr.ts
^
source.ts meta.var.expr.ts variable.other.readwrite.ts
^
source.ts meta.var.expr.ts
> / c;
^^^^
source.ts
^
source.ts keyword.operator.arithmetic.ts
^
source.ts
^
source.ts variable.other.readwrite.ts
^
source.ts punctuation.terminator.statement.ts
^^
source.ts
>let value2 = a / b
^^^
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 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 variable.other.readwrite.ts
^
source.ts meta.var.expr.ts
^
source.ts meta.var.expr.ts keyword.operator.arithmetic.ts
^
source.ts meta.var.expr.ts
^
source.ts meta.var.expr.ts variable.other.readwrite.ts
^
source.ts meta.var.expr.ts
> / c * a + b / a / b / c;
^^^^
source.ts
^
source.ts keyword.operator.arithmetic.ts
^
source.ts
^
source.ts variable.other.readwrite.ts
^
source.ts
^
source.ts keyword.operator.arithmetic.ts
^
source.ts
^
source.ts variable.other.readwrite.ts
^
source.ts
^
source.ts keyword.operator.arithmetic.ts
^
source.ts
^
source.ts variable.other.readwrite.ts
^
source.ts
^
source.ts keyword.operator.arithmetic.ts
^
source.ts
^
source.ts variable.other.readwrite.ts
^
source.ts
^
source.ts keyword.operator.arithmetic.ts
^
source.ts
^
source.ts variable.other.readwrite.ts
^
source.ts
^
source.ts keyword.operator.arithmetic.ts
^
source.ts
^
source.ts variable.other.readwrite.ts
^
source.ts punctuation.terminator.statement.ts
^^
source.ts
>let value2 = a / b / c * a + b / a / b / c;
^^^
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 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 variable.other.readwrite.ts
^
source.ts meta.var.expr.ts
^
source.ts meta.var.expr.ts keyword.operator.arithmetic.ts
^
source.ts meta.var.expr.ts
^
source.ts meta.var.expr.ts variable.other.readwrite.ts
^
source.ts meta.var.expr.ts
^
source.ts meta.var.expr.ts keyword.operator.arithmetic.ts
^
source.ts meta.var.expr.ts
^
source.ts meta.var.expr.ts variable.other.readwrite.ts
^
source.ts meta.var.expr.ts
^
source.ts meta.var.expr.ts keyword.operator.arithmetic.ts
^
source.ts meta.var.expr.ts
^
source.ts meta.var.expr.ts variable.other.readwrite.ts
^
source.ts meta.var.expr.ts
^
source.ts meta.var.expr.ts keyword.operator.arithmetic.ts
^
source.ts meta.var.expr.ts
^
source.ts meta.var.expr.ts variable.other.readwrite.ts
^
source.ts meta.var.expr.ts
^
source.ts meta.var.expr.ts keyword.operator.arithmetic.ts
^
source.ts meta.var.expr.ts
^
source.ts meta.var.expr.ts variable.other.readwrite.ts
^
source.ts meta.var.expr.ts
^
source.ts meta.var.expr.ts keyword.operator.arithmetic.ts
^
source.ts meta.var.expr.ts
^
source.ts meta.var.expr.ts variable.other.readwrite.ts
^
source.ts meta.var.expr.ts
^
source.ts meta.var.expr.ts keyword.operator.arithmetic.ts
^
source.ts meta.var.expr.ts
^
source.ts meta.var.expr.ts variable.other.readwrite.ts
^
source.ts punctuation.terminator.statement.ts