94 строки
2.9 KiB
Plaintext
94 строки
2.9 KiB
Plaintext
original file
|
|
-----------------------------------
|
|
switch (x) {
|
|
case 0:
|
|
default:
|
|
}
|
|
typeof x;
|
|
void x;
|
|
delete x.y;
|
|
x instanceof y;
|
|
-----------------------------------
|
|
|
|
Grammar: TypeScript.tmLanguage
|
|
-----------------------------------
|
|
>switch (x) {
|
|
^^^^^^
|
|
source.ts switch-statement.expr.ts switch-expression.expr.ts keyword.control.switch.ts
|
|
^
|
|
source.ts switch-statement.expr.ts switch-expression.expr.ts
|
|
^
|
|
source.ts switch-statement.expr.ts switch-expression.expr.ts meta.brace.round.ts
|
|
^
|
|
source.ts switch-statement.expr.ts switch-expression.expr.ts variable.other.readwrite.ts
|
|
^
|
|
source.ts switch-statement.expr.ts switch-expression.expr.ts meta.brace.round.ts
|
|
^
|
|
source.ts switch-statement.expr.ts
|
|
^
|
|
source.ts switch-statement.expr.ts switch-block.expr.ts punctuation.definition.block.ts
|
|
> case 0:
|
|
^^^^
|
|
source.ts switch-statement.expr.ts switch-block.expr.ts
|
|
^^^^
|
|
source.ts switch-statement.expr.ts switch-block.expr.ts case-clause.expr.ts keyword.control.switch.ts
|
|
^
|
|
source.ts switch-statement.expr.ts switch-block.expr.ts case-clause.expr.ts
|
|
^
|
|
source.ts switch-statement.expr.ts switch-block.expr.ts case-clause.expr.ts constant.numeric.decimal.ts
|
|
^
|
|
source.ts switch-statement.expr.ts switch-block.expr.ts case-clause.expr.ts punctuation.definition.section.case-statement.ts
|
|
> default:
|
|
^^^^
|
|
source.ts switch-statement.expr.ts switch-block.expr.ts
|
|
^^^^^^^
|
|
source.ts switch-statement.expr.ts switch-block.expr.ts case-clause.expr.ts keyword.control.switch.ts
|
|
^
|
|
source.ts switch-statement.expr.ts switch-block.expr.ts case-clause.expr.ts punctuation.definition.section.case-statement.ts
|
|
>}
|
|
^
|
|
source.ts switch-statement.expr.ts punctuation.definition.block.ts
|
|
>typeof x;
|
|
^^^^^^
|
|
source.ts keyword.operator.expression.typeof.ts
|
|
^
|
|
source.ts
|
|
^
|
|
source.ts variable.other.readwrite.ts
|
|
^
|
|
source.ts punctuation.terminator.statement.ts
|
|
>void x;
|
|
^^^^
|
|
source.ts keyword.operator.expression.void.ts
|
|
^
|
|
source.ts
|
|
^
|
|
source.ts variable.other.readwrite.ts
|
|
^
|
|
source.ts punctuation.terminator.statement.ts
|
|
>delete x.y;
|
|
^^^^^^
|
|
source.ts keyword.operator.expression.delete.ts
|
|
^
|
|
source.ts
|
|
^
|
|
source.ts variable.other.object.ts
|
|
^
|
|
source.ts punctuation.accessor.ts
|
|
^
|
|
source.ts support.variable.property.dom.ts
|
|
^
|
|
source.ts punctuation.terminator.statement.ts
|
|
>x instanceof y;
|
|
^
|
|
source.ts variable.other.readwrite.ts
|
|
^
|
|
source.ts
|
|
^^^^^^^^^^
|
|
source.ts keyword.operator.expression.instanceof.ts
|
|
^
|
|
source.ts
|
|
^
|
|
source.ts entity.name.type.ts
|
|
^
|
|
source.ts punctuation.terminator.statement.ts |