site/node_modules/shiki/dist/langs/codeql.mjs

7 lines
35 KiB
JavaScript
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
const lang = Object.freeze({ "displayName": "CodeQL", "fileTypes": ["ql", "qll"], "name": "codeql", "patterns": [{ "include": "#module-member" }], "repository": { "abstract": { "match": "(?x)\\b(?:abstract)(?:(?!(?:[0-9A-Za-z_])))", "name": "storage.modifier.abstract.ql" }, "additional": { "match": "(?x)\\b(?:additional)(?:(?!(?:[0-9A-Za-z_])))", "name": "storage.modifier.additional.ql" }, "and": { "match": "(?x)\\b(?:and)(?:(?!(?:[0-9A-Za-z_])))", "name": "keyword.other.and.ql" }, "annotation": { "patterns": [{ "include": "#bindingset-annotation" }, { "include": "#language-annotation" }, { "include": "#pragma-annotation" }, { "include": "#annotation-keyword" }] }, "annotation-keyword": { "patterns": [{ "include": "#abstract" }, { "include": "#additional" }, { "include": "#bindingset" }, { "include": "#cached" }, { "include": "#default" }, { "include": "#deprecated" }, { "include": "#external" }, { "include": "#final" }, { "include": "#language" }, { "include": "#library" }, { "include": "#override" }, { "include": "#pragma" }, { "include": "#private" }, { "include": "#query" }, { "include": "#signature" }, { "include": "#transient" }] }, "any": { "match": "(?x)\\b(?:any)(?:(?!(?:[0-9A-Za-z_])))", "name": "keyword.quantifier.any.ql" }, "arithmetic-operator": { "match": "(?x)\\+|-|\\*|/|%", "name": "keyword.operator.arithmetic.ql" }, "as": { "match": "(?x)\\b(?:as)(?:(?!(?:[0-9A-Za-z_])))", "name": "keyword.other.as.ql" }, "asc": { "match": "(?x)\\b(?:asc)(?:(?!(?:[0-9A-Za-z_])))", "name": "keyword.order.asc.ql" }, "at-lower-id": { "match": "(?x)@[a-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_])))" }, "avg": { "match": "(?x)\\b(?:avg)(?:(?!(?:[0-9A-Za-z_])))", "name": "keyword.aggregate.avg.ql" }, "bindingset": { "match": "(?x)\\b(?:bindingset)(?:(?!(?:[0-9A-Za-z_])))", "name": "storage.modifier.bindingset.ql" }, "bindingset-annotation": { "begin": "(?x)((?:\\b(?:bindingset)(?:(?!(?:[0-9A-Za-z_])))))", "beginCaptures": { "1": { "patterns": [{ "include": "#bindingset" }] } }, "end": "(?x)(?! (?:\\s | $ | (?:// | /\\*)) | \\[ ) | (?<=\\])", "name": "meta.block.bindingset-annotation.ql", "patterns": [{ "include": "#bindingset-annotation-body" }, { "include": "#non-context-sensitive" }] }, "bindingset-annotation-body": { "begin": "(?x)((?:\\[))", "beginCaptures": { "1": { "patterns": [{ "include": "#open-bracket" }] } }, "end": "(?x)((?:\\]))", "endCaptures": { "1": { "patterns": [{ "include": "#close-bracket" }] } }, "name": "meta.block.bindingset-annotation-body.ql", "patterns": [{ "include": "#non-context-sensitive" }, { "match": "(?x)(?:\\b [A-Za-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))", "name": "variable.parameter.ql" }] }, "boolean": { "match": "(?x)\\b(?:boolean)(?:(?!(?:[0-9A-Za-z_])))", "name": "keyword.type.boolean.ql" }, "by": { "match": "(?x)\\b(?:by)(?:(?!(?:[0-9A-Za-z_])))", "name": "keyword.order.by.ql" }, "cached": { "match": "(?x)\\b(?:cached)(?:(?!(?:[0-9A-Za-z_])))", "name": "storage.modifier.cached.ql" }, "class": { "match": "(?x)\\b(?:class)(?:(?!(?:[0-9A-Za-z_])))", "name": "keyword.other.class.ql" }, "class-body": { "begin": "(?x)((?:\\{))", "beginCaptures": { "1": { "patterns": [{ "include": "#open-brace" }] } }, "end": "(?x)((?:\\}))", "endCaptures": { "1": { "patterns": [{ "include": "#close-brace" }] } }, "name": "meta.block.class-body.ql", "patterns": [{ "include": "#class-member" }] }, "class-declaration": { "begin": "(?x)((?:\\b(?:class)(?:(?!(?:[0-9A-Za-z_])))))", "beginCaptures": { "1": { "patterns": [{ "include": "#class" }] } }, "end": "(?x)(?<= \\} | ; )", "name": "meta.block.class-declaration.ql", "patterns": [{ "include": "#class-body" }, { "include": "#extends-clause" }, { "include": "#non-context-sensitive" }, { "match": "(?x)(?:\\b [A-Z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))", "name": "entity.name.type.class.ql" }] }, "class-member": { "patterns": [{ "include": "#predicate-or-field-declaration" }, { "include": "#annotation" }, { "include": "#non-context-sensitive" }] }, "close-angle": { "match": "(?x)>", "name": "punctuation.anglebracket.close.ql" }, "close-brace": { "match": "(?x)\\}", "na
var codeql = [
lang
];
export { codeql as default };