106 строки
6.5 KiB
Plaintext
106 строки
6.5 KiB
Plaintext
original file
|
|
-----------------------------------
|
|
function runQuery() {
|
|
const query = createQuery<[number[]], Table<Columns>>(`
|
|
some SQL here
|
|
`)
|
|
return database.execute(query)
|
|
}
|
|
-----------------------------------
|
|
|
|
Grammar: TypeScript.tmLanguage
|
|
-----------------------------------
|
|
>function runQuery() {
|
|
^^^^^^^^
|
|
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.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
|
|
^
|
|
source.ts meta.function.ts meta.block.ts punctuation.definition.block.ts
|
|
> const query = createQuery<[number[]], Table<Columns>>(`
|
|
^^^^
|
|
source.ts meta.function.ts meta.block.ts
|
|
^^^^^
|
|
source.ts meta.function.ts meta.block.ts meta.var.expr.ts storage.type.ts
|
|
^
|
|
source.ts meta.function.ts meta.block.ts meta.var.expr.ts
|
|
^^^^^
|
|
source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.definition.variable.ts variable.other.constant.ts
|
|
^
|
|
source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts
|
|
^
|
|
source.ts meta.function.ts meta.block.ts meta.var.expr.ts keyword.operator.assignment.ts
|
|
^
|
|
source.ts meta.function.ts meta.block.ts meta.var.expr.ts
|
|
^^^^^^^^^^^
|
|
source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.function-call.ts entity.name.function.ts
|
|
^
|
|
source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.type.parameters.ts punctuation.definition.typeparameters.begin.ts
|
|
^
|
|
source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.type.parameters.ts meta.type.tuple.ts meta.brace.square.ts
|
|
^^^^^^
|
|
source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.type.parameters.ts meta.type.tuple.ts support.type.primitive.ts
|
|
^
|
|
source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.type.parameters.ts meta.type.tuple.ts meta.type.tuple.ts meta.brace.square.ts
|
|
^
|
|
source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.type.parameters.ts meta.type.tuple.ts meta.type.tuple.ts meta.brace.square.ts
|
|
^
|
|
source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.type.parameters.ts meta.type.tuple.ts meta.brace.square.ts
|
|
^
|
|
source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.type.parameters.ts punctuation.separator.comma.ts
|
|
^
|
|
source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.type.parameters.ts
|
|
^^^^^
|
|
source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.type.parameters.ts entity.name.type.ts
|
|
^
|
|
source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.type.parameters.ts meta.type.parameters.ts punctuation.definition.typeparameters.begin.ts
|
|
^^^^^^^
|
|
source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.type.parameters.ts meta.type.parameters.ts entity.name.type.ts
|
|
^
|
|
source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.type.parameters.ts meta.type.parameters.ts punctuation.definition.typeparameters.end.ts
|
|
^
|
|
source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.type.parameters.ts punctuation.definition.typeparameters.end.ts
|
|
^
|
|
source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.brace.round.ts
|
|
^
|
|
source.ts meta.function.ts meta.block.ts meta.var.expr.ts string.template.ts punctuation.definition.string.template.begin.ts
|
|
> some SQL here
|
|
^^^^^^^^^^^^^^^^^^^^^^
|
|
source.ts meta.function.ts meta.block.ts meta.var.expr.ts string.template.ts
|
|
> `)
|
|
^^^^
|
|
source.ts meta.function.ts meta.block.ts meta.var.expr.ts string.template.ts
|
|
^
|
|
source.ts meta.function.ts meta.block.ts meta.var.expr.ts string.template.ts punctuation.definition.string.template.end.ts
|
|
^
|
|
source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.brace.round.ts
|
|
> return database.execute(query)
|
|
^^^^
|
|
source.ts meta.function.ts meta.block.ts
|
|
^^^^^^
|
|
source.ts meta.function.ts meta.block.ts keyword.control.flow.ts
|
|
^
|
|
source.ts meta.function.ts meta.block.ts
|
|
^^^^^^^^
|
|
source.ts meta.function.ts meta.block.ts meta.function-call.ts variable.other.object.ts
|
|
^
|
|
source.ts meta.function.ts meta.block.ts meta.function-call.ts punctuation.accessor.ts
|
|
^^^^^^^
|
|
source.ts meta.function.ts meta.block.ts meta.function-call.ts entity.name.function.ts
|
|
^
|
|
source.ts meta.function.ts meta.block.ts meta.brace.round.ts
|
|
^^^^^
|
|
source.ts meta.function.ts meta.block.ts variable.other.readwrite.ts
|
|
^
|
|
source.ts meta.function.ts meta.block.ts meta.brace.round.ts
|
|
>}
|
|
^
|
|
source.ts meta.function.ts meta.block.ts punctuation.definition.block.ts |