2016-09-13 20:51:04 +03:00
|
|
|
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;
|
|
|
|
-----------------------------------
|
|
|
|
|
|
|
|
>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 meta.var-single-variable.expr.ts keyword.operator.assignment.ts
|
|
|
|
^
|
|
|
|
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts
|
|
|
|
^
|
|
|
|
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts constant.numeric.decimal.ts
|
2016-09-16 02:03:59 +03:00
|
|
|
^
|
|
|
|
source.ts meta.var.expr.ts punctuation.separator.comma.ts
|
|
|
|
^
|
|
|
|
source.ts meta.var.expr.ts
|
2016-09-13 20:51:04 +03:00
|
|
|
^
|
|
|
|
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 meta.var-single-variable.expr.ts keyword.operator.assignment.ts
|
|
|
|
^
|
|
|
|
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts
|
|
|
|
^
|
|
|
|
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts constant.numeric.decimal.ts
|
2016-09-16 02:03:59 +03:00
|
|
|
^
|
|
|
|
source.ts meta.var.expr.ts punctuation.separator.comma.ts
|
|
|
|
^
|
|
|
|
source.ts meta.var.expr.ts
|
2016-09-13 20:51:04 +03:00
|
|
|
^
|
|
|
|
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 meta.var-single-variable.expr.ts keyword.operator.assignment.ts
|
|
|
|
^
|
|
|
|
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts
|
|
|
|
^
|
|
|
|
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts constant.numeric.decimal.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 meta.var-single-variable.expr.ts keyword.operator.assignment.ts
|
|
|
|
^^^
|
|
|
|
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts
|
|
|
|
^
|
|
|
|
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts keyword.operator.arithmetic.ts
|
|
|
|
^^^
|
|
|
|
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts
|
|
|
|
> / c;
|
|
|
|
^^^^
|
|
|
|
source.ts
|
|
|
|
^
|
|
|
|
source.ts keyword.operator.arithmetic.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 meta.var-single-variable.expr.ts keyword.operator.assignment.ts
|
|
|
|
^^^
|
|
|
|
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts
|
|
|
|
^
|
|
|
|
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts keyword.operator.arithmetic.ts
|
|
|
|
^^^
|
|
|
|
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts
|
|
|
|
> / c * a + b / a / b / c;
|
|
|
|
^^^^
|
|
|
|
source.ts
|
|
|
|
^
|
|
|
|
source.ts keyword.operator.arithmetic.ts
|
|
|
|
^^^
|
|
|
|
source.ts
|
|
|
|
^
|
|
|
|
source.ts keyword.operator.arithmetic.ts
|
|
|
|
^^^
|
|
|
|
source.ts
|
|
|
|
^
|
|
|
|
source.ts keyword.operator.arithmetic.ts
|
|
|
|
^^^
|
|
|
|
source.ts
|
|
|
|
^
|
|
|
|
source.ts keyword.operator.arithmetic.ts
|
|
|
|
^^^
|
|
|
|
source.ts
|
|
|
|
^
|
|
|
|
source.ts keyword.operator.arithmetic.ts
|
|
|
|
^^^
|
|
|
|
source.ts
|
|
|
|
^
|
|
|
|
source.ts keyword.operator.arithmetic.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 meta.var-single-variable.expr.ts keyword.operator.assignment.ts
|
|
|
|
^^^
|
|
|
|
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts
|
|
|
|
^
|
|
|
|
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts keyword.operator.arithmetic.ts
|
|
|
|
^^^
|
|
|
|
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts
|
|
|
|
^
|
|
|
|
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts keyword.operator.arithmetic.ts
|
|
|
|
^^^
|
|
|
|
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts
|
|
|
|
^
|
|
|
|
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts keyword.operator.arithmetic.ts
|
|
|
|
^^^
|
|
|
|
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts
|
|
|
|
^
|
|
|
|
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts keyword.operator.arithmetic.ts
|
|
|
|
^^^
|
|
|
|
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts
|
|
|
|
^
|
|
|
|
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts keyword.operator.arithmetic.ts
|
|
|
|
^^^
|
|
|
|
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts
|
|
|
|
^
|
|
|
|
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts keyword.operator.arithmetic.ts
|
|
|
|
^^^
|
|
|
|
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts
|
|
|
|
^
|
|
|
|
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts keyword.operator.arithmetic.ts
|
|
|
|
^^
|
|
|
|
source.ts meta.var.expr.ts meta.var-single-variable.expr.ts
|
|
|
|
^^
|
|
|
|
source.ts
|