82 строки
4.6 KiB
Plaintext
82 строки
4.6 KiB
Plaintext
original file
|
|
-----------------------------------
|
|
const items = new Set<string>([ 'foo', 'bar' ]);
|
|
items.delete('foo');
|
|
-----------------------------------
|
|
|
|
Grammar: TypeScript.tmLanguage
|
|
-----------------------------------
|
|
>const items = new Set<string>([ 'foo', 'bar' ]);
|
|
^^^^^
|
|
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 meta.definition.variable.ts variable.other.constant.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 new.expr.ts keyword.operator.new.ts
|
|
^
|
|
source.ts meta.var.expr.ts new.expr.ts
|
|
^^^
|
|
source.ts meta.var.expr.ts new.expr.ts meta.function-call.ts support.class.builtin.ts
|
|
^
|
|
source.ts meta.var.expr.ts new.expr.ts meta.type.parameters.ts punctuation.definition.typeparameters.begin.ts
|
|
^^^^^^
|
|
source.ts meta.var.expr.ts new.expr.ts meta.type.parameters.ts support.type.primitive.ts
|
|
^
|
|
source.ts meta.var.expr.ts new.expr.ts meta.type.parameters.ts punctuation.definition.typeparameters.end.ts
|
|
^
|
|
source.ts meta.var.expr.ts new.expr.ts meta.brace.round.ts
|
|
^
|
|
source.ts meta.var.expr.ts new.expr.ts meta.array.literal.ts meta.brace.square.ts
|
|
^
|
|
source.ts meta.var.expr.ts new.expr.ts meta.array.literal.ts
|
|
^
|
|
source.ts meta.var.expr.ts new.expr.ts meta.array.literal.ts string.quoted.single.ts punctuation.definition.string.begin.ts
|
|
^^^
|
|
source.ts meta.var.expr.ts new.expr.ts meta.array.literal.ts string.quoted.single.ts
|
|
^
|
|
source.ts meta.var.expr.ts new.expr.ts meta.array.literal.ts string.quoted.single.ts punctuation.definition.string.end.ts
|
|
^
|
|
source.ts meta.var.expr.ts new.expr.ts meta.array.literal.ts punctuation.separator.comma.ts
|
|
^
|
|
source.ts meta.var.expr.ts new.expr.ts meta.array.literal.ts
|
|
^
|
|
source.ts meta.var.expr.ts new.expr.ts meta.array.literal.ts string.quoted.single.ts punctuation.definition.string.begin.ts
|
|
^^^
|
|
source.ts meta.var.expr.ts new.expr.ts meta.array.literal.ts string.quoted.single.ts
|
|
^
|
|
source.ts meta.var.expr.ts new.expr.ts meta.array.literal.ts string.quoted.single.ts punctuation.definition.string.end.ts
|
|
^
|
|
source.ts meta.var.expr.ts new.expr.ts meta.array.literal.ts
|
|
^
|
|
source.ts meta.var.expr.ts new.expr.ts meta.array.literal.ts meta.brace.square.ts
|
|
^
|
|
source.ts meta.var.expr.ts new.expr.ts meta.brace.round.ts
|
|
^
|
|
source.ts punctuation.terminator.statement.ts
|
|
>items.delete('foo');
|
|
^^^^^
|
|
source.ts meta.function-call.ts variable.other.object.ts
|
|
^
|
|
source.ts meta.function-call.ts punctuation.accessor.ts
|
|
^^^^^^
|
|
source.ts meta.function-call.ts support.function.dom.ts
|
|
^
|
|
source.ts meta.brace.round.ts
|
|
^
|
|
source.ts string.quoted.single.ts punctuation.definition.string.begin.ts
|
|
^^^
|
|
source.ts string.quoted.single.ts
|
|
^
|
|
source.ts string.quoted.single.ts punctuation.definition.string.end.ts
|
|
^
|
|
source.ts meta.brace.round.ts
|
|
^
|
|
source.ts punctuation.terminator.statement.ts |