134 строки
3.8 KiB
Plaintext
134 строки
3.8 KiB
Plaintext
original file
|
|
-----------------------------------
|
|
|
|
/* Testing octals */
|
|
|
|
var x = 123;
|
|
var y = 0x123;
|
|
var z = 0b10101;
|
|
var z = 0B00000;
|
|
var j = 0o474774;
|
|
var w = 0O767;
|
|
|
|
-----------------------------------
|
|
|
|
Grammar: TypeScript.tmLanguage
|
|
-----------------------------------
|
|
>
|
|
^
|
|
source.ts
|
|
>/* Testing octals */
|
|
^^
|
|
source.ts comment.block.ts punctuation.definition.comment.ts
|
|
^^^^^^^^^^^^^^^^
|
|
source.ts comment.block.ts
|
|
^^
|
|
source.ts comment.block.ts punctuation.definition.comment.ts
|
|
>
|
|
^
|
|
source.ts
|
|
>var x = 123;
|
|
^^^
|
|
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 punctuation.terminator.statement.ts
|
|
>var y = 0x123;
|
|
^^^
|
|
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 punctuation.terminator.statement.ts
|
|
>var z = 0b10101;
|
|
^^^
|
|
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.binary.ts
|
|
^
|
|
source.ts punctuation.terminator.statement.ts
|
|
>var z = 0B00000;
|
|
^^^
|
|
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.binary.ts
|
|
^
|
|
source.ts punctuation.terminator.statement.ts
|
|
>var j = 0o474774;
|
|
^^^
|
|
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.octal.ts
|
|
^
|
|
source.ts punctuation.terminator.statement.ts
|
|
>var w = 0O767;
|
|
^^^
|
|
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.octal.ts
|
|
^
|
|
source.ts punctuation.terminator.statement.ts
|
|
>
|
|
^
|
|
source.ts |