84 строки
4.1 KiB
Plaintext
84 строки
4.1 KiB
Plaintext
original file
|
|
-----------------------------------
|
|
declare function f<T, U>(): void;
|
|
const x = f<"a", "b">();
|
|
-----------------------------------
|
|
|
|
Grammar: TypeScript.tmLanguage
|
|
-----------------------------------
|
|
>declare function f<T, U>(): void;
|
|
^^^^^^^
|
|
source.ts meta.function.ts storage.modifier.ts
|
|
^
|
|
source.ts meta.function.ts
|
|
^^^^^^^^
|
|
source.ts meta.function.ts storage.type.function.ts
|
|
^
|
|
source.ts meta.function.ts
|
|
^
|
|
source.ts meta.function.ts meta.definition.function.ts entity.name.function.ts
|
|
^
|
|
source.ts meta.function.ts meta.type.parameters.ts punctuation.definition.typeparameters.begin.ts
|
|
^
|
|
source.ts meta.function.ts meta.type.parameters.ts entity.name.type.ts
|
|
^
|
|
source.ts meta.function.ts meta.type.parameters.ts punctuation.separator.comma.ts
|
|
^
|
|
source.ts meta.function.ts meta.type.parameters.ts
|
|
^
|
|
source.ts meta.function.ts meta.type.parameters.ts entity.name.type.ts
|
|
^
|
|
source.ts meta.function.ts meta.type.parameters.ts punctuation.definition.typeparameters.end.ts
|
|
^
|
|
source.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
|
|
^
|
|
source.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.end.ts
|
|
^
|
|
source.ts meta.function.ts meta.return.type.ts keyword.operator.type.annotation.ts
|
|
^
|
|
source.ts meta.function.ts meta.return.type.ts
|
|
^^^^
|
|
source.ts meta.function.ts meta.return.type.ts support.type.primitive.ts
|
|
^
|
|
source.ts punctuation.terminator.statement.ts
|
|
>const x = f<"a", "b">();
|
|
^^^^^
|
|
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 meta.function-call.ts entity.name.function.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.type.parameters.ts punctuation.definition.typeparameters.begin.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.type.parameters.ts string.quoted.double.ts punctuation.definition.string.begin.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.type.parameters.ts string.quoted.double.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.type.parameters.ts string.quoted.double.ts punctuation.definition.string.end.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.type.parameters.ts punctuation.separator.comma.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.type.parameters.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.type.parameters.ts string.quoted.double.ts punctuation.definition.string.begin.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.type.parameters.ts string.quoted.double.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.type.parameters.ts string.quoted.double.ts punctuation.definition.string.end.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.type.parameters.ts punctuation.definition.typeparameters.end.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.brace.round.ts
|
|
^
|
|
source.ts meta.var.expr.ts meta.brace.round.ts
|
|
^
|
|
source.ts punctuation.terminator.statement.ts |