56 строки
2.8 KiB
Plaintext
56 строки
2.8 KiB
Plaintext
original file
|
|
-----------------------------------
|
|
let result = foo instanceof Foo ? foo.bar() : null;
|
|
-----------------------------------
|
|
|
|
Grammar: TypeScript.tmLanguage
|
|
-----------------------------------
|
|
>let result = foo instanceof Foo ? foo.bar() : null;
|
|
^^^
|
|
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.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 variable.other.readwrite.ts
|
|
^
|
|
source.ts meta.var.expr.ts
|
|
^^^^^^^^^^
|
|
source.ts meta.var.expr.ts keyword.operator.expression.instanceof.ts
|
|
^
|
|
source.ts meta.var.expr.ts
|
|
^^^
|
|
source.ts meta.var.expr.ts entity.name.type.ts
|
|
^
|
|
source.ts meta.var.expr.ts
|
|
^
|
|
source.ts meta.var.expr.ts keyword.operator.ternary.ts
|
|
^
|
|
source.ts meta.var.expr.ts
|
|
^^^
|
|
source.ts meta.var.expr.ts meta.function-call.ts variable.other.object.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.function-call.ts punctuation.accessor.ts
|
|
^^^
|
|
source.ts meta.var.expr.ts meta.function-call.ts entity.name.function.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.brace.round.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.brace.round.ts
|
|
^
|
|
source.ts meta.var.expr.ts
|
|
^
|
|
source.ts meta.var.expr.ts keyword.operator.ternary.ts
|
|
^
|
|
source.ts meta.var.expr.ts
|
|
^^^^
|
|
source.ts meta.var.expr.ts constant.language.null.ts
|
|
^
|
|
source.ts punctuation.terminator.statement.ts |