348 строки
12 KiB
Plaintext
348 строки
12 KiB
Plaintext
original file
|
|
-----------------------------------
|
|
let number1 = 0x100
|
|
let number2 = 14e15
|
|
let number3 = 10.42e41.5
|
|
let number4 = 4
|
|
let number5 = 51.4
|
|
let number6 = 12.4E10.2
|
|
let number7 = 14.6e+10
|
|
let number8 = 12E4
|
|
let number9 = 10e10
|
|
let number10 = 14e14.5
|
|
let number11 = 12E-10
|
|
let number12 = 13.4e-14.2
|
|
let number13 = 14.12
|
|
let number14 = 10.2E+4
|
|
let number6 = 5.00567789e+2
|
|
let i = 1, j = 1e3
|
|
|
|
/*
|
|
|
|
Testing comments
|
|
*/
|
|
-----------------------------------
|
|
|
|
Grammar: TypeScript.tmLanguage
|
|
-----------------------------------
|
|
>let number1 = 0x100
|
|
^^^
|
|
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.hex.ts
|
|
^^^
|
|
source.ts meta.var.expr.ts
|
|
>let number2 = 14e15
|
|
^^^
|
|
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
|
|
>let number3 = 10.42e41.5
|
|
^^^
|
|
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 constant.numeric.decimal.ts meta.delimiter.decimal.period.ts
|
|
^^^^^
|
|
source.ts meta.var.expr.ts constant.numeric.decimal.ts
|
|
^
|
|
source.ts meta.var.expr.ts punctuation.accessor.ts
|
|
^
|
|
source.ts meta.var.expr.ts constant.numeric.decimal.ts
|
|
^
|
|
source.ts meta.var.expr.ts
|
|
>let number4 = 4
|
|
^^^
|
|
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
|
|
>let number5 = 51.4
|
|
^^^
|
|
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 constant.numeric.decimal.ts meta.delimiter.decimal.period.ts
|
|
^
|
|
source.ts meta.var.expr.ts constant.numeric.decimal.ts
|
|
>let number6 = 12.4E10.2
|
|
^^^
|
|
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 constant.numeric.decimal.ts meta.delimiter.decimal.period.ts
|
|
^^^^
|
|
source.ts meta.var.expr.ts constant.numeric.decimal.ts
|
|
^
|
|
source.ts meta.var.expr.ts punctuation.accessor.ts
|
|
^
|
|
source.ts meta.var.expr.ts constant.numeric.decimal.ts
|
|
>let number7 = 14.6e+10
|
|
^^^
|
|
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 constant.numeric.decimal.ts meta.delimiter.decimal.period.ts
|
|
^^^^^
|
|
source.ts meta.var.expr.ts constant.numeric.decimal.ts
|
|
>let number8 = 12E4
|
|
^^^
|
|
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
|
|
>let number9 = 10e10
|
|
^^^
|
|
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
|
|
>let number10 = 14e14.5
|
|
^^^
|
|
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.accessor.ts
|
|
^
|
|
source.ts meta.var.expr.ts constant.numeric.decimal.ts
|
|
>let number11 = 12E-10
|
|
^^^
|
|
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
|
|
>let number12 = 13.4e-14.2
|
|
^^^
|
|
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 constant.numeric.decimal.ts meta.delimiter.decimal.period.ts
|
|
^^^^^
|
|
source.ts meta.var.expr.ts constant.numeric.decimal.ts
|
|
^
|
|
source.ts meta.var.expr.ts punctuation.accessor.ts
|
|
^
|
|
source.ts meta.var.expr.ts constant.numeric.decimal.ts
|
|
>let number13 = 14.12
|
|
^^^
|
|
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 constant.numeric.decimal.ts meta.delimiter.decimal.period.ts
|
|
^^
|
|
source.ts meta.var.expr.ts constant.numeric.decimal.ts
|
|
>let number14 = 10.2E+4
|
|
^^^
|
|
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 constant.numeric.decimal.ts meta.delimiter.decimal.period.ts
|
|
^^^^
|
|
source.ts meta.var.expr.ts constant.numeric.decimal.ts
|
|
>let number6 = 5.00567789e+2
|
|
^^^
|
|
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 constant.numeric.decimal.ts meta.delimiter.decimal.period.ts
|
|
^^^^^^^^^^^
|
|
source.ts meta.var.expr.ts constant.numeric.decimal.ts
|
|
>let i = 1, j = 1e3
|
|
^^^
|
|
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
|
|
>/*
|
|
^^
|
|
source.ts comment.block.ts punctuation.definition.comment.ts
|
|
>
|
|
^
|
|
source.ts comment.block.ts
|
|
> Testing comments
|
|
^^^^^^^^^^^^^^^^^^^
|
|
source.ts comment.block.ts
|
|
>*/
|
|
^^
|
|
source.ts comment.block.ts punctuation.definition.comment.ts |