Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +4 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/base/worker/workerMain.js +0 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/base/worker/workerMain.js.map +0 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/abap/abap.js +1432 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/apex/apex.js +364 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/azcli/azcli.js +102 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/bat/bat.js +134 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/bicep/bicep.js +143 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/cameligo/cameligo.js +208 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/clojure/clojure.js +795 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/coffee/coffee.js +266 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/cpp/cpp.js +423 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/csharp/csharp.js +360 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/csp/csp.js +87 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/css/css.js +219 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/cypher/cypher.js +297 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/dart/dart.js +315 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/dockerfile/dockerfile.js +164 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/ecl/ecl.js +490 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/elixir/elixir.js +603 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/flow9/flow9.js +176 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/freemarker2/freemarker2.js +1062 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/fsharp/fsharp.js +251 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/go/go.js +252 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/graphql/graphql.js +185 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/handlebars/handlebars.js +481 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/hcl/hcl.js +217 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/html/html.js +370 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/ini/ini.js +105 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/java/java.js +266 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/javascript/javascript.js +472 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/julia/julia.js +545 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/kotlin/kotlin.js +287 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/less/less.js +195 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/lexon/lexon.js +191 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/liquid/liquid.js +302 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/lua/lua.js +196 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/m3/m3.js +244 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/markdown/markdown.js +263 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/mdx/mdx.js +226 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/mips/mips.js +232 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/msdax/msdax.js +409 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/mysql/mysql.js +912 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/objective-c/objective-c.js +217 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/pascal/pascal.js +285 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/pascaligo/pascaligo.js +198 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/perl/perl.js +660 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/pgsql/pgsql.js +885 -0
- novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/php/php.js +534 -0
.gitattributes
CHANGED
|
@@ -3522,3 +3522,7 @@ novas/novacore-zephyr/claude-code-router/ui/node_modules/@tailwindcss/oxide-linu
|
|
| 3522 |
novas/novacore-zephyr/claude-code-router/ui/node_modules/@tailwindcss/oxide-linux-x64-musl/tailwindcss-oxide.linux-x64-musl.node filter=lfs diff=lfs merge=lfs -text
|
| 3523 |
novas/novacore-zephyr/claude-code-router/ui/node_modules/@esbuild/linux-x64/bin/esbuild filter=lfs diff=lfs merge=lfs -text
|
| 3524 |
novas/novacore-zephyr/claude-code-router/ui/node_modules/esbuild/bin/esbuild filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3522 |
novas/novacore-zephyr/claude-code-router/ui/node_modules/@tailwindcss/oxide-linux-x64-musl/tailwindcss-oxide.linux-x64-musl.node filter=lfs diff=lfs merge=lfs -text
|
| 3523 |
novas/novacore-zephyr/claude-code-router/ui/node_modules/@esbuild/linux-x64/bin/esbuild filter=lfs diff=lfs merge=lfs -text
|
| 3524 |
novas/novacore-zephyr/claude-code-router/ui/node_modules/esbuild/bin/esbuild filter=lfs diff=lfs merge=lfs -text
|
| 3525 |
+
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/esm/vs/language/typescript/ts.worker.js filter=lfs diff=lfs merge=lfs -text
|
| 3526 |
+
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/editor/editor.main.js.map filter=lfs diff=lfs merge=lfs -text
|
| 3527 |
+
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/language/typescript/tsWorker.js filter=lfs diff=lfs merge=lfs -text
|
| 3528 |
+
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/min-maps/vs/editor/editor.main.js.map filter=lfs diff=lfs merge=lfs -text
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/base/browser/ui/codicons/codicon/codicon.ttf
ADDED
|
Binary file (80.3 kB). View file
|
|
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/base/worker/workerMain.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/base/worker/workerMain.js.map
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/abap/abap.js
ADDED
|
@@ -0,0 +1,1432 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/abap/abap", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/abap/abap.ts
|
| 29 |
+
var abap_exports = {};
|
| 30 |
+
__export(abap_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
comments: {
|
| 36 |
+
lineComment: "*"
|
| 37 |
+
},
|
| 38 |
+
brackets: [
|
| 39 |
+
["[", "]"],
|
| 40 |
+
["(", ")"]
|
| 41 |
+
]
|
| 42 |
+
};
|
| 43 |
+
var language = {
|
| 44 |
+
defaultToken: "invalid",
|
| 45 |
+
ignoreCase: true,
|
| 46 |
+
tokenPostfix: ".abap",
|
| 47 |
+
keywords: [
|
| 48 |
+
"abap-source",
|
| 49 |
+
"abbreviated",
|
| 50 |
+
"abstract",
|
| 51 |
+
"accept",
|
| 52 |
+
"accepting",
|
| 53 |
+
"according",
|
| 54 |
+
"activation",
|
| 55 |
+
"actual",
|
| 56 |
+
"add",
|
| 57 |
+
"add-corresponding",
|
| 58 |
+
"adjacent",
|
| 59 |
+
"after",
|
| 60 |
+
"alias",
|
| 61 |
+
"aliases",
|
| 62 |
+
"align",
|
| 63 |
+
"all",
|
| 64 |
+
"allocate",
|
| 65 |
+
"alpha",
|
| 66 |
+
"analysis",
|
| 67 |
+
"analyzer",
|
| 68 |
+
"and",
|
| 69 |
+
// also an operator
|
| 70 |
+
"append",
|
| 71 |
+
"appendage",
|
| 72 |
+
"appending",
|
| 73 |
+
"application",
|
| 74 |
+
"archive",
|
| 75 |
+
"area",
|
| 76 |
+
"arithmetic",
|
| 77 |
+
"as",
|
| 78 |
+
"ascending",
|
| 79 |
+
"aspect",
|
| 80 |
+
"assert",
|
| 81 |
+
"assign",
|
| 82 |
+
"assigned",
|
| 83 |
+
"assigning",
|
| 84 |
+
"association",
|
| 85 |
+
"asynchronous",
|
| 86 |
+
"at",
|
| 87 |
+
"attributes",
|
| 88 |
+
"authority",
|
| 89 |
+
"authority-check",
|
| 90 |
+
"avg",
|
| 91 |
+
"back",
|
| 92 |
+
"background",
|
| 93 |
+
"backup",
|
| 94 |
+
"backward",
|
| 95 |
+
"badi",
|
| 96 |
+
"base",
|
| 97 |
+
"before",
|
| 98 |
+
"begin",
|
| 99 |
+
"between",
|
| 100 |
+
// also an operator
|
| 101 |
+
"big",
|
| 102 |
+
"binary",
|
| 103 |
+
"bintohex",
|
| 104 |
+
"bit",
|
| 105 |
+
"black",
|
| 106 |
+
"blank",
|
| 107 |
+
"blanks",
|
| 108 |
+
"blob",
|
| 109 |
+
"block",
|
| 110 |
+
"blocks",
|
| 111 |
+
"blue",
|
| 112 |
+
"bound",
|
| 113 |
+
"boundaries",
|
| 114 |
+
"bounds",
|
| 115 |
+
"boxed",
|
| 116 |
+
"break-point",
|
| 117 |
+
"buffer",
|
| 118 |
+
"by",
|
| 119 |
+
"bypassing",
|
| 120 |
+
"byte",
|
| 121 |
+
"byte-order",
|
| 122 |
+
"call",
|
| 123 |
+
"calling",
|
| 124 |
+
"case",
|
| 125 |
+
"cast",
|
| 126 |
+
"casting",
|
| 127 |
+
"catch",
|
| 128 |
+
"center",
|
| 129 |
+
"centered",
|
| 130 |
+
"chain",
|
| 131 |
+
"chain-input",
|
| 132 |
+
"chain-request",
|
| 133 |
+
"change",
|
| 134 |
+
"changing",
|
| 135 |
+
"channels",
|
| 136 |
+
"character",
|
| 137 |
+
"char-to-hex",
|
| 138 |
+
"check",
|
| 139 |
+
"checkbox",
|
| 140 |
+
"ci_",
|
| 141 |
+
"circular",
|
| 142 |
+
"class",
|
| 143 |
+
"class-coding",
|
| 144 |
+
"class-data",
|
| 145 |
+
"class-events",
|
| 146 |
+
"class-methods",
|
| 147 |
+
"class-pool",
|
| 148 |
+
"cleanup",
|
| 149 |
+
"clear",
|
| 150 |
+
"client",
|
| 151 |
+
"clob",
|
| 152 |
+
"clock",
|
| 153 |
+
"close",
|
| 154 |
+
"coalesce",
|
| 155 |
+
"code",
|
| 156 |
+
"coding",
|
| 157 |
+
"col_background",
|
| 158 |
+
"col_group",
|
| 159 |
+
"col_heading",
|
| 160 |
+
"col_key",
|
| 161 |
+
"col_negative",
|
| 162 |
+
"col_normal",
|
| 163 |
+
"col_positive",
|
| 164 |
+
"col_total",
|
| 165 |
+
"collect",
|
| 166 |
+
"color",
|
| 167 |
+
"column",
|
| 168 |
+
"columns",
|
| 169 |
+
"comment",
|
| 170 |
+
"comments",
|
| 171 |
+
"commit",
|
| 172 |
+
"common",
|
| 173 |
+
"communication",
|
| 174 |
+
"comparing",
|
| 175 |
+
"component",
|
| 176 |
+
"components",
|
| 177 |
+
"compression",
|
| 178 |
+
"compute",
|
| 179 |
+
"concat",
|
| 180 |
+
"concat_with_space",
|
| 181 |
+
"concatenate",
|
| 182 |
+
"cond",
|
| 183 |
+
"condense",
|
| 184 |
+
// also a built-in
|
| 185 |
+
"condition",
|
| 186 |
+
"connect",
|
| 187 |
+
"connection",
|
| 188 |
+
"constants",
|
| 189 |
+
"context",
|
| 190 |
+
"contexts",
|
| 191 |
+
"continue",
|
| 192 |
+
"control",
|
| 193 |
+
"controls",
|
| 194 |
+
"conv",
|
| 195 |
+
"conversion",
|
| 196 |
+
"convert",
|
| 197 |
+
"copies",
|
| 198 |
+
"copy",
|
| 199 |
+
"corresponding",
|
| 200 |
+
"country",
|
| 201 |
+
"cover",
|
| 202 |
+
"cpi",
|
| 203 |
+
"create",
|
| 204 |
+
"creating",
|
| 205 |
+
"critical",
|
| 206 |
+
"currency",
|
| 207 |
+
"currency_conversion",
|
| 208 |
+
"current",
|
| 209 |
+
"cursor",
|
| 210 |
+
"cursor-selection",
|
| 211 |
+
"customer",
|
| 212 |
+
"customer-function",
|
| 213 |
+
"dangerous",
|
| 214 |
+
"data",
|
| 215 |
+
"database",
|
| 216 |
+
"datainfo",
|
| 217 |
+
"dataset",
|
| 218 |
+
"date",
|
| 219 |
+
"dats_add_days",
|
| 220 |
+
"dats_add_months",
|
| 221 |
+
"dats_days_between",
|
| 222 |
+
"dats_is_valid",
|
| 223 |
+
"daylight",
|
| 224 |
+
"dd/mm/yy",
|
| 225 |
+
"dd/mm/yyyy",
|
| 226 |
+
"ddmmyy",
|
| 227 |
+
"deallocate",
|
| 228 |
+
"decimal_shift",
|
| 229 |
+
"decimals",
|
| 230 |
+
"declarations",
|
| 231 |
+
"deep",
|
| 232 |
+
"default",
|
| 233 |
+
"deferred",
|
| 234 |
+
"define",
|
| 235 |
+
"defining",
|
| 236 |
+
"definition",
|
| 237 |
+
"delete",
|
| 238 |
+
"deleting",
|
| 239 |
+
"demand",
|
| 240 |
+
"department",
|
| 241 |
+
"descending",
|
| 242 |
+
"describe",
|
| 243 |
+
"destination",
|
| 244 |
+
"detail",
|
| 245 |
+
"dialog",
|
| 246 |
+
"directory",
|
| 247 |
+
"disconnect",
|
| 248 |
+
"display",
|
| 249 |
+
"display-mode",
|
| 250 |
+
"distinct",
|
| 251 |
+
"divide",
|
| 252 |
+
"divide-corresponding",
|
| 253 |
+
"division",
|
| 254 |
+
"do",
|
| 255 |
+
"dummy",
|
| 256 |
+
"duplicate",
|
| 257 |
+
"duplicates",
|
| 258 |
+
"duration",
|
| 259 |
+
"during",
|
| 260 |
+
"dynamic",
|
| 261 |
+
"dynpro",
|
| 262 |
+
"edit",
|
| 263 |
+
"editor-call",
|
| 264 |
+
"else",
|
| 265 |
+
"elseif",
|
| 266 |
+
"empty",
|
| 267 |
+
"enabled",
|
| 268 |
+
"enabling",
|
| 269 |
+
"encoding",
|
| 270 |
+
"end",
|
| 271 |
+
"endat",
|
| 272 |
+
"endcase",
|
| 273 |
+
"endcatch",
|
| 274 |
+
"endchain",
|
| 275 |
+
"endclass",
|
| 276 |
+
"enddo",
|
| 277 |
+
"endenhancement",
|
| 278 |
+
"end-enhancement-section",
|
| 279 |
+
"endexec",
|
| 280 |
+
"endform",
|
| 281 |
+
"endfunction",
|
| 282 |
+
"endian",
|
| 283 |
+
"endif",
|
| 284 |
+
"ending",
|
| 285 |
+
"endinterface",
|
| 286 |
+
"end-lines",
|
| 287 |
+
"endloop",
|
| 288 |
+
"endmethod",
|
| 289 |
+
"endmodule",
|
| 290 |
+
"end-of-definition",
|
| 291 |
+
"end-of-editing",
|
| 292 |
+
"end-of-file",
|
| 293 |
+
"end-of-page",
|
| 294 |
+
"end-of-selection",
|
| 295 |
+
"endon",
|
| 296 |
+
"endprovide",
|
| 297 |
+
"endselect",
|
| 298 |
+
"end-test-injection",
|
| 299 |
+
"end-test-seam",
|
| 300 |
+
"endtry",
|
| 301 |
+
"endwhile",
|
| 302 |
+
"endwith",
|
| 303 |
+
"engineering",
|
| 304 |
+
"enhancement",
|
| 305 |
+
"enhancement-point",
|
| 306 |
+
"enhancements",
|
| 307 |
+
"enhancement-section",
|
| 308 |
+
"entries",
|
| 309 |
+
"entry",
|
| 310 |
+
"enum",
|
| 311 |
+
"environment",
|
| 312 |
+
"equiv",
|
| 313 |
+
// also an operator
|
| 314 |
+
"errormessage",
|
| 315 |
+
"errors",
|
| 316 |
+
"escaping",
|
| 317 |
+
"event",
|
| 318 |
+
"events",
|
| 319 |
+
"exact",
|
| 320 |
+
"except",
|
| 321 |
+
"exception",
|
| 322 |
+
"exceptions",
|
| 323 |
+
"exception-table",
|
| 324 |
+
"exclude",
|
| 325 |
+
"excluding",
|
| 326 |
+
"exec",
|
| 327 |
+
"execute",
|
| 328 |
+
"exists",
|
| 329 |
+
"exit",
|
| 330 |
+
"exit-command",
|
| 331 |
+
"expand",
|
| 332 |
+
"expanding",
|
| 333 |
+
"expiration",
|
| 334 |
+
"explicit",
|
| 335 |
+
"exponent",
|
| 336 |
+
"export",
|
| 337 |
+
"exporting",
|
| 338 |
+
"extend",
|
| 339 |
+
"extended",
|
| 340 |
+
"extension",
|
| 341 |
+
"extract",
|
| 342 |
+
"fail",
|
| 343 |
+
"fetch",
|
| 344 |
+
"field",
|
| 345 |
+
"field-groups",
|
| 346 |
+
"fields",
|
| 347 |
+
"field-symbol",
|
| 348 |
+
"field-symbols",
|
| 349 |
+
"file",
|
| 350 |
+
"filter",
|
| 351 |
+
"filters",
|
| 352 |
+
"filter-table",
|
| 353 |
+
"final",
|
| 354 |
+
"find",
|
| 355 |
+
// also a built-in
|
| 356 |
+
"first",
|
| 357 |
+
"first-line",
|
| 358 |
+
"fixed-point",
|
| 359 |
+
"fkeq",
|
| 360 |
+
"fkge",
|
| 361 |
+
"flush",
|
| 362 |
+
"font",
|
| 363 |
+
"for",
|
| 364 |
+
"form",
|
| 365 |
+
"format",
|
| 366 |
+
"forward",
|
| 367 |
+
"found",
|
| 368 |
+
"frame",
|
| 369 |
+
"frames",
|
| 370 |
+
"free",
|
| 371 |
+
"friends",
|
| 372 |
+
"from",
|
| 373 |
+
"function",
|
| 374 |
+
"functionality",
|
| 375 |
+
"function-pool",
|
| 376 |
+
"further",
|
| 377 |
+
"gaps",
|
| 378 |
+
"generate",
|
| 379 |
+
"get",
|
| 380 |
+
"giving",
|
| 381 |
+
"gkeq",
|
| 382 |
+
"gkge",
|
| 383 |
+
"global",
|
| 384 |
+
"grant",
|
| 385 |
+
"green",
|
| 386 |
+
"group",
|
| 387 |
+
"groups",
|
| 388 |
+
"handle",
|
| 389 |
+
"handler",
|
| 390 |
+
"harmless",
|
| 391 |
+
"hashed",
|
| 392 |
+
// also a table type
|
| 393 |
+
"having",
|
| 394 |
+
"hdb",
|
| 395 |
+
"header",
|
| 396 |
+
"headers",
|
| 397 |
+
"heading",
|
| 398 |
+
"head-lines",
|
| 399 |
+
"help-id",
|
| 400 |
+
"help-request",
|
| 401 |
+
"hextobin",
|
| 402 |
+
"hide",
|
| 403 |
+
"high",
|
| 404 |
+
"hint",
|
| 405 |
+
"hold",
|
| 406 |
+
"hotspot",
|
| 407 |
+
"icon",
|
| 408 |
+
"id",
|
| 409 |
+
"identification",
|
| 410 |
+
"identifier",
|
| 411 |
+
"ids",
|
| 412 |
+
"if",
|
| 413 |
+
"ignore",
|
| 414 |
+
"ignoring",
|
| 415 |
+
"immediately",
|
| 416 |
+
"implementation",
|
| 417 |
+
"implementations",
|
| 418 |
+
"implemented",
|
| 419 |
+
"implicit",
|
| 420 |
+
"import",
|
| 421 |
+
"importing",
|
| 422 |
+
"in",
|
| 423 |
+
// also an operator
|
| 424 |
+
"inactive",
|
| 425 |
+
"incl",
|
| 426 |
+
"include",
|
| 427 |
+
"includes",
|
| 428 |
+
"including",
|
| 429 |
+
"increment",
|
| 430 |
+
"index",
|
| 431 |
+
// also a table type
|
| 432 |
+
"index-line",
|
| 433 |
+
"infotypes",
|
| 434 |
+
"inheriting",
|
| 435 |
+
"init",
|
| 436 |
+
"initial",
|
| 437 |
+
"initialization",
|
| 438 |
+
"inner",
|
| 439 |
+
"inout",
|
| 440 |
+
"input",
|
| 441 |
+
"insert",
|
| 442 |
+
// also a built-in
|
| 443 |
+
"instance",
|
| 444 |
+
"instances",
|
| 445 |
+
"instr",
|
| 446 |
+
"intensified",
|
| 447 |
+
"interface",
|
| 448 |
+
"interface-pool",
|
| 449 |
+
"interfaces",
|
| 450 |
+
"internal",
|
| 451 |
+
"intervals",
|
| 452 |
+
"into",
|
| 453 |
+
"inverse",
|
| 454 |
+
"inverted-date",
|
| 455 |
+
"is",
|
| 456 |
+
"iso",
|
| 457 |
+
"job",
|
| 458 |
+
"join",
|
| 459 |
+
"keep",
|
| 460 |
+
"keeping",
|
| 461 |
+
"kernel",
|
| 462 |
+
"key",
|
| 463 |
+
"keys",
|
| 464 |
+
"keywords",
|
| 465 |
+
"kind",
|
| 466 |
+
"language",
|
| 467 |
+
"last",
|
| 468 |
+
"late",
|
| 469 |
+
"layout",
|
| 470 |
+
"leading",
|
| 471 |
+
"leave",
|
| 472 |
+
"left",
|
| 473 |
+
"left-justified",
|
| 474 |
+
"leftplus",
|
| 475 |
+
"leftspace",
|
| 476 |
+
"legacy",
|
| 477 |
+
"length",
|
| 478 |
+
"let",
|
| 479 |
+
"level",
|
| 480 |
+
"levels",
|
| 481 |
+
"like",
|
| 482 |
+
"line",
|
| 483 |
+
"lines",
|
| 484 |
+
// also a built-in
|
| 485 |
+
"line-count",
|
| 486 |
+
"linefeed",
|
| 487 |
+
"line-selection",
|
| 488 |
+
"line-size",
|
| 489 |
+
"list",
|
| 490 |
+
"listbox",
|
| 491 |
+
"list-processing",
|
| 492 |
+
"little",
|
| 493 |
+
"llang",
|
| 494 |
+
"load",
|
| 495 |
+
"load-of-program",
|
| 496 |
+
"lob",
|
| 497 |
+
"local",
|
| 498 |
+
"locale",
|
| 499 |
+
"locator",
|
| 500 |
+
"logfile",
|
| 501 |
+
"logical",
|
| 502 |
+
"log-point",
|
| 503 |
+
"long",
|
| 504 |
+
"loop",
|
| 505 |
+
"low",
|
| 506 |
+
"lower",
|
| 507 |
+
"lpad",
|
| 508 |
+
"lpi",
|
| 509 |
+
"ltrim",
|
| 510 |
+
"mail",
|
| 511 |
+
"main",
|
| 512 |
+
"major-id",
|
| 513 |
+
"mapping",
|
| 514 |
+
"margin",
|
| 515 |
+
"mark",
|
| 516 |
+
"mask",
|
| 517 |
+
"match",
|
| 518 |
+
// also a built-in
|
| 519 |
+
"matchcode",
|
| 520 |
+
"max",
|
| 521 |
+
"maximum",
|
| 522 |
+
"medium",
|
| 523 |
+
"members",
|
| 524 |
+
"memory",
|
| 525 |
+
"mesh",
|
| 526 |
+
"message",
|
| 527 |
+
"message-id",
|
| 528 |
+
"messages",
|
| 529 |
+
"messaging",
|
| 530 |
+
"method",
|
| 531 |
+
"methods",
|
| 532 |
+
"min",
|
| 533 |
+
"minimum",
|
| 534 |
+
"minor-id",
|
| 535 |
+
"mm/dd/yy",
|
| 536 |
+
"mm/dd/yyyy",
|
| 537 |
+
"mmddyy",
|
| 538 |
+
"mode",
|
| 539 |
+
"modif",
|
| 540 |
+
"modifier",
|
| 541 |
+
"modify",
|
| 542 |
+
"module",
|
| 543 |
+
"move",
|
| 544 |
+
"move-corresponding",
|
| 545 |
+
"multiply",
|
| 546 |
+
"multiply-corresponding",
|
| 547 |
+
"name",
|
| 548 |
+
"nametab",
|
| 549 |
+
"native",
|
| 550 |
+
"nested",
|
| 551 |
+
"nesting",
|
| 552 |
+
"new",
|
| 553 |
+
"new-line",
|
| 554 |
+
"new-page",
|
| 555 |
+
"new-section",
|
| 556 |
+
"next",
|
| 557 |
+
"no",
|
| 558 |
+
"no-display",
|
| 559 |
+
"no-extension",
|
| 560 |
+
"no-gap",
|
| 561 |
+
"no-gaps",
|
| 562 |
+
"no-grouping",
|
| 563 |
+
"no-heading",
|
| 564 |
+
"no-scrolling",
|
| 565 |
+
"no-sign",
|
| 566 |
+
"no-title",
|
| 567 |
+
"no-topofpage",
|
| 568 |
+
"no-zero",
|
| 569 |
+
"node",
|
| 570 |
+
"nodes",
|
| 571 |
+
"non-unicode",
|
| 572 |
+
"non-unique",
|
| 573 |
+
"not",
|
| 574 |
+
// also an operator
|
| 575 |
+
"null",
|
| 576 |
+
"number",
|
| 577 |
+
"object",
|
| 578 |
+
// also a data type
|
| 579 |
+
"objects",
|
| 580 |
+
"obligatory",
|
| 581 |
+
"occurrence",
|
| 582 |
+
"occurrences",
|
| 583 |
+
"occurs",
|
| 584 |
+
"of",
|
| 585 |
+
"off",
|
| 586 |
+
"offset",
|
| 587 |
+
"ole",
|
| 588 |
+
"on",
|
| 589 |
+
"only",
|
| 590 |
+
"open",
|
| 591 |
+
"option",
|
| 592 |
+
"optional",
|
| 593 |
+
"options",
|
| 594 |
+
"or",
|
| 595 |
+
// also an operator
|
| 596 |
+
"order",
|
| 597 |
+
"other",
|
| 598 |
+
"others",
|
| 599 |
+
"out",
|
| 600 |
+
"outer",
|
| 601 |
+
"output",
|
| 602 |
+
"output-length",
|
| 603 |
+
"overflow",
|
| 604 |
+
"overlay",
|
| 605 |
+
"pack",
|
| 606 |
+
"package",
|
| 607 |
+
"pad",
|
| 608 |
+
"padding",
|
| 609 |
+
"page",
|
| 610 |
+
"pages",
|
| 611 |
+
"parameter",
|
| 612 |
+
"parameters",
|
| 613 |
+
"parameter-table",
|
| 614 |
+
"part",
|
| 615 |
+
"partially",
|
| 616 |
+
"pattern",
|
| 617 |
+
"percentage",
|
| 618 |
+
"perform",
|
| 619 |
+
"performing",
|
| 620 |
+
"person",
|
| 621 |
+
"pf1",
|
| 622 |
+
"pf10",
|
| 623 |
+
"pf11",
|
| 624 |
+
"pf12",
|
| 625 |
+
"pf13",
|
| 626 |
+
"pf14",
|
| 627 |
+
"pf15",
|
| 628 |
+
"pf2",
|
| 629 |
+
"pf3",
|
| 630 |
+
"pf4",
|
| 631 |
+
"pf5",
|
| 632 |
+
"pf6",
|
| 633 |
+
"pf7",
|
| 634 |
+
"pf8",
|
| 635 |
+
"pf9",
|
| 636 |
+
"pf-status",
|
| 637 |
+
"pink",
|
| 638 |
+
"places",
|
| 639 |
+
"pool",
|
| 640 |
+
"pos_high",
|
| 641 |
+
"pos_low",
|
| 642 |
+
"position",
|
| 643 |
+
"pragmas",
|
| 644 |
+
"precompiled",
|
| 645 |
+
"preferred",
|
| 646 |
+
"preserving",
|
| 647 |
+
"primary",
|
| 648 |
+
"print",
|
| 649 |
+
"print-control",
|
| 650 |
+
"priority",
|
| 651 |
+
"private",
|
| 652 |
+
"procedure",
|
| 653 |
+
"process",
|
| 654 |
+
"program",
|
| 655 |
+
"property",
|
| 656 |
+
"protected",
|
| 657 |
+
"provide",
|
| 658 |
+
"public",
|
| 659 |
+
"push",
|
| 660 |
+
"pushbutton",
|
| 661 |
+
"put",
|
| 662 |
+
"queue-only",
|
| 663 |
+
"quickinfo",
|
| 664 |
+
"radiobutton",
|
| 665 |
+
"raise",
|
| 666 |
+
"raising",
|
| 667 |
+
"range",
|
| 668 |
+
"ranges",
|
| 669 |
+
"read",
|
| 670 |
+
"reader",
|
| 671 |
+
"read-only",
|
| 672 |
+
"receive",
|
| 673 |
+
"received",
|
| 674 |
+
"receiver",
|
| 675 |
+
"receiving",
|
| 676 |
+
"red",
|
| 677 |
+
"redefinition",
|
| 678 |
+
"reduce",
|
| 679 |
+
"reduced",
|
| 680 |
+
"ref",
|
| 681 |
+
"reference",
|
| 682 |
+
"refresh",
|
| 683 |
+
"regex",
|
| 684 |
+
"reject",
|
| 685 |
+
"remote",
|
| 686 |
+
"renaming",
|
| 687 |
+
"replace",
|
| 688 |
+
// also a built-in
|
| 689 |
+
"replacement",
|
| 690 |
+
"replacing",
|
| 691 |
+
"report",
|
| 692 |
+
"request",
|
| 693 |
+
"requested",
|
| 694 |
+
"reserve",
|
| 695 |
+
"reset",
|
| 696 |
+
"resolution",
|
| 697 |
+
"respecting",
|
| 698 |
+
"responsible",
|
| 699 |
+
"result",
|
| 700 |
+
"results",
|
| 701 |
+
"resumable",
|
| 702 |
+
"resume",
|
| 703 |
+
"retry",
|
| 704 |
+
"return",
|
| 705 |
+
"returncode",
|
| 706 |
+
"returning",
|
| 707 |
+
"returns",
|
| 708 |
+
"right",
|
| 709 |
+
"right-justified",
|
| 710 |
+
"rightplus",
|
| 711 |
+
"rightspace",
|
| 712 |
+
"risk",
|
| 713 |
+
"rmc_communication_failure",
|
| 714 |
+
"rmc_invalid_status",
|
| 715 |
+
"rmc_system_failure",
|
| 716 |
+
"role",
|
| 717 |
+
"rollback",
|
| 718 |
+
"rows",
|
| 719 |
+
"rpad",
|
| 720 |
+
"rtrim",
|
| 721 |
+
"run",
|
| 722 |
+
"sap",
|
| 723 |
+
"sap-spool",
|
| 724 |
+
"saving",
|
| 725 |
+
"scale_preserving",
|
| 726 |
+
"scale_preserving_scientific",
|
| 727 |
+
"scan",
|
| 728 |
+
"scientific",
|
| 729 |
+
"scientific_with_leading_zero",
|
| 730 |
+
"scroll",
|
| 731 |
+
"scroll-boundary",
|
| 732 |
+
"scrolling",
|
| 733 |
+
"search",
|
| 734 |
+
"secondary",
|
| 735 |
+
"seconds",
|
| 736 |
+
"section",
|
| 737 |
+
"select",
|
| 738 |
+
"selection",
|
| 739 |
+
"selections",
|
| 740 |
+
"selection-screen",
|
| 741 |
+
"selection-set",
|
| 742 |
+
"selection-sets",
|
| 743 |
+
"selection-table",
|
| 744 |
+
"select-options",
|
| 745 |
+
"send",
|
| 746 |
+
"separate",
|
| 747 |
+
"separated",
|
| 748 |
+
"set",
|
| 749 |
+
"shared",
|
| 750 |
+
"shift",
|
| 751 |
+
"short",
|
| 752 |
+
"shortdump-id",
|
| 753 |
+
"sign_as_postfix",
|
| 754 |
+
"single",
|
| 755 |
+
"size",
|
| 756 |
+
"skip",
|
| 757 |
+
"skipping",
|
| 758 |
+
"smart",
|
| 759 |
+
"some",
|
| 760 |
+
"sort",
|
| 761 |
+
"sortable",
|
| 762 |
+
"sorted",
|
| 763 |
+
// also a table type
|
| 764 |
+
"source",
|
| 765 |
+
"specified",
|
| 766 |
+
"split",
|
| 767 |
+
"spool",
|
| 768 |
+
"spots",
|
| 769 |
+
"sql",
|
| 770 |
+
"sqlscript",
|
| 771 |
+
"stable",
|
| 772 |
+
"stamp",
|
| 773 |
+
"standard",
|
| 774 |
+
// also a table type
|
| 775 |
+
"starting",
|
| 776 |
+
"start-of-editing",
|
| 777 |
+
"start-of-selection",
|
| 778 |
+
"state",
|
| 779 |
+
"statement",
|
| 780 |
+
"statements",
|
| 781 |
+
"static",
|
| 782 |
+
"statics",
|
| 783 |
+
"statusinfo",
|
| 784 |
+
"step-loop",
|
| 785 |
+
"stop",
|
| 786 |
+
"structure",
|
| 787 |
+
"structures",
|
| 788 |
+
"style",
|
| 789 |
+
"subkey",
|
| 790 |
+
"submatches",
|
| 791 |
+
"submit",
|
| 792 |
+
"subroutine",
|
| 793 |
+
"subscreen",
|
| 794 |
+
"subtract",
|
| 795 |
+
"subtract-corresponding",
|
| 796 |
+
"suffix",
|
| 797 |
+
"sum",
|
| 798 |
+
"summary",
|
| 799 |
+
"summing",
|
| 800 |
+
"supplied",
|
| 801 |
+
"supply",
|
| 802 |
+
"suppress",
|
| 803 |
+
"switch",
|
| 804 |
+
"switchstates",
|
| 805 |
+
"symbol",
|
| 806 |
+
"syncpoints",
|
| 807 |
+
"syntax",
|
| 808 |
+
"syntax-check",
|
| 809 |
+
"syntax-trace",
|
| 810 |
+
"system-call",
|
| 811 |
+
"system-exceptions",
|
| 812 |
+
"system-exit",
|
| 813 |
+
"tab",
|
| 814 |
+
"tabbed",
|
| 815 |
+
"table",
|
| 816 |
+
"tables",
|
| 817 |
+
"tableview",
|
| 818 |
+
"tabstrip",
|
| 819 |
+
"target",
|
| 820 |
+
"task",
|
| 821 |
+
"tasks",
|
| 822 |
+
"test",
|
| 823 |
+
"testing",
|
| 824 |
+
"test-injection",
|
| 825 |
+
"test-seam",
|
| 826 |
+
"text",
|
| 827 |
+
"textpool",
|
| 828 |
+
"then",
|
| 829 |
+
"throw",
|
| 830 |
+
"time",
|
| 831 |
+
"times",
|
| 832 |
+
"timestamp",
|
| 833 |
+
"timezone",
|
| 834 |
+
"tims_is_valid",
|
| 835 |
+
"title",
|
| 836 |
+
"titlebar",
|
| 837 |
+
"title-lines",
|
| 838 |
+
"to",
|
| 839 |
+
"tokenization",
|
| 840 |
+
"tokens",
|
| 841 |
+
"top-lines",
|
| 842 |
+
"top-of-page",
|
| 843 |
+
"trace-file",
|
| 844 |
+
"trace-table",
|
| 845 |
+
"trailing",
|
| 846 |
+
"transaction",
|
| 847 |
+
"transfer",
|
| 848 |
+
"transformation",
|
| 849 |
+
"translate",
|
| 850 |
+
// also a built-in
|
| 851 |
+
"transporting",
|
| 852 |
+
"trmac",
|
| 853 |
+
"truncate",
|
| 854 |
+
"truncation",
|
| 855 |
+
"try",
|
| 856 |
+
"tstmp_add_seconds",
|
| 857 |
+
"tstmp_current_utctimestamp",
|
| 858 |
+
"tstmp_is_valid",
|
| 859 |
+
"tstmp_seconds_between",
|
| 860 |
+
"type",
|
| 861 |
+
"type-pool",
|
| 862 |
+
"type-pools",
|
| 863 |
+
"types",
|
| 864 |
+
"uline",
|
| 865 |
+
"unassign",
|
| 866 |
+
"under",
|
| 867 |
+
"unicode",
|
| 868 |
+
"union",
|
| 869 |
+
"unique",
|
| 870 |
+
"unit_conversion",
|
| 871 |
+
"unix",
|
| 872 |
+
"unpack",
|
| 873 |
+
"until",
|
| 874 |
+
"unwind",
|
| 875 |
+
"up",
|
| 876 |
+
"update",
|
| 877 |
+
"upper",
|
| 878 |
+
"user",
|
| 879 |
+
"user-command",
|
| 880 |
+
"using",
|
| 881 |
+
"utf-8",
|
| 882 |
+
"valid",
|
| 883 |
+
"value",
|
| 884 |
+
"value-request",
|
| 885 |
+
"values",
|
| 886 |
+
"vary",
|
| 887 |
+
"varying",
|
| 888 |
+
"verification-message",
|
| 889 |
+
"version",
|
| 890 |
+
"via",
|
| 891 |
+
"view",
|
| 892 |
+
"visible",
|
| 893 |
+
"wait",
|
| 894 |
+
"warning",
|
| 895 |
+
"when",
|
| 896 |
+
"whenever",
|
| 897 |
+
"where",
|
| 898 |
+
"while",
|
| 899 |
+
"width",
|
| 900 |
+
"window",
|
| 901 |
+
"windows",
|
| 902 |
+
"with",
|
| 903 |
+
"with-heading",
|
| 904 |
+
"without",
|
| 905 |
+
"with-title",
|
| 906 |
+
"word",
|
| 907 |
+
"work",
|
| 908 |
+
"write",
|
| 909 |
+
"writer",
|
| 910 |
+
"xml",
|
| 911 |
+
"xsd",
|
| 912 |
+
"yellow",
|
| 913 |
+
"yes",
|
| 914 |
+
"yymmdd",
|
| 915 |
+
"zero",
|
| 916 |
+
"zone",
|
| 917 |
+
// since 7.55:
|
| 918 |
+
"abap_system_timezone",
|
| 919 |
+
"abap_user_timezone",
|
| 920 |
+
"access",
|
| 921 |
+
"action",
|
| 922 |
+
"adabas",
|
| 923 |
+
"adjust_numbers",
|
| 924 |
+
"allow_precision_loss",
|
| 925 |
+
"allowed",
|
| 926 |
+
"amdp",
|
| 927 |
+
"applicationuser",
|
| 928 |
+
"as_geo_json",
|
| 929 |
+
"as400",
|
| 930 |
+
"associations",
|
| 931 |
+
"balance",
|
| 932 |
+
"behavior",
|
| 933 |
+
"breakup",
|
| 934 |
+
"bulk",
|
| 935 |
+
"cds",
|
| 936 |
+
"cds_client",
|
| 937 |
+
"check_before_save",
|
| 938 |
+
"child",
|
| 939 |
+
"clients",
|
| 940 |
+
"corr",
|
| 941 |
+
"corr_spearman",
|
| 942 |
+
"cross",
|
| 943 |
+
"cycles",
|
| 944 |
+
"datn_add_days",
|
| 945 |
+
"datn_add_months",
|
| 946 |
+
"datn_days_between",
|
| 947 |
+
"dats_from_datn",
|
| 948 |
+
"dats_tims_to_tstmp",
|
| 949 |
+
"dats_to_datn",
|
| 950 |
+
"db2",
|
| 951 |
+
"db6",
|
| 952 |
+
"ddl",
|
| 953 |
+
"dense_rank",
|
| 954 |
+
"depth",
|
| 955 |
+
"deterministic",
|
| 956 |
+
"discarding",
|
| 957 |
+
"entities",
|
| 958 |
+
"entity",
|
| 959 |
+
"error",
|
| 960 |
+
"failed",
|
| 961 |
+
"finalize",
|
| 962 |
+
"first_value",
|
| 963 |
+
"fltp_to_dec",
|
| 964 |
+
"following",
|
| 965 |
+
"fractional",
|
| 966 |
+
"full",
|
| 967 |
+
"graph",
|
| 968 |
+
"grouping",
|
| 969 |
+
"hierarchy",
|
| 970 |
+
"hierarchy_ancestors",
|
| 971 |
+
"hierarchy_ancestors_aggregate",
|
| 972 |
+
"hierarchy_descendants",
|
| 973 |
+
"hierarchy_descendants_aggregate",
|
| 974 |
+
"hierarchy_siblings",
|
| 975 |
+
"incremental",
|
| 976 |
+
"indicators",
|
| 977 |
+
"lag",
|
| 978 |
+
"last_value",
|
| 979 |
+
"lead",
|
| 980 |
+
"leaves",
|
| 981 |
+
"like_regexpr",
|
| 982 |
+
"link",
|
| 983 |
+
"locale_sap",
|
| 984 |
+
"lock",
|
| 985 |
+
"locks",
|
| 986 |
+
"many",
|
| 987 |
+
"mapped",
|
| 988 |
+
"matched",
|
| 989 |
+
"measures",
|
| 990 |
+
"median",
|
| 991 |
+
"mssqlnt",
|
| 992 |
+
"multiple",
|
| 993 |
+
"nodetype",
|
| 994 |
+
"ntile",
|
| 995 |
+
"nulls",
|
| 996 |
+
"occurrences_regexpr",
|
| 997 |
+
"one",
|
| 998 |
+
"operations",
|
| 999 |
+
"oracle",
|
| 1000 |
+
"orphans",
|
| 1001 |
+
"over",
|
| 1002 |
+
"parent",
|
| 1003 |
+
"parents",
|
| 1004 |
+
"partition",
|
| 1005 |
+
"pcre",
|
| 1006 |
+
"period",
|
| 1007 |
+
"pfcg_mapping",
|
| 1008 |
+
"preceding",
|
| 1009 |
+
"privileged",
|
| 1010 |
+
"product",
|
| 1011 |
+
"projection",
|
| 1012 |
+
"rank",
|
| 1013 |
+
"redirected",
|
| 1014 |
+
"replace_regexpr",
|
| 1015 |
+
"reported",
|
| 1016 |
+
"response",
|
| 1017 |
+
"responses",
|
| 1018 |
+
"root",
|
| 1019 |
+
"row",
|
| 1020 |
+
"row_number",
|
| 1021 |
+
"sap_system_date",
|
| 1022 |
+
"save",
|
| 1023 |
+
"schema",
|
| 1024 |
+
"session",
|
| 1025 |
+
"sets",
|
| 1026 |
+
"shortdump",
|
| 1027 |
+
"siblings",
|
| 1028 |
+
"spantree",
|
| 1029 |
+
"start",
|
| 1030 |
+
"stddev",
|
| 1031 |
+
"string_agg",
|
| 1032 |
+
"subtotal",
|
| 1033 |
+
"sybase",
|
| 1034 |
+
"tims_from_timn",
|
| 1035 |
+
"tims_to_timn",
|
| 1036 |
+
"to_blob",
|
| 1037 |
+
"to_clob",
|
| 1038 |
+
"total",
|
| 1039 |
+
"trace-entry",
|
| 1040 |
+
"tstmp_to_dats",
|
| 1041 |
+
"tstmp_to_dst",
|
| 1042 |
+
"tstmp_to_tims",
|
| 1043 |
+
"tstmpl_from_utcl",
|
| 1044 |
+
"tstmpl_to_utcl",
|
| 1045 |
+
"unbounded",
|
| 1046 |
+
"utcl_add_seconds",
|
| 1047 |
+
"utcl_current",
|
| 1048 |
+
"utcl_seconds_between",
|
| 1049 |
+
"uuid",
|
| 1050 |
+
"var",
|
| 1051 |
+
"verbatim"
|
| 1052 |
+
],
|
| 1053 |
+
//
|
| 1054 |
+
// Built-in Functions
|
| 1055 |
+
//
|
| 1056 |
+
// Functions that are also statements have been moved to keywords
|
| 1057 |
+
//
|
| 1058 |
+
builtinFunctions: [
|
| 1059 |
+
"abs",
|
| 1060 |
+
"acos",
|
| 1061 |
+
"asin",
|
| 1062 |
+
"atan",
|
| 1063 |
+
"bit-set",
|
| 1064 |
+
"boolc",
|
| 1065 |
+
"boolx",
|
| 1066 |
+
"ceil",
|
| 1067 |
+
"char_off",
|
| 1068 |
+
"charlen",
|
| 1069 |
+
"cmax",
|
| 1070 |
+
"cmin",
|
| 1071 |
+
"concat_lines_of",
|
| 1072 |
+
// 'condense', // moved to keywords
|
| 1073 |
+
"contains",
|
| 1074 |
+
"contains_any_not_of",
|
| 1075 |
+
"contains_any_of",
|
| 1076 |
+
"cos",
|
| 1077 |
+
"cosh",
|
| 1078 |
+
"count",
|
| 1079 |
+
"count_any_not_of",
|
| 1080 |
+
"count_any_of",
|
| 1081 |
+
"dbmaxlen",
|
| 1082 |
+
"distance",
|
| 1083 |
+
"escape",
|
| 1084 |
+
"exp",
|
| 1085 |
+
// 'find', // moved to keywords
|
| 1086 |
+
"find_any_not_of",
|
| 1087 |
+
"find_any_of",
|
| 1088 |
+
"find_end",
|
| 1089 |
+
"floor",
|
| 1090 |
+
"frac",
|
| 1091 |
+
"from_mixed",
|
| 1092 |
+
// 'insert', // moved to keywords
|
| 1093 |
+
"ipow",
|
| 1094 |
+
"line_exists",
|
| 1095 |
+
"line_index",
|
| 1096 |
+
// 'lines', // moved to keywords
|
| 1097 |
+
"log",
|
| 1098 |
+
"log10",
|
| 1099 |
+
// 'match', // moved to keywords
|
| 1100 |
+
"matches",
|
| 1101 |
+
"nmax",
|
| 1102 |
+
"nmin",
|
| 1103 |
+
"numofchar",
|
| 1104 |
+
"repeat",
|
| 1105 |
+
// 'replace', // moved to keywords
|
| 1106 |
+
"rescale",
|
| 1107 |
+
"reverse",
|
| 1108 |
+
"round",
|
| 1109 |
+
"segment",
|
| 1110 |
+
"shift_left",
|
| 1111 |
+
"shift_right",
|
| 1112 |
+
"sign",
|
| 1113 |
+
"sin",
|
| 1114 |
+
"sinh",
|
| 1115 |
+
"sqrt",
|
| 1116 |
+
"strlen",
|
| 1117 |
+
"substring",
|
| 1118 |
+
"substring_after",
|
| 1119 |
+
"substring_before",
|
| 1120 |
+
"substring_from",
|
| 1121 |
+
"substring_to",
|
| 1122 |
+
"tan",
|
| 1123 |
+
"tanh",
|
| 1124 |
+
"to_lower",
|
| 1125 |
+
"to_mixed",
|
| 1126 |
+
"to_upper",
|
| 1127 |
+
// 'translate', // moved to keywords
|
| 1128 |
+
"trunc",
|
| 1129 |
+
"utclong_add",
|
| 1130 |
+
// since 7.54
|
| 1131 |
+
"utclong_current",
|
| 1132 |
+
// since 7.54
|
| 1133 |
+
"utclong_diff",
|
| 1134 |
+
// since 7.54
|
| 1135 |
+
"xsdbool",
|
| 1136 |
+
"xstrlen"
|
| 1137 |
+
],
|
| 1138 |
+
//
|
| 1139 |
+
// Data Types
|
| 1140 |
+
//
|
| 1141 |
+
// Data types that are also part of statements have been moved to keywords
|
| 1142 |
+
//
|
| 1143 |
+
typeKeywords: [
|
| 1144 |
+
// built-in abap types
|
| 1145 |
+
"b",
|
| 1146 |
+
"c",
|
| 1147 |
+
"d",
|
| 1148 |
+
"decfloat16",
|
| 1149 |
+
"decfloat34",
|
| 1150 |
+
"f",
|
| 1151 |
+
"i",
|
| 1152 |
+
"int8",
|
| 1153 |
+
// since 7.54
|
| 1154 |
+
"n",
|
| 1155 |
+
"p",
|
| 1156 |
+
"s",
|
| 1157 |
+
"string",
|
| 1158 |
+
"t",
|
| 1159 |
+
"utclong",
|
| 1160 |
+
// since 7.54
|
| 1161 |
+
"x",
|
| 1162 |
+
"xstring",
|
| 1163 |
+
// generic data types
|
| 1164 |
+
"any",
|
| 1165 |
+
"clike",
|
| 1166 |
+
"csequence",
|
| 1167 |
+
"decfloat",
|
| 1168 |
+
// 'object', // moved to keywords
|
| 1169 |
+
"numeric",
|
| 1170 |
+
"simple",
|
| 1171 |
+
"xsequence",
|
| 1172 |
+
// ddic/sql data types
|
| 1173 |
+
"accp",
|
| 1174 |
+
"char",
|
| 1175 |
+
"clnt",
|
| 1176 |
+
"cuky",
|
| 1177 |
+
"curr",
|
| 1178 |
+
"datn",
|
| 1179 |
+
// since 7.55
|
| 1180 |
+
"dats",
|
| 1181 |
+
"d16d",
|
| 1182 |
+
// since 7.55
|
| 1183 |
+
"d16n",
|
| 1184 |
+
// since 7.55
|
| 1185 |
+
"d16r",
|
| 1186 |
+
// since 7.55
|
| 1187 |
+
"d34d",
|
| 1188 |
+
// since 7.55
|
| 1189 |
+
"d34n",
|
| 1190 |
+
// since 7.55
|
| 1191 |
+
"d34r",
|
| 1192 |
+
// since 7.55
|
| 1193 |
+
"dec",
|
| 1194 |
+
"df16_dec",
|
| 1195 |
+
"df16_raw",
|
| 1196 |
+
"df34_dec",
|
| 1197 |
+
"df34_raw",
|
| 1198 |
+
"fltp",
|
| 1199 |
+
"geom_ewkb",
|
| 1200 |
+
// since 7.55
|
| 1201 |
+
"int1",
|
| 1202 |
+
"int2",
|
| 1203 |
+
"int4",
|
| 1204 |
+
"lang",
|
| 1205 |
+
"lchr",
|
| 1206 |
+
"lraw",
|
| 1207 |
+
"numc",
|
| 1208 |
+
"quan",
|
| 1209 |
+
"raw",
|
| 1210 |
+
"rawstring",
|
| 1211 |
+
"sstring",
|
| 1212 |
+
"timn",
|
| 1213 |
+
// since 7.55
|
| 1214 |
+
"tims",
|
| 1215 |
+
"unit",
|
| 1216 |
+
"utcl",
|
| 1217 |
+
// since 7.55
|
| 1218 |
+
// ddic data types (obsolete)
|
| 1219 |
+
"df16_scl",
|
| 1220 |
+
"df34_scl",
|
| 1221 |
+
"prec",
|
| 1222 |
+
"varc",
|
| 1223 |
+
// special data types and constants
|
| 1224 |
+
"abap_bool",
|
| 1225 |
+
"abap_false",
|
| 1226 |
+
"abap_true",
|
| 1227 |
+
"abap_undefined",
|
| 1228 |
+
"me",
|
| 1229 |
+
"screen",
|
| 1230 |
+
"space",
|
| 1231 |
+
"super",
|
| 1232 |
+
"sy",
|
| 1233 |
+
"syst",
|
| 1234 |
+
"table_line",
|
| 1235 |
+
// obsolete data object
|
| 1236 |
+
"*sys*"
|
| 1237 |
+
],
|
| 1238 |
+
builtinMethods: ["class_constructor", "constructor"],
|
| 1239 |
+
derivedTypes: [
|
| 1240 |
+
"%CID",
|
| 1241 |
+
"%CID_REF",
|
| 1242 |
+
"%CONTROL",
|
| 1243 |
+
"%DATA",
|
| 1244 |
+
"%ELEMENT",
|
| 1245 |
+
"%FAIL",
|
| 1246 |
+
"%KEY",
|
| 1247 |
+
"%MSG",
|
| 1248 |
+
"%PARAM",
|
| 1249 |
+
"%PID",
|
| 1250 |
+
"%PID_ASSOC",
|
| 1251 |
+
"%PID_PARENT",
|
| 1252 |
+
"%_HINTS"
|
| 1253 |
+
],
|
| 1254 |
+
cdsLanguage: [
|
| 1255 |
+
"@AbapAnnotation",
|
| 1256 |
+
"@AbapCatalog",
|
| 1257 |
+
"@AccessControl",
|
| 1258 |
+
"@API",
|
| 1259 |
+
"@ClientDependent",
|
| 1260 |
+
"@ClientHandling",
|
| 1261 |
+
"@CompatibilityContract",
|
| 1262 |
+
"@DataAging",
|
| 1263 |
+
"@EndUserText",
|
| 1264 |
+
"@Environment",
|
| 1265 |
+
"@LanguageDependency",
|
| 1266 |
+
"@MappingRole",
|
| 1267 |
+
"@Metadata",
|
| 1268 |
+
"@MetadataExtension",
|
| 1269 |
+
"@ObjectModel",
|
| 1270 |
+
"@Scope",
|
| 1271 |
+
"@Semantics",
|
| 1272 |
+
"$EXTENSION",
|
| 1273 |
+
"$SELF"
|
| 1274 |
+
],
|
| 1275 |
+
selectors: ["->", "->*", "=>", "~", "~*"],
|
| 1276 |
+
//
|
| 1277 |
+
// Operators
|
| 1278 |
+
//
|
| 1279 |
+
// Operators that can be part of statements have been moved to keywords
|
| 1280 |
+
//
|
| 1281 |
+
operators: [
|
| 1282 |
+
// arithmetic operators
|
| 1283 |
+
" +",
|
| 1284 |
+
" -",
|
| 1285 |
+
"/",
|
| 1286 |
+
"*",
|
| 1287 |
+
"**",
|
| 1288 |
+
"div",
|
| 1289 |
+
"mod",
|
| 1290 |
+
// assignment operators
|
| 1291 |
+
"=",
|
| 1292 |
+
"#",
|
| 1293 |
+
"@",
|
| 1294 |
+
"+=",
|
| 1295 |
+
"-=",
|
| 1296 |
+
"*=",
|
| 1297 |
+
"/=",
|
| 1298 |
+
"**=",
|
| 1299 |
+
"&&=",
|
| 1300 |
+
// casting operator
|
| 1301 |
+
"?=",
|
| 1302 |
+
// concat operators
|
| 1303 |
+
"&",
|
| 1304 |
+
"&&",
|
| 1305 |
+
// bit operators
|
| 1306 |
+
"bit-and",
|
| 1307 |
+
"bit-not",
|
| 1308 |
+
"bit-or",
|
| 1309 |
+
"bit-xor",
|
| 1310 |
+
"m",
|
| 1311 |
+
"o",
|
| 1312 |
+
"z",
|
| 1313 |
+
// boolean operators
|
| 1314 |
+
// 'and', // moved to keywords
|
| 1315 |
+
// 'equiv', // moved to keywords
|
| 1316 |
+
// 'not', // moved to keywords
|
| 1317 |
+
// 'or', // moved to keywords
|
| 1318 |
+
// comparison operators
|
| 1319 |
+
"<",
|
| 1320 |
+
" >",
|
| 1321 |
+
// todo: separate from -> and =>
|
| 1322 |
+
"<=",
|
| 1323 |
+
">=",
|
| 1324 |
+
"<>",
|
| 1325 |
+
"><",
|
| 1326 |
+
// obsolete
|
| 1327 |
+
"=<",
|
| 1328 |
+
// obsolete
|
| 1329 |
+
"=>",
|
| 1330 |
+
// obsolete
|
| 1331 |
+
// 'between', // moved to keywords
|
| 1332 |
+
"bt",
|
| 1333 |
+
"byte-ca",
|
| 1334 |
+
"byte-cn",
|
| 1335 |
+
"byte-co",
|
| 1336 |
+
"byte-cs",
|
| 1337 |
+
"byte-na",
|
| 1338 |
+
"byte-ns",
|
| 1339 |
+
"ca",
|
| 1340 |
+
"cn",
|
| 1341 |
+
"co",
|
| 1342 |
+
"cp",
|
| 1343 |
+
"cs",
|
| 1344 |
+
"eq",
|
| 1345 |
+
// obsolete
|
| 1346 |
+
"ge",
|
| 1347 |
+
// obsolete
|
| 1348 |
+
"gt",
|
| 1349 |
+
// obsolete
|
| 1350 |
+
// 'in', // moved to keywords
|
| 1351 |
+
"le",
|
| 1352 |
+
// obsolete
|
| 1353 |
+
"lt",
|
| 1354 |
+
// obsolete
|
| 1355 |
+
"na",
|
| 1356 |
+
"nb",
|
| 1357 |
+
"ne",
|
| 1358 |
+
// obsolete
|
| 1359 |
+
"np",
|
| 1360 |
+
"ns",
|
| 1361 |
+
// cds
|
| 1362 |
+
"*/",
|
| 1363 |
+
"*:",
|
| 1364 |
+
"--",
|
| 1365 |
+
"/*",
|
| 1366 |
+
"//"
|
| 1367 |
+
],
|
| 1368 |
+
symbols: /[=><!~?&+\-*\/\^%#@]+/,
|
| 1369 |
+
tokenizer: {
|
| 1370 |
+
root: [
|
| 1371 |
+
[
|
| 1372 |
+
/[a-z_\/$%@]([\w\/$%]|-(?!>))*/,
|
| 1373 |
+
// exclude '->' selector
|
| 1374 |
+
{
|
| 1375 |
+
cases: {
|
| 1376 |
+
"@typeKeywords": "type",
|
| 1377 |
+
"@keywords": "keyword",
|
| 1378 |
+
"@cdsLanguage": "annotation",
|
| 1379 |
+
"@derivedTypes": "type",
|
| 1380 |
+
"@builtinFunctions": "type",
|
| 1381 |
+
"@builtinMethods": "type",
|
| 1382 |
+
"@operators": "key",
|
| 1383 |
+
"@default": "identifier"
|
| 1384 |
+
}
|
| 1385 |
+
}
|
| 1386 |
+
],
|
| 1387 |
+
[/<[\w]+>/, "identifier"],
|
| 1388 |
+
// field symbols
|
| 1389 |
+
[/##[\w|_]+/, "comment"],
|
| 1390 |
+
// pragmas
|
| 1391 |
+
{ include: "@whitespace" },
|
| 1392 |
+
[/[:,.]/, "delimiter"],
|
| 1393 |
+
[/[{}()\[\]]/, "@brackets"],
|
| 1394 |
+
[
|
| 1395 |
+
/@symbols/,
|
| 1396 |
+
{
|
| 1397 |
+
cases: {
|
| 1398 |
+
"@selectors": "tag",
|
| 1399 |
+
"@operators": "key",
|
| 1400 |
+
"@default": ""
|
| 1401 |
+
}
|
| 1402 |
+
}
|
| 1403 |
+
],
|
| 1404 |
+
[/'/, { token: "string", bracket: "@open", next: "@stringquote" }],
|
| 1405 |
+
[/`/, { token: "string", bracket: "@open", next: "@stringping" }],
|
| 1406 |
+
[/\|/, { token: "string", bracket: "@open", next: "@stringtemplate" }],
|
| 1407 |
+
[/\d+/, "number"]
|
| 1408 |
+
],
|
| 1409 |
+
stringtemplate: [
|
| 1410 |
+
[/[^\\\|]+/, "string"],
|
| 1411 |
+
[/\\\|/, "string"],
|
| 1412 |
+
[/\|/, { token: "string", bracket: "@close", next: "@pop" }]
|
| 1413 |
+
],
|
| 1414 |
+
stringping: [
|
| 1415 |
+
[/[^\\`]+/, "string"],
|
| 1416 |
+
[/`/, { token: "string", bracket: "@close", next: "@pop" }]
|
| 1417 |
+
],
|
| 1418 |
+
stringquote: [
|
| 1419 |
+
[/[^\\']+/, "string"],
|
| 1420 |
+
[/'/, { token: "string", bracket: "@close", next: "@pop" }]
|
| 1421 |
+
],
|
| 1422 |
+
whitespace: [
|
| 1423 |
+
[/[ \t\r\n]+/, ""],
|
| 1424 |
+
[/^\*.*$/, "comment"],
|
| 1425 |
+
[/\".*$/, "comment"]
|
| 1426 |
+
]
|
| 1427 |
+
}
|
| 1428 |
+
};
|
| 1429 |
+
return __toCommonJS(abap_exports);
|
| 1430 |
+
})();
|
| 1431 |
+
return moduleExports;
|
| 1432 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/apex/apex.js
ADDED
|
@@ -0,0 +1,364 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/apex/apex", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/apex/apex.ts
|
| 29 |
+
var apex_exports = {};
|
| 30 |
+
__export(apex_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
// the default separators except `@$`
|
| 36 |
+
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
|
| 37 |
+
comments: {
|
| 38 |
+
lineComment: "//",
|
| 39 |
+
blockComment: ["/*", "*/"]
|
| 40 |
+
},
|
| 41 |
+
brackets: [
|
| 42 |
+
["{", "}"],
|
| 43 |
+
["[", "]"],
|
| 44 |
+
["(", ")"]
|
| 45 |
+
],
|
| 46 |
+
autoClosingPairs: [
|
| 47 |
+
{ open: "{", close: "}" },
|
| 48 |
+
{ open: "[", close: "]" },
|
| 49 |
+
{ open: "(", close: ")" },
|
| 50 |
+
{ open: '"', close: '"' },
|
| 51 |
+
{ open: "'", close: "'" }
|
| 52 |
+
],
|
| 53 |
+
surroundingPairs: [
|
| 54 |
+
{ open: "{", close: "}" },
|
| 55 |
+
{ open: "[", close: "]" },
|
| 56 |
+
{ open: "(", close: ")" },
|
| 57 |
+
{ open: '"', close: '"' },
|
| 58 |
+
{ open: "'", close: "'" },
|
| 59 |
+
{ open: "<", close: ">" }
|
| 60 |
+
],
|
| 61 |
+
folding: {
|
| 62 |
+
markers: {
|
| 63 |
+
start: new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),
|
| 64 |
+
end: new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")
|
| 65 |
+
}
|
| 66 |
+
}
|
| 67 |
+
};
|
| 68 |
+
var keywords = [
|
| 69 |
+
"abstract",
|
| 70 |
+
"activate",
|
| 71 |
+
"and",
|
| 72 |
+
"any",
|
| 73 |
+
"array",
|
| 74 |
+
"as",
|
| 75 |
+
"asc",
|
| 76 |
+
"assert",
|
| 77 |
+
"autonomous",
|
| 78 |
+
"begin",
|
| 79 |
+
"bigdecimal",
|
| 80 |
+
"blob",
|
| 81 |
+
"boolean",
|
| 82 |
+
"break",
|
| 83 |
+
"bulk",
|
| 84 |
+
"by",
|
| 85 |
+
"case",
|
| 86 |
+
"cast",
|
| 87 |
+
"catch",
|
| 88 |
+
"char",
|
| 89 |
+
"class",
|
| 90 |
+
"collect",
|
| 91 |
+
"commit",
|
| 92 |
+
"const",
|
| 93 |
+
"continue",
|
| 94 |
+
"convertcurrency",
|
| 95 |
+
"decimal",
|
| 96 |
+
"default",
|
| 97 |
+
"delete",
|
| 98 |
+
"desc",
|
| 99 |
+
"do",
|
| 100 |
+
"double",
|
| 101 |
+
"else",
|
| 102 |
+
"end",
|
| 103 |
+
"enum",
|
| 104 |
+
"exception",
|
| 105 |
+
"exit",
|
| 106 |
+
"export",
|
| 107 |
+
"extends",
|
| 108 |
+
"false",
|
| 109 |
+
"final",
|
| 110 |
+
"finally",
|
| 111 |
+
"float",
|
| 112 |
+
"for",
|
| 113 |
+
"from",
|
| 114 |
+
"future",
|
| 115 |
+
"get",
|
| 116 |
+
"global",
|
| 117 |
+
"goto",
|
| 118 |
+
"group",
|
| 119 |
+
"having",
|
| 120 |
+
"hint",
|
| 121 |
+
"if",
|
| 122 |
+
"implements",
|
| 123 |
+
"import",
|
| 124 |
+
"in",
|
| 125 |
+
"inner",
|
| 126 |
+
"insert",
|
| 127 |
+
"instanceof",
|
| 128 |
+
"int",
|
| 129 |
+
"interface",
|
| 130 |
+
"into",
|
| 131 |
+
"join",
|
| 132 |
+
"last_90_days",
|
| 133 |
+
"last_month",
|
| 134 |
+
"last_n_days",
|
| 135 |
+
"last_week",
|
| 136 |
+
"like",
|
| 137 |
+
"limit",
|
| 138 |
+
"list",
|
| 139 |
+
"long",
|
| 140 |
+
"loop",
|
| 141 |
+
"map",
|
| 142 |
+
"merge",
|
| 143 |
+
"native",
|
| 144 |
+
"new",
|
| 145 |
+
"next_90_days",
|
| 146 |
+
"next_month",
|
| 147 |
+
"next_n_days",
|
| 148 |
+
"next_week",
|
| 149 |
+
"not",
|
| 150 |
+
"null",
|
| 151 |
+
"nulls",
|
| 152 |
+
"number",
|
| 153 |
+
"object",
|
| 154 |
+
"of",
|
| 155 |
+
"on",
|
| 156 |
+
"or",
|
| 157 |
+
"outer",
|
| 158 |
+
"override",
|
| 159 |
+
"package",
|
| 160 |
+
"parallel",
|
| 161 |
+
"pragma",
|
| 162 |
+
"private",
|
| 163 |
+
"protected",
|
| 164 |
+
"public",
|
| 165 |
+
"retrieve",
|
| 166 |
+
"return",
|
| 167 |
+
"returning",
|
| 168 |
+
"rollback",
|
| 169 |
+
"savepoint",
|
| 170 |
+
"search",
|
| 171 |
+
"select",
|
| 172 |
+
"set",
|
| 173 |
+
"short",
|
| 174 |
+
"sort",
|
| 175 |
+
"stat",
|
| 176 |
+
"static",
|
| 177 |
+
"strictfp",
|
| 178 |
+
"super",
|
| 179 |
+
"switch",
|
| 180 |
+
"synchronized",
|
| 181 |
+
"system",
|
| 182 |
+
"testmethod",
|
| 183 |
+
"then",
|
| 184 |
+
"this",
|
| 185 |
+
"this_month",
|
| 186 |
+
"this_week",
|
| 187 |
+
"throw",
|
| 188 |
+
"throws",
|
| 189 |
+
"today",
|
| 190 |
+
"tolabel",
|
| 191 |
+
"tomorrow",
|
| 192 |
+
"transaction",
|
| 193 |
+
"transient",
|
| 194 |
+
"trigger",
|
| 195 |
+
"true",
|
| 196 |
+
"try",
|
| 197 |
+
"type",
|
| 198 |
+
"undelete",
|
| 199 |
+
"update",
|
| 200 |
+
"upsert",
|
| 201 |
+
"using",
|
| 202 |
+
"virtual",
|
| 203 |
+
"void",
|
| 204 |
+
"volatile",
|
| 205 |
+
"webservice",
|
| 206 |
+
"when",
|
| 207 |
+
"where",
|
| 208 |
+
"while",
|
| 209 |
+
"yesterday"
|
| 210 |
+
];
|
| 211 |
+
var uppercaseFirstLetter = (lowercase) => lowercase.charAt(0).toUpperCase() + lowercase.substr(1);
|
| 212 |
+
var keywordsWithCaseVariations = [];
|
| 213 |
+
keywords.forEach((lowercase) => {
|
| 214 |
+
keywordsWithCaseVariations.push(lowercase);
|
| 215 |
+
keywordsWithCaseVariations.push(lowercase.toUpperCase());
|
| 216 |
+
keywordsWithCaseVariations.push(uppercaseFirstLetter(lowercase));
|
| 217 |
+
});
|
| 218 |
+
var language = {
|
| 219 |
+
defaultToken: "",
|
| 220 |
+
tokenPostfix: ".apex",
|
| 221 |
+
keywords: keywordsWithCaseVariations,
|
| 222 |
+
operators: [
|
| 223 |
+
"=",
|
| 224 |
+
">",
|
| 225 |
+
"<",
|
| 226 |
+
"!",
|
| 227 |
+
"~",
|
| 228 |
+
"?",
|
| 229 |
+
":",
|
| 230 |
+
"==",
|
| 231 |
+
"<=",
|
| 232 |
+
">=",
|
| 233 |
+
"!=",
|
| 234 |
+
"&&",
|
| 235 |
+
"||",
|
| 236 |
+
"++",
|
| 237 |
+
"--",
|
| 238 |
+
"+",
|
| 239 |
+
"-",
|
| 240 |
+
"*",
|
| 241 |
+
"/",
|
| 242 |
+
"&",
|
| 243 |
+
"|",
|
| 244 |
+
"^",
|
| 245 |
+
"%",
|
| 246 |
+
"<<",
|
| 247 |
+
">>",
|
| 248 |
+
">>>",
|
| 249 |
+
"+=",
|
| 250 |
+
"-=",
|
| 251 |
+
"*=",
|
| 252 |
+
"/=",
|
| 253 |
+
"&=",
|
| 254 |
+
"|=",
|
| 255 |
+
"^=",
|
| 256 |
+
"%=",
|
| 257 |
+
"<<=",
|
| 258 |
+
">>=",
|
| 259 |
+
">>>="
|
| 260 |
+
],
|
| 261 |
+
// we include these common regular expressions
|
| 262 |
+
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
| 263 |
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
| 264 |
+
digits: /\d+(_+\d+)*/,
|
| 265 |
+
octaldigits: /[0-7]+(_+[0-7]+)*/,
|
| 266 |
+
binarydigits: /[0-1]+(_+[0-1]+)*/,
|
| 267 |
+
hexdigits: /[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,
|
| 268 |
+
// The main tokenizer for our languages
|
| 269 |
+
tokenizer: {
|
| 270 |
+
root: [
|
| 271 |
+
// identifiers and keywords
|
| 272 |
+
[
|
| 273 |
+
/[a-z_$][\w$]*/,
|
| 274 |
+
{
|
| 275 |
+
cases: {
|
| 276 |
+
"@keywords": { token: "keyword.$0" },
|
| 277 |
+
"@default": "identifier"
|
| 278 |
+
}
|
| 279 |
+
}
|
| 280 |
+
],
|
| 281 |
+
// assume that identifiers starting with an uppercase letter are types
|
| 282 |
+
[
|
| 283 |
+
/[A-Z][\w\$]*/,
|
| 284 |
+
{
|
| 285 |
+
cases: {
|
| 286 |
+
"@keywords": { token: "keyword.$0" },
|
| 287 |
+
"@default": "type.identifier"
|
| 288 |
+
}
|
| 289 |
+
}
|
| 290 |
+
],
|
| 291 |
+
// whitespace
|
| 292 |
+
{ include: "@whitespace" },
|
| 293 |
+
// delimiters and operators
|
| 294 |
+
[/[{}()\[\]]/, "@brackets"],
|
| 295 |
+
[/[<>](?!@symbols)/, "@brackets"],
|
| 296 |
+
[
|
| 297 |
+
/@symbols/,
|
| 298 |
+
{
|
| 299 |
+
cases: {
|
| 300 |
+
"@operators": "delimiter",
|
| 301 |
+
"@default": ""
|
| 302 |
+
}
|
| 303 |
+
}
|
| 304 |
+
],
|
| 305 |
+
// @ annotations.
|
| 306 |
+
[/@\s*[a-zA-Z_\$][\w\$]*/, "annotation"],
|
| 307 |
+
// numbers
|
| 308 |
+
[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/, "number.float"],
|
| 309 |
+
[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/, "number.float"],
|
| 310 |
+
[/(@digits)[fFdD]/, "number.float"],
|
| 311 |
+
[/(@digits)[lL]?/, "number"],
|
| 312 |
+
// delimiter: after number because of .\d floats
|
| 313 |
+
[/[;,.]/, "delimiter"],
|
| 314 |
+
// strings
|
| 315 |
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
| 316 |
+
// non-teminated string
|
| 317 |
+
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
| 318 |
+
// non-teminated string
|
| 319 |
+
[/"/, "string", '@string."'],
|
| 320 |
+
[/'/, "string", "@string.'"],
|
| 321 |
+
// characters
|
| 322 |
+
[/'[^\\']'/, "string"],
|
| 323 |
+
[/(')(@escapes)(')/, ["string", "string.escape", "string"]],
|
| 324 |
+
[/'/, "string.invalid"]
|
| 325 |
+
],
|
| 326 |
+
whitespace: [
|
| 327 |
+
[/[ \t\r\n]+/, ""],
|
| 328 |
+
[/\/\*\*(?!\/)/, "comment.doc", "@apexdoc"],
|
| 329 |
+
[/\/\*/, "comment", "@comment"],
|
| 330 |
+
[/\/\/.*$/, "comment"]
|
| 331 |
+
],
|
| 332 |
+
comment: [
|
| 333 |
+
[/[^\/*]+/, "comment"],
|
| 334 |
+
// [/\/\*/, 'comment', '@push' ], // nested comment not allowed :-(
|
| 335 |
+
// [/\/\*/, 'comment.invalid' ], // this breaks block comments in the shape of /* //*/
|
| 336 |
+
[/\*\//, "comment", "@pop"],
|
| 337 |
+
[/[\/*]/, "comment"]
|
| 338 |
+
],
|
| 339 |
+
//Identical copy of comment above, except for the addition of .doc
|
| 340 |
+
apexdoc: [
|
| 341 |
+
[/[^\/*]+/, "comment.doc"],
|
| 342 |
+
[/\*\//, "comment.doc", "@pop"],
|
| 343 |
+
[/[\/*]/, "comment.doc"]
|
| 344 |
+
],
|
| 345 |
+
string: [
|
| 346 |
+
[/[^\\"']+/, "string"],
|
| 347 |
+
[/@escapes/, "string.escape"],
|
| 348 |
+
[/\\./, "string.escape.invalid"],
|
| 349 |
+
[
|
| 350 |
+
/["']/,
|
| 351 |
+
{
|
| 352 |
+
cases: {
|
| 353 |
+
"$#==$S2": { token: "string", next: "@pop" },
|
| 354 |
+
"@default": "string"
|
| 355 |
+
}
|
| 356 |
+
}
|
| 357 |
+
]
|
| 358 |
+
]
|
| 359 |
+
}
|
| 360 |
+
};
|
| 361 |
+
return __toCommonJS(apex_exports);
|
| 362 |
+
})();
|
| 363 |
+
return moduleExports;
|
| 364 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/azcli/azcli.js
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/azcli/azcli", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/azcli/azcli.ts
|
| 29 |
+
var azcli_exports = {};
|
| 30 |
+
__export(azcli_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
comments: {
|
| 36 |
+
lineComment: "#"
|
| 37 |
+
}
|
| 38 |
+
};
|
| 39 |
+
var language = {
|
| 40 |
+
defaultToken: "keyword",
|
| 41 |
+
ignoreCase: true,
|
| 42 |
+
tokenPostfix: ".azcli",
|
| 43 |
+
str: /[^#\s]/,
|
| 44 |
+
tokenizer: {
|
| 45 |
+
root: [
|
| 46 |
+
{ include: "@comment" },
|
| 47 |
+
[
|
| 48 |
+
/\s-+@str*\s*/,
|
| 49 |
+
{
|
| 50 |
+
cases: {
|
| 51 |
+
"@eos": { token: "key.identifier", next: "@popall" },
|
| 52 |
+
"@default": { token: "key.identifier", next: "@type" }
|
| 53 |
+
}
|
| 54 |
+
}
|
| 55 |
+
],
|
| 56 |
+
[
|
| 57 |
+
/^-+@str*\s*/,
|
| 58 |
+
{
|
| 59 |
+
cases: {
|
| 60 |
+
"@eos": { token: "key.identifier", next: "@popall" },
|
| 61 |
+
"@default": { token: "key.identifier", next: "@type" }
|
| 62 |
+
}
|
| 63 |
+
}
|
| 64 |
+
]
|
| 65 |
+
],
|
| 66 |
+
type: [
|
| 67 |
+
{ include: "@comment" },
|
| 68 |
+
[
|
| 69 |
+
/-+@str*\s*/,
|
| 70 |
+
{
|
| 71 |
+
cases: {
|
| 72 |
+
"@eos": { token: "key.identifier", next: "@popall" },
|
| 73 |
+
"@default": "key.identifier"
|
| 74 |
+
}
|
| 75 |
+
}
|
| 76 |
+
],
|
| 77 |
+
[
|
| 78 |
+
/@str+\s*/,
|
| 79 |
+
{
|
| 80 |
+
cases: {
|
| 81 |
+
"@eos": { token: "string", next: "@popall" },
|
| 82 |
+
"@default": "string"
|
| 83 |
+
}
|
| 84 |
+
}
|
| 85 |
+
]
|
| 86 |
+
],
|
| 87 |
+
comment: [
|
| 88 |
+
[
|
| 89 |
+
/#.*$/,
|
| 90 |
+
{
|
| 91 |
+
cases: {
|
| 92 |
+
"@eos": { token: "comment", next: "@popall" }
|
| 93 |
+
}
|
| 94 |
+
}
|
| 95 |
+
]
|
| 96 |
+
]
|
| 97 |
+
}
|
| 98 |
+
};
|
| 99 |
+
return __toCommonJS(azcli_exports);
|
| 100 |
+
})();
|
| 101 |
+
return moduleExports;
|
| 102 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/bat/bat.js
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/bat/bat", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/bat/bat.ts
|
| 29 |
+
var bat_exports = {};
|
| 30 |
+
__export(bat_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
comments: {
|
| 36 |
+
lineComment: "REM"
|
| 37 |
+
},
|
| 38 |
+
brackets: [
|
| 39 |
+
["{", "}"],
|
| 40 |
+
["[", "]"],
|
| 41 |
+
["(", ")"]
|
| 42 |
+
],
|
| 43 |
+
autoClosingPairs: [
|
| 44 |
+
{ open: "{", close: "}" },
|
| 45 |
+
{ open: "[", close: "]" },
|
| 46 |
+
{ open: "(", close: ")" },
|
| 47 |
+
{ open: '"', close: '"' }
|
| 48 |
+
],
|
| 49 |
+
surroundingPairs: [
|
| 50 |
+
{ open: "[", close: "]" },
|
| 51 |
+
{ open: "(", close: ")" },
|
| 52 |
+
{ open: '"', close: '"' }
|
| 53 |
+
],
|
| 54 |
+
folding: {
|
| 55 |
+
markers: {
|
| 56 |
+
start: new RegExp("^\\s*(::\\s*|REM\\s+)#region"),
|
| 57 |
+
end: new RegExp("^\\s*(::\\s*|REM\\s+)#endregion")
|
| 58 |
+
}
|
| 59 |
+
}
|
| 60 |
+
};
|
| 61 |
+
var language = {
|
| 62 |
+
defaultToken: "",
|
| 63 |
+
ignoreCase: true,
|
| 64 |
+
tokenPostfix: ".bat",
|
| 65 |
+
brackets: [
|
| 66 |
+
{ token: "delimiter.bracket", open: "{", close: "}" },
|
| 67 |
+
{ token: "delimiter.parenthesis", open: "(", close: ")" },
|
| 68 |
+
{ token: "delimiter.square", open: "[", close: "]" }
|
| 69 |
+
],
|
| 70 |
+
keywords: /call|defined|echo|errorlevel|exist|for|goto|if|pause|set|shift|start|title|not|pushd|popd/,
|
| 71 |
+
// we include these common regular expressions
|
| 72 |
+
symbols: /[=><!~?&|+\-*\/\^;\.,]+/,
|
| 73 |
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
| 74 |
+
// The main tokenizer for our languages
|
| 75 |
+
tokenizer: {
|
| 76 |
+
root: [
|
| 77 |
+
[/^(\s*)(rem(?:\s.*|))$/, ["", "comment"]],
|
| 78 |
+
[/(\@?)(@keywords)(?!\w)/, [{ token: "keyword" }, { token: "keyword.$2" }]],
|
| 79 |
+
// whitespace
|
| 80 |
+
[/[ \t\r\n]+/, ""],
|
| 81 |
+
// blocks
|
| 82 |
+
[/setlocal(?!\w)/, "keyword.tag-setlocal"],
|
| 83 |
+
[/endlocal(?!\w)/, "keyword.tag-setlocal"],
|
| 84 |
+
// words
|
| 85 |
+
[/[a-zA-Z_]\w*/, ""],
|
| 86 |
+
// labels
|
| 87 |
+
[/:\w*/, "metatag"],
|
| 88 |
+
// variables
|
| 89 |
+
[/%[^%]+%/, "variable"],
|
| 90 |
+
[/%%[\w]+(?!\w)/, "variable"],
|
| 91 |
+
// punctuations
|
| 92 |
+
[/[{}()\[\]]/, "@brackets"],
|
| 93 |
+
[/@symbols/, "delimiter"],
|
| 94 |
+
// numbers
|
| 95 |
+
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
| 96 |
+
[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/, "number.hex"],
|
| 97 |
+
[/\d+/, "number"],
|
| 98 |
+
// punctuation: after number because of .\d floats
|
| 99 |
+
[/[;,.]/, "delimiter"],
|
| 100 |
+
// strings:
|
| 101 |
+
[/"/, "string", '@string."'],
|
| 102 |
+
[/'/, "string", "@string.'"]
|
| 103 |
+
],
|
| 104 |
+
string: [
|
| 105 |
+
[
|
| 106 |
+
/[^\\"'%]+/,
|
| 107 |
+
{
|
| 108 |
+
cases: {
|
| 109 |
+
"@eos": { token: "string", next: "@popall" },
|
| 110 |
+
"@default": "string"
|
| 111 |
+
}
|
| 112 |
+
}
|
| 113 |
+
],
|
| 114 |
+
[/@escapes/, "string.escape"],
|
| 115 |
+
[/\\./, "string.escape.invalid"],
|
| 116 |
+
[/%[\w ]+%/, "variable"],
|
| 117 |
+
[/%%[\w]+(?!\w)/, "variable"],
|
| 118 |
+
[
|
| 119 |
+
/["']/,
|
| 120 |
+
{
|
| 121 |
+
cases: {
|
| 122 |
+
"$#==$S2": { token: "string", next: "@pop" },
|
| 123 |
+
"@default": "string"
|
| 124 |
+
}
|
| 125 |
+
}
|
| 126 |
+
],
|
| 127 |
+
[/$/, "string", "@popall"]
|
| 128 |
+
]
|
| 129 |
+
}
|
| 130 |
+
};
|
| 131 |
+
return __toCommonJS(bat_exports);
|
| 132 |
+
})();
|
| 133 |
+
return moduleExports;
|
| 134 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/bicep/bicep.js
ADDED
|
@@ -0,0 +1,143 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/bicep/bicep", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/bicep/bicep.ts
|
| 29 |
+
var bicep_exports = {};
|
| 30 |
+
__export(bicep_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var bounded = (text) => `\\b${text}\\b`;
|
| 35 |
+
var identifierStart = "[_a-zA-Z]";
|
| 36 |
+
var identifierContinue = "[_a-zA-Z0-9]";
|
| 37 |
+
var identifier = bounded(`${identifierStart}${identifierContinue}*`);
|
| 38 |
+
var keywords = [
|
| 39 |
+
"targetScope",
|
| 40 |
+
"resource",
|
| 41 |
+
"module",
|
| 42 |
+
"param",
|
| 43 |
+
"var",
|
| 44 |
+
"output",
|
| 45 |
+
"for",
|
| 46 |
+
"in",
|
| 47 |
+
"if",
|
| 48 |
+
"existing"
|
| 49 |
+
];
|
| 50 |
+
var namedLiterals = ["true", "false", "null"];
|
| 51 |
+
var nonCommentWs = `[ \\t\\r\\n]`;
|
| 52 |
+
var numericLiteral = `[0-9]+`;
|
| 53 |
+
var conf = {
|
| 54 |
+
comments: {
|
| 55 |
+
lineComment: "//",
|
| 56 |
+
blockComment: ["/*", "*/"]
|
| 57 |
+
},
|
| 58 |
+
brackets: [
|
| 59 |
+
["{", "}"],
|
| 60 |
+
["[", "]"],
|
| 61 |
+
["(", ")"]
|
| 62 |
+
],
|
| 63 |
+
surroundingPairs: [
|
| 64 |
+
{ open: "{", close: "}" },
|
| 65 |
+
{ open: "[", close: "]" },
|
| 66 |
+
{ open: "(", close: ")" },
|
| 67 |
+
{ open: "'", close: "'" },
|
| 68 |
+
{ open: "'''", close: "'''" }
|
| 69 |
+
],
|
| 70 |
+
autoClosingPairs: [
|
| 71 |
+
{ open: "{", close: "}" },
|
| 72 |
+
{ open: "[", close: "]" },
|
| 73 |
+
{ open: "(", close: ")" },
|
| 74 |
+
{ open: "'", close: "'", notIn: ["string", "comment"] },
|
| 75 |
+
{ open: "'''", close: "'''", notIn: ["string", "comment"] }
|
| 76 |
+
],
|
| 77 |
+
autoCloseBefore: ":.,=}])' \n ",
|
| 78 |
+
indentationRules: {
|
| 79 |
+
increaseIndentPattern: new RegExp("^((?!\\/\\/).)*(\\{[^}\"'`]*|\\([^)\"'`]*|\\[[^\\]\"'`]*)$"),
|
| 80 |
+
decreaseIndentPattern: new RegExp("^((?!.*?\\/\\*).*\\*/)?\\s*[\\}\\]].*$")
|
| 81 |
+
}
|
| 82 |
+
};
|
| 83 |
+
var language = {
|
| 84 |
+
defaultToken: "",
|
| 85 |
+
tokenPostfix: ".bicep",
|
| 86 |
+
brackets: [
|
| 87 |
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
| 88 |
+
{ open: "[", close: "]", token: "delimiter.square" },
|
| 89 |
+
{ open: "(", close: ")", token: "delimiter.parenthesis" }
|
| 90 |
+
],
|
| 91 |
+
symbols: /[=><!~?:&|+\-*/^%]+/,
|
| 92 |
+
keywords,
|
| 93 |
+
namedLiterals,
|
| 94 |
+
escapes: `\\\\(u{[0-9A-Fa-f]+}|n|r|t|\\\\|'|\\\${)`,
|
| 95 |
+
tokenizer: {
|
| 96 |
+
root: [{ include: "@expression" }, { include: "@whitespace" }],
|
| 97 |
+
stringVerbatim: [
|
| 98 |
+
{ regex: `(|'|'')[^']`, action: { token: "string" } },
|
| 99 |
+
{ regex: `'''`, action: { token: "string.quote", next: "@pop" } }
|
| 100 |
+
],
|
| 101 |
+
stringLiteral: [
|
| 102 |
+
{ regex: `\\\${`, action: { token: "delimiter.bracket", next: "@bracketCounting" } },
|
| 103 |
+
{ regex: `[^\\\\'$]+`, action: { token: "string" } },
|
| 104 |
+
{ regex: "@escapes", action: { token: "string.escape" } },
|
| 105 |
+
{ regex: `\\\\.`, action: { token: "string.escape.invalid" } },
|
| 106 |
+
{ regex: `'`, action: { token: "string", next: "@pop" } }
|
| 107 |
+
],
|
| 108 |
+
bracketCounting: [
|
| 109 |
+
{ regex: `{`, action: { token: "delimiter.bracket", next: "@bracketCounting" } },
|
| 110 |
+
{ regex: `}`, action: { token: "delimiter.bracket", next: "@pop" } },
|
| 111 |
+
{ include: "expression" }
|
| 112 |
+
],
|
| 113 |
+
comment: [
|
| 114 |
+
{ regex: `[^\\*]+`, action: { token: "comment" } },
|
| 115 |
+
{ regex: `\\*\\/`, action: { token: "comment", next: "@pop" } },
|
| 116 |
+
{ regex: `[\\/*]`, action: { token: "comment" } }
|
| 117 |
+
],
|
| 118 |
+
whitespace: [
|
| 119 |
+
{ regex: nonCommentWs },
|
| 120 |
+
{ regex: `\\/\\*`, action: { token: "comment", next: "@comment" } },
|
| 121 |
+
{ regex: `\\/\\/.*$`, action: { token: "comment" } }
|
| 122 |
+
],
|
| 123 |
+
expression: [
|
| 124 |
+
{ regex: `'''`, action: { token: "string.quote", next: "@stringVerbatim" } },
|
| 125 |
+
{ regex: `'`, action: { token: "string.quote", next: "@stringLiteral" } },
|
| 126 |
+
{ regex: numericLiteral, action: { token: "number" } },
|
| 127 |
+
{
|
| 128 |
+
regex: identifier,
|
| 129 |
+
action: {
|
| 130 |
+
cases: {
|
| 131 |
+
"@keywords": { token: "keyword" },
|
| 132 |
+
"@namedLiterals": { token: "keyword" },
|
| 133 |
+
"@default": { token: "identifier" }
|
| 134 |
+
}
|
| 135 |
+
}
|
| 136 |
+
}
|
| 137 |
+
]
|
| 138 |
+
}
|
| 139 |
+
};
|
| 140 |
+
return __toCommonJS(bicep_exports);
|
| 141 |
+
})();
|
| 142 |
+
return moduleExports;
|
| 143 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/cameligo/cameligo.js
ADDED
|
@@ -0,0 +1,208 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/cameligo/cameligo", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/cameligo/cameligo.ts
|
| 29 |
+
var cameligo_exports = {};
|
| 30 |
+
__export(cameligo_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
comments: {
|
| 36 |
+
lineComment: "//",
|
| 37 |
+
blockComment: ["(*", "*)"]
|
| 38 |
+
},
|
| 39 |
+
brackets: [
|
| 40 |
+
["{", "}"],
|
| 41 |
+
["[", "]"],
|
| 42 |
+
["(", ")"],
|
| 43 |
+
["<", ">"]
|
| 44 |
+
],
|
| 45 |
+
autoClosingPairs: [
|
| 46 |
+
{ open: "{", close: "}" },
|
| 47 |
+
{ open: "[", close: "]" },
|
| 48 |
+
{ open: "(", close: ")" },
|
| 49 |
+
{ open: "<", close: ">" },
|
| 50 |
+
{ open: "'", close: "'" },
|
| 51 |
+
{ open: '"', close: '"' },
|
| 52 |
+
{ open: "(*", close: "*)" }
|
| 53 |
+
],
|
| 54 |
+
surroundingPairs: [
|
| 55 |
+
{ open: "{", close: "}" },
|
| 56 |
+
{ open: "[", close: "]" },
|
| 57 |
+
{ open: "(", close: ")" },
|
| 58 |
+
{ open: "<", close: ">" },
|
| 59 |
+
{ open: "'", close: "'" },
|
| 60 |
+
{ open: '"', close: '"' },
|
| 61 |
+
{ open: "(*", close: "*)" }
|
| 62 |
+
]
|
| 63 |
+
};
|
| 64 |
+
var language = {
|
| 65 |
+
defaultToken: "",
|
| 66 |
+
tokenPostfix: ".cameligo",
|
| 67 |
+
ignoreCase: true,
|
| 68 |
+
brackets: [
|
| 69 |
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
| 70 |
+
{ open: "[", close: "]", token: "delimiter.square" },
|
| 71 |
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
| 72 |
+
{ open: "<", close: ">", token: "delimiter.angle" }
|
| 73 |
+
],
|
| 74 |
+
keywords: [
|
| 75 |
+
"abs",
|
| 76 |
+
"assert",
|
| 77 |
+
"block",
|
| 78 |
+
"Bytes",
|
| 79 |
+
"case",
|
| 80 |
+
"Crypto",
|
| 81 |
+
"Current",
|
| 82 |
+
"else",
|
| 83 |
+
"failwith",
|
| 84 |
+
"false",
|
| 85 |
+
"for",
|
| 86 |
+
"fun",
|
| 87 |
+
"if",
|
| 88 |
+
"in",
|
| 89 |
+
"let",
|
| 90 |
+
"let%entry",
|
| 91 |
+
"let%init",
|
| 92 |
+
"List",
|
| 93 |
+
"list",
|
| 94 |
+
"Map",
|
| 95 |
+
"map",
|
| 96 |
+
"match",
|
| 97 |
+
"match%nat",
|
| 98 |
+
"mod",
|
| 99 |
+
"not",
|
| 100 |
+
"operation",
|
| 101 |
+
"Operation",
|
| 102 |
+
"of",
|
| 103 |
+
"record",
|
| 104 |
+
"Set",
|
| 105 |
+
"set",
|
| 106 |
+
"sender",
|
| 107 |
+
"skip",
|
| 108 |
+
"source",
|
| 109 |
+
"String",
|
| 110 |
+
"then",
|
| 111 |
+
"to",
|
| 112 |
+
"true",
|
| 113 |
+
"type",
|
| 114 |
+
"with"
|
| 115 |
+
],
|
| 116 |
+
typeKeywords: ["int", "unit", "string", "tz", "nat", "bool"],
|
| 117 |
+
operators: [
|
| 118 |
+
"=",
|
| 119 |
+
">",
|
| 120 |
+
"<",
|
| 121 |
+
"<=",
|
| 122 |
+
">=",
|
| 123 |
+
"<>",
|
| 124 |
+
":",
|
| 125 |
+
":=",
|
| 126 |
+
"and",
|
| 127 |
+
"mod",
|
| 128 |
+
"or",
|
| 129 |
+
"+",
|
| 130 |
+
"-",
|
| 131 |
+
"*",
|
| 132 |
+
"/",
|
| 133 |
+
"@",
|
| 134 |
+
"&",
|
| 135 |
+
"^",
|
| 136 |
+
"%",
|
| 137 |
+
"->",
|
| 138 |
+
"<-",
|
| 139 |
+
"&&",
|
| 140 |
+
"||"
|
| 141 |
+
],
|
| 142 |
+
// we include these common regular expressions
|
| 143 |
+
symbols: /[=><:@\^&|+\-*\/\^%]+/,
|
| 144 |
+
// The main tokenizer for our languages
|
| 145 |
+
tokenizer: {
|
| 146 |
+
root: [
|
| 147 |
+
// identifiers and keywords
|
| 148 |
+
[
|
| 149 |
+
/[a-zA-Z_][\w]*/,
|
| 150 |
+
{
|
| 151 |
+
cases: {
|
| 152 |
+
"@keywords": { token: "keyword.$0" },
|
| 153 |
+
"@default": "identifier"
|
| 154 |
+
}
|
| 155 |
+
}
|
| 156 |
+
],
|
| 157 |
+
// whitespace
|
| 158 |
+
{ include: "@whitespace" },
|
| 159 |
+
// delimiters and operators
|
| 160 |
+
[/[{}()\[\]]/, "@brackets"],
|
| 161 |
+
[/[<>](?!@symbols)/, "@brackets"],
|
| 162 |
+
[
|
| 163 |
+
/@symbols/,
|
| 164 |
+
{
|
| 165 |
+
cases: {
|
| 166 |
+
"@operators": "delimiter",
|
| 167 |
+
"@default": ""
|
| 168 |
+
}
|
| 169 |
+
}
|
| 170 |
+
],
|
| 171 |
+
// numbers
|
| 172 |
+
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
| 173 |
+
[/\$[0-9a-fA-F]{1,16}/, "number.hex"],
|
| 174 |
+
[/\d+/, "number"],
|
| 175 |
+
// delimiter: after number because of .\d floats
|
| 176 |
+
[/[;,.]/, "delimiter"],
|
| 177 |
+
// strings
|
| 178 |
+
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
| 179 |
+
// non-teminated string
|
| 180 |
+
[/'/, "string", "@string"],
|
| 181 |
+
// characters
|
| 182 |
+
[/'[^\\']'/, "string"],
|
| 183 |
+
[/'/, "string.invalid"],
|
| 184 |
+
[/\#\d+/, "string"]
|
| 185 |
+
],
|
| 186 |
+
/* */
|
| 187 |
+
comment: [
|
| 188 |
+
[/[^\(\*]+/, "comment"],
|
| 189 |
+
//[/\(\*/, 'comment', '@push' ], // nested comment not allowed :-(
|
| 190 |
+
[/\*\)/, "comment", "@pop"],
|
| 191 |
+
[/\(\*/, "comment"]
|
| 192 |
+
],
|
| 193 |
+
string: [
|
| 194 |
+
[/[^\\']+/, "string"],
|
| 195 |
+
[/\\./, "string.escape.invalid"],
|
| 196 |
+
[/'/, { token: "string.quote", bracket: "@close", next: "@pop" }]
|
| 197 |
+
],
|
| 198 |
+
whitespace: [
|
| 199 |
+
[/[ \t\r\n]+/, "white"],
|
| 200 |
+
[/\(\*/, "comment", "@comment"],
|
| 201 |
+
[/\/\/.*$/, "comment"]
|
| 202 |
+
]
|
| 203 |
+
}
|
| 204 |
+
};
|
| 205 |
+
return __toCommonJS(cameligo_exports);
|
| 206 |
+
})();
|
| 207 |
+
return moduleExports;
|
| 208 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/clojure/clojure.js
ADDED
|
@@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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/clojure/clojure", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/clojure/clojure.ts
|
| 29 |
+
var clojure_exports = {};
|
| 30 |
+
__export(clojure_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
comments: {
|
| 36 |
+
lineComment: ";;"
|
| 37 |
+
},
|
| 38 |
+
brackets: [
|
| 39 |
+
["[", "]"],
|
| 40 |
+
["(", ")"],
|
| 41 |
+
["{", "}"]
|
| 42 |
+
],
|
| 43 |
+
autoClosingPairs: [
|
| 44 |
+
{ open: "[", close: "]" },
|
| 45 |
+
{ open: '"', close: '"' },
|
| 46 |
+
{ open: "(", close: ")" },
|
| 47 |
+
{ open: "{", close: "}" }
|
| 48 |
+
],
|
| 49 |
+
surroundingPairs: [
|
| 50 |
+
{ open: "[", close: "]" },
|
| 51 |
+
{ open: '"', close: '"' },
|
| 52 |
+
{ open: "(", close: ")" },
|
| 53 |
+
{ open: "{", close: "}" }
|
| 54 |
+
]
|
| 55 |
+
};
|
| 56 |
+
var language = {
|
| 57 |
+
defaultToken: "",
|
| 58 |
+
ignoreCase: true,
|
| 59 |
+
tokenPostfix: ".clj",
|
| 60 |
+
brackets: [
|
| 61 |
+
{ open: "[", close: "]", token: "delimiter.square" },
|
| 62 |
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
| 63 |
+
{ open: "{", close: "}", token: "delimiter.curly" }
|
| 64 |
+
],
|
| 65 |
+
constants: ["true", "false", "nil"],
|
| 66 |
+
// delimiters: /[\\\[\]\s"#'(),;@^`{}~]|$/,
|
| 67 |
+
numbers: /^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,
|
| 68 |
+
characters: /^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,
|
| 69 |
+
escapes: /^\\(?:["'\\bfnrt]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
| 70 |
+
// simple-namespace := /^[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*/
|
| 71 |
+
// simple-symbol := /^(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)/
|
| 72 |
+
// qualified-symbol := (<simple-namespace>(<.><simple-namespace>)*</>)?<simple-symbol>
|
| 73 |
+
qualifiedSymbols: /^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/,
|
| 74 |
+
specialForms: [
|
| 75 |
+
".",
|
| 76 |
+
"catch",
|
| 77 |
+
"def",
|
| 78 |
+
"do",
|
| 79 |
+
"if",
|
| 80 |
+
"monitor-enter",
|
| 81 |
+
"monitor-exit",
|
| 82 |
+
"new",
|
| 83 |
+
"quote",
|
| 84 |
+
"recur",
|
| 85 |
+
"set!",
|
| 86 |
+
"throw",
|
| 87 |
+
"try",
|
| 88 |
+
"var"
|
| 89 |
+
],
|
| 90 |
+
coreSymbols: [
|
| 91 |
+
"*",
|
| 92 |
+
"*'",
|
| 93 |
+
"*1",
|
| 94 |
+
"*2",
|
| 95 |
+
"*3",
|
| 96 |
+
"*agent*",
|
| 97 |
+
"*allow-unresolved-vars*",
|
| 98 |
+
"*assert*",
|
| 99 |
+
"*clojure-version*",
|
| 100 |
+
"*command-line-args*",
|
| 101 |
+
"*compile-files*",
|
| 102 |
+
"*compile-path*",
|
| 103 |
+
"*compiler-options*",
|
| 104 |
+
"*data-readers*",
|
| 105 |
+
"*default-data-reader-fn*",
|
| 106 |
+
"*e",
|
| 107 |
+
"*err*",
|
| 108 |
+
"*file*",
|
| 109 |
+
"*flush-on-newline*",
|
| 110 |
+
"*fn-loader*",
|
| 111 |
+
"*in*",
|
| 112 |
+
"*math-context*",
|
| 113 |
+
"*ns*",
|
| 114 |
+
"*out*",
|
| 115 |
+
"*print-dup*",
|
| 116 |
+
"*print-length*",
|
| 117 |
+
"*print-level*",
|
| 118 |
+
"*print-meta*",
|
| 119 |
+
"*print-namespace-maps*",
|
| 120 |
+
"*print-readably*",
|
| 121 |
+
"*read-eval*",
|
| 122 |
+
"*reader-resolver*",
|
| 123 |
+
"*source-path*",
|
| 124 |
+
"*suppress-read*",
|
| 125 |
+
"*unchecked-math*",
|
| 126 |
+
"*use-context-classloader*",
|
| 127 |
+
"*verbose-defrecords*",
|
| 128 |
+
"*warn-on-reflection*",
|
| 129 |
+
"+",
|
| 130 |
+
"+'",
|
| 131 |
+
"-",
|
| 132 |
+
"-'",
|
| 133 |
+
"->",
|
| 134 |
+
"->>",
|
| 135 |
+
"->ArrayChunk",
|
| 136 |
+
"->Eduction",
|
| 137 |
+
"->Vec",
|
| 138 |
+
"->VecNode",
|
| 139 |
+
"->VecSeq",
|
| 140 |
+
"-cache-protocol-fn",
|
| 141 |
+
"-reset-methods",
|
| 142 |
+
"..",
|
| 143 |
+
"/",
|
| 144 |
+
"<",
|
| 145 |
+
"<=",
|
| 146 |
+
"=",
|
| 147 |
+
"==",
|
| 148 |
+
">",
|
| 149 |
+
">=",
|
| 150 |
+
"EMPTY-NODE",
|
| 151 |
+
"Inst",
|
| 152 |
+
"StackTraceElement->vec",
|
| 153 |
+
"Throwable->map",
|
| 154 |
+
"accessor",
|
| 155 |
+
"aclone",
|
| 156 |
+
"add-classpath",
|
| 157 |
+
"add-watch",
|
| 158 |
+
"agent",
|
| 159 |
+
"agent-error",
|
| 160 |
+
"agent-errors",
|
| 161 |
+
"aget",
|
| 162 |
+
"alength",
|
| 163 |
+
"alias",
|
| 164 |
+
"all-ns",
|
| 165 |
+
"alter",
|
| 166 |
+
"alter-meta!",
|
| 167 |
+
"alter-var-root",
|
| 168 |
+
"amap",
|
| 169 |
+
"ancestors",
|
| 170 |
+
"and",
|
| 171 |
+
"any?",
|
| 172 |
+
"apply",
|
| 173 |
+
"areduce",
|
| 174 |
+
"array-map",
|
| 175 |
+
"as->",
|
| 176 |
+
"aset",
|
| 177 |
+
"aset-boolean",
|
| 178 |
+
"aset-byte",
|
| 179 |
+
"aset-char",
|
| 180 |
+
"aset-double",
|
| 181 |
+
"aset-float",
|
| 182 |
+
"aset-int",
|
| 183 |
+
"aset-long",
|
| 184 |
+
"aset-short",
|
| 185 |
+
"assert",
|
| 186 |
+
"assoc",
|
| 187 |
+
"assoc!",
|
| 188 |
+
"assoc-in",
|
| 189 |
+
"associative?",
|
| 190 |
+
"atom",
|
| 191 |
+
"await",
|
| 192 |
+
"await-for",
|
| 193 |
+
"await1",
|
| 194 |
+
"bases",
|
| 195 |
+
"bean",
|
| 196 |
+
"bigdec",
|
| 197 |
+
"bigint",
|
| 198 |
+
"biginteger",
|
| 199 |
+
"binding",
|
| 200 |
+
"bit-and",
|
| 201 |
+
"bit-and-not",
|
| 202 |
+
"bit-clear",
|
| 203 |
+
"bit-flip",
|
| 204 |
+
"bit-not",
|
| 205 |
+
"bit-or",
|
| 206 |
+
"bit-set",
|
| 207 |
+
"bit-shift-left",
|
| 208 |
+
"bit-shift-right",
|
| 209 |
+
"bit-test",
|
| 210 |
+
"bit-xor",
|
| 211 |
+
"boolean",
|
| 212 |
+
"boolean-array",
|
| 213 |
+
"boolean?",
|
| 214 |
+
"booleans",
|
| 215 |
+
"bound-fn",
|
| 216 |
+
"bound-fn*",
|
| 217 |
+
"bound?",
|
| 218 |
+
"bounded-count",
|
| 219 |
+
"butlast",
|
| 220 |
+
"byte",
|
| 221 |
+
"byte-array",
|
| 222 |
+
"bytes",
|
| 223 |
+
"bytes?",
|
| 224 |
+
"case",
|
| 225 |
+
"cast",
|
| 226 |
+
"cat",
|
| 227 |
+
"char",
|
| 228 |
+
"char-array",
|
| 229 |
+
"char-escape-string",
|
| 230 |
+
"char-name-string",
|
| 231 |
+
"char?",
|
| 232 |
+
"chars",
|
| 233 |
+
"chunk",
|
| 234 |
+
"chunk-append",
|
| 235 |
+
"chunk-buffer",
|
| 236 |
+
"chunk-cons",
|
| 237 |
+
"chunk-first",
|
| 238 |
+
"chunk-next",
|
| 239 |
+
"chunk-rest",
|
| 240 |
+
"chunked-seq?",
|
| 241 |
+
"class",
|
| 242 |
+
"class?",
|
| 243 |
+
"clear-agent-errors",
|
| 244 |
+
"clojure-version",
|
| 245 |
+
"coll?",
|
| 246 |
+
"comment",
|
| 247 |
+
"commute",
|
| 248 |
+
"comp",
|
| 249 |
+
"comparator",
|
| 250 |
+
"compare",
|
| 251 |
+
"compare-and-set!",
|
| 252 |
+
"compile",
|
| 253 |
+
"complement",
|
| 254 |
+
"completing",
|
| 255 |
+
"concat",
|
| 256 |
+
"cond",
|
| 257 |
+
"cond->",
|
| 258 |
+
"cond->>",
|
| 259 |
+
"condp",
|
| 260 |
+
"conj",
|
| 261 |
+
"conj!",
|
| 262 |
+
"cons",
|
| 263 |
+
"constantly",
|
| 264 |
+
"construct-proxy",
|
| 265 |
+
"contains?",
|
| 266 |
+
"count",
|
| 267 |
+
"counted?",
|
| 268 |
+
"create-ns",
|
| 269 |
+
"create-struct",
|
| 270 |
+
"cycle",
|
| 271 |
+
"dec",
|
| 272 |
+
"dec'",
|
| 273 |
+
"decimal?",
|
| 274 |
+
"declare",
|
| 275 |
+
"dedupe",
|
| 276 |
+
"default-data-readers",
|
| 277 |
+
"definline",
|
| 278 |
+
"definterface",
|
| 279 |
+
"defmacro",
|
| 280 |
+
"defmethod",
|
| 281 |
+
"defmulti",
|
| 282 |
+
"defn",
|
| 283 |
+
"defn-",
|
| 284 |
+
"defonce",
|
| 285 |
+
"defprotocol",
|
| 286 |
+
"defrecord",
|
| 287 |
+
"defstruct",
|
| 288 |
+
"deftype",
|
| 289 |
+
"delay",
|
| 290 |
+
"delay?",
|
| 291 |
+
"deliver",
|
| 292 |
+
"denominator",
|
| 293 |
+
"deref",
|
| 294 |
+
"derive",
|
| 295 |
+
"descendants",
|
| 296 |
+
"destructure",
|
| 297 |
+
"disj",
|
| 298 |
+
"disj!",
|
| 299 |
+
"dissoc",
|
| 300 |
+
"dissoc!",
|
| 301 |
+
"distinct",
|
| 302 |
+
"distinct?",
|
| 303 |
+
"doall",
|
| 304 |
+
"dorun",
|
| 305 |
+
"doseq",
|
| 306 |
+
"dosync",
|
| 307 |
+
"dotimes",
|
| 308 |
+
"doto",
|
| 309 |
+
"double",
|
| 310 |
+
"double-array",
|
| 311 |
+
"double?",
|
| 312 |
+
"doubles",
|
| 313 |
+
"drop",
|
| 314 |
+
"drop-last",
|
| 315 |
+
"drop-while",
|
| 316 |
+
"eduction",
|
| 317 |
+
"empty",
|
| 318 |
+
"empty?",
|
| 319 |
+
"ensure",
|
| 320 |
+
"ensure-reduced",
|
| 321 |
+
"enumeration-seq",
|
| 322 |
+
"error-handler",
|
| 323 |
+
"error-mode",
|
| 324 |
+
"eval",
|
| 325 |
+
"even?",
|
| 326 |
+
"every-pred",
|
| 327 |
+
"every?",
|
| 328 |
+
"ex-data",
|
| 329 |
+
"ex-info",
|
| 330 |
+
"extend",
|
| 331 |
+
"extend-protocol",
|
| 332 |
+
"extend-type",
|
| 333 |
+
"extenders",
|
| 334 |
+
"extends?",
|
| 335 |
+
"false?",
|
| 336 |
+
"ffirst",
|
| 337 |
+
"file-seq",
|
| 338 |
+
"filter",
|
| 339 |
+
"filterv",
|
| 340 |
+
"find",
|
| 341 |
+
"find-keyword",
|
| 342 |
+
"find-ns",
|
| 343 |
+
"find-protocol-impl",
|
| 344 |
+
"find-protocol-method",
|
| 345 |
+
"find-var",
|
| 346 |
+
"first",
|
| 347 |
+
"flatten",
|
| 348 |
+
"float",
|
| 349 |
+
"float-array",
|
| 350 |
+
"float?",
|
| 351 |
+
"floats",
|
| 352 |
+
"flush",
|
| 353 |
+
"fn",
|
| 354 |
+
"fn?",
|
| 355 |
+
"fnext",
|
| 356 |
+
"fnil",
|
| 357 |
+
"for",
|
| 358 |
+
"force",
|
| 359 |
+
"format",
|
| 360 |
+
"frequencies",
|
| 361 |
+
"future",
|
| 362 |
+
"future-call",
|
| 363 |
+
"future-cancel",
|
| 364 |
+
"future-cancelled?",
|
| 365 |
+
"future-done?",
|
| 366 |
+
"future?",
|
| 367 |
+
"gen-class",
|
| 368 |
+
"gen-interface",
|
| 369 |
+
"gensym",
|
| 370 |
+
"get",
|
| 371 |
+
"get-in",
|
| 372 |
+
"get-method",
|
| 373 |
+
"get-proxy-class",
|
| 374 |
+
"get-thread-bindings",
|
| 375 |
+
"get-validator",
|
| 376 |
+
"group-by",
|
| 377 |
+
"halt-when",
|
| 378 |
+
"hash",
|
| 379 |
+
"hash-combine",
|
| 380 |
+
"hash-map",
|
| 381 |
+
"hash-ordered-coll",
|
| 382 |
+
"hash-set",
|
| 383 |
+
"hash-unordered-coll",
|
| 384 |
+
"ident?",
|
| 385 |
+
"identical?",
|
| 386 |
+
"identity",
|
| 387 |
+
"if-let",
|
| 388 |
+
"if-not",
|
| 389 |
+
"if-some",
|
| 390 |
+
"ifn?",
|
| 391 |
+
"import",
|
| 392 |
+
"in-ns",
|
| 393 |
+
"inc",
|
| 394 |
+
"inc'",
|
| 395 |
+
"indexed?",
|
| 396 |
+
"init-proxy",
|
| 397 |
+
"inst-ms",
|
| 398 |
+
"inst-ms*",
|
| 399 |
+
"inst?",
|
| 400 |
+
"instance?",
|
| 401 |
+
"int",
|
| 402 |
+
"int-array",
|
| 403 |
+
"int?",
|
| 404 |
+
"integer?",
|
| 405 |
+
"interleave",
|
| 406 |
+
"intern",
|
| 407 |
+
"interpose",
|
| 408 |
+
"into",
|
| 409 |
+
"into-array",
|
| 410 |
+
"ints",
|
| 411 |
+
"io!",
|
| 412 |
+
"isa?",
|
| 413 |
+
"iterate",
|
| 414 |
+
"iterator-seq",
|
| 415 |
+
"juxt",
|
| 416 |
+
"keep",
|
| 417 |
+
"keep-indexed",
|
| 418 |
+
"key",
|
| 419 |
+
"keys",
|
| 420 |
+
"keyword",
|
| 421 |
+
"keyword?",
|
| 422 |
+
"last",
|
| 423 |
+
"lazy-cat",
|
| 424 |
+
"lazy-seq",
|
| 425 |
+
"let",
|
| 426 |
+
"letfn",
|
| 427 |
+
"line-seq",
|
| 428 |
+
"list",
|
| 429 |
+
"list*",
|
| 430 |
+
"list?",
|
| 431 |
+
"load",
|
| 432 |
+
"load-file",
|
| 433 |
+
"load-reader",
|
| 434 |
+
"load-string",
|
| 435 |
+
"loaded-libs",
|
| 436 |
+
"locking",
|
| 437 |
+
"long",
|
| 438 |
+
"long-array",
|
| 439 |
+
"longs",
|
| 440 |
+
"loop",
|
| 441 |
+
"macroexpand",
|
| 442 |
+
"macroexpand-1",
|
| 443 |
+
"make-array",
|
| 444 |
+
"make-hierarchy",
|
| 445 |
+
"map",
|
| 446 |
+
"map-entry?",
|
| 447 |
+
"map-indexed",
|
| 448 |
+
"map?",
|
| 449 |
+
"mapcat",
|
| 450 |
+
"mapv",
|
| 451 |
+
"max",
|
| 452 |
+
"max-key",
|
| 453 |
+
"memfn",
|
| 454 |
+
"memoize",
|
| 455 |
+
"merge",
|
| 456 |
+
"merge-with",
|
| 457 |
+
"meta",
|
| 458 |
+
"method-sig",
|
| 459 |
+
"methods",
|
| 460 |
+
"min",
|
| 461 |
+
"min-key",
|
| 462 |
+
"mix-collection-hash",
|
| 463 |
+
"mod",
|
| 464 |
+
"munge",
|
| 465 |
+
"name",
|
| 466 |
+
"namespace",
|
| 467 |
+
"namespace-munge",
|
| 468 |
+
"nat-int?",
|
| 469 |
+
"neg-int?",
|
| 470 |
+
"neg?",
|
| 471 |
+
"newline",
|
| 472 |
+
"next",
|
| 473 |
+
"nfirst",
|
| 474 |
+
"nil?",
|
| 475 |
+
"nnext",
|
| 476 |
+
"not",
|
| 477 |
+
"not-any?",
|
| 478 |
+
"not-empty",
|
| 479 |
+
"not-every?",
|
| 480 |
+
"not=",
|
| 481 |
+
"ns",
|
| 482 |
+
"ns-aliases",
|
| 483 |
+
"ns-imports",
|
| 484 |
+
"ns-interns",
|
| 485 |
+
"ns-map",
|
| 486 |
+
"ns-name",
|
| 487 |
+
"ns-publics",
|
| 488 |
+
"ns-refers",
|
| 489 |
+
"ns-resolve",
|
| 490 |
+
"ns-unalias",
|
| 491 |
+
"ns-unmap",
|
| 492 |
+
"nth",
|
| 493 |
+
"nthnext",
|
| 494 |
+
"nthrest",
|
| 495 |
+
"num",
|
| 496 |
+
"number?",
|
| 497 |
+
"numerator",
|
| 498 |
+
"object-array",
|
| 499 |
+
"odd?",
|
| 500 |
+
"or",
|
| 501 |
+
"parents",
|
| 502 |
+
"partial",
|
| 503 |
+
"partition",
|
| 504 |
+
"partition-all",
|
| 505 |
+
"partition-by",
|
| 506 |
+
"pcalls",
|
| 507 |
+
"peek",
|
| 508 |
+
"persistent!",
|
| 509 |
+
"pmap",
|
| 510 |
+
"pop",
|
| 511 |
+
"pop!",
|
| 512 |
+
"pop-thread-bindings",
|
| 513 |
+
"pos-int?",
|
| 514 |
+
"pos?",
|
| 515 |
+
"pr",
|
| 516 |
+
"pr-str",
|
| 517 |
+
"prefer-method",
|
| 518 |
+
"prefers",
|
| 519 |
+
"primitives-classnames",
|
| 520 |
+
"print",
|
| 521 |
+
"print-ctor",
|
| 522 |
+
"print-dup",
|
| 523 |
+
"print-method",
|
| 524 |
+
"print-simple",
|
| 525 |
+
"print-str",
|
| 526 |
+
"printf",
|
| 527 |
+
"println",
|
| 528 |
+
"println-str",
|
| 529 |
+
"prn",
|
| 530 |
+
"prn-str",
|
| 531 |
+
"promise",
|
| 532 |
+
"proxy",
|
| 533 |
+
"proxy-call-with-super",
|
| 534 |
+
"proxy-mappings",
|
| 535 |
+
"proxy-name",
|
| 536 |
+
"proxy-super",
|
| 537 |
+
"push-thread-bindings",
|
| 538 |
+
"pvalues",
|
| 539 |
+
"qualified-ident?",
|
| 540 |
+
"qualified-keyword?",
|
| 541 |
+
"qualified-symbol?",
|
| 542 |
+
"quot",
|
| 543 |
+
"rand",
|
| 544 |
+
"rand-int",
|
| 545 |
+
"rand-nth",
|
| 546 |
+
"random-sample",
|
| 547 |
+
"range",
|
| 548 |
+
"ratio?",
|
| 549 |
+
"rational?",
|
| 550 |
+
"rationalize",
|
| 551 |
+
"re-find",
|
| 552 |
+
"re-groups",
|
| 553 |
+
"re-matcher",
|
| 554 |
+
"re-matches",
|
| 555 |
+
"re-pattern",
|
| 556 |
+
"re-seq",
|
| 557 |
+
"read",
|
| 558 |
+
"read-line",
|
| 559 |
+
"read-string",
|
| 560 |
+
"reader-conditional",
|
| 561 |
+
"reader-conditional?",
|
| 562 |
+
"realized?",
|
| 563 |
+
"record?",
|
| 564 |
+
"reduce",
|
| 565 |
+
"reduce-kv",
|
| 566 |
+
"reduced",
|
| 567 |
+
"reduced?",
|
| 568 |
+
"reductions",
|
| 569 |
+
"ref",
|
| 570 |
+
"ref-history-count",
|
| 571 |
+
"ref-max-history",
|
| 572 |
+
"ref-min-history",
|
| 573 |
+
"ref-set",
|
| 574 |
+
"refer",
|
| 575 |
+
"refer-clojure",
|
| 576 |
+
"reify",
|
| 577 |
+
"release-pending-sends",
|
| 578 |
+
"rem",
|
| 579 |
+
"remove",
|
| 580 |
+
"remove-all-methods",
|
| 581 |
+
"remove-method",
|
| 582 |
+
"remove-ns",
|
| 583 |
+
"remove-watch",
|
| 584 |
+
"repeat",
|
| 585 |
+
"repeatedly",
|
| 586 |
+
"replace",
|
| 587 |
+
"replicate",
|
| 588 |
+
"require",
|
| 589 |
+
"reset!",
|
| 590 |
+
"reset-meta!",
|
| 591 |
+
"reset-vals!",
|
| 592 |
+
"resolve",
|
| 593 |
+
"rest",
|
| 594 |
+
"restart-agent",
|
| 595 |
+
"resultset-seq",
|
| 596 |
+
"reverse",
|
| 597 |
+
"reversible?",
|
| 598 |
+
"rseq",
|
| 599 |
+
"rsubseq",
|
| 600 |
+
"run!",
|
| 601 |
+
"satisfies?",
|
| 602 |
+
"second",
|
| 603 |
+
"select-keys",
|
| 604 |
+
"send",
|
| 605 |
+
"send-off",
|
| 606 |
+
"send-via",
|
| 607 |
+
"seq",
|
| 608 |
+
"seq?",
|
| 609 |
+
"seqable?",
|
| 610 |
+
"seque",
|
| 611 |
+
"sequence",
|
| 612 |
+
"sequential?",
|
| 613 |
+
"set",
|
| 614 |
+
"set-agent-send-executor!",
|
| 615 |
+
"set-agent-send-off-executor!",
|
| 616 |
+
"set-error-handler!",
|
| 617 |
+
"set-error-mode!",
|
| 618 |
+
"set-validator!",
|
| 619 |
+
"set?",
|
| 620 |
+
"short",
|
| 621 |
+
"short-array",
|
| 622 |
+
"shorts",
|
| 623 |
+
"shuffle",
|
| 624 |
+
"shutdown-agents",
|
| 625 |
+
"simple-ident?",
|
| 626 |
+
"simple-keyword?",
|
| 627 |
+
"simple-symbol?",
|
| 628 |
+
"slurp",
|
| 629 |
+
"some",
|
| 630 |
+
"some->",
|
| 631 |
+
"some->>",
|
| 632 |
+
"some-fn",
|
| 633 |
+
"some?",
|
| 634 |
+
"sort",
|
| 635 |
+
"sort-by",
|
| 636 |
+
"sorted-map",
|
| 637 |
+
"sorted-map-by",
|
| 638 |
+
"sorted-set",
|
| 639 |
+
"sorted-set-by",
|
| 640 |
+
"sorted?",
|
| 641 |
+
"special-symbol?",
|
| 642 |
+
"spit",
|
| 643 |
+
"split-at",
|
| 644 |
+
"split-with",
|
| 645 |
+
"str",
|
| 646 |
+
"string?",
|
| 647 |
+
"struct",
|
| 648 |
+
"struct-map",
|
| 649 |
+
"subs",
|
| 650 |
+
"subseq",
|
| 651 |
+
"subvec",
|
| 652 |
+
"supers",
|
| 653 |
+
"swap!",
|
| 654 |
+
"swap-vals!",
|
| 655 |
+
"symbol",
|
| 656 |
+
"symbol?",
|
| 657 |
+
"sync",
|
| 658 |
+
"tagged-literal",
|
| 659 |
+
"tagged-literal?",
|
| 660 |
+
"take",
|
| 661 |
+
"take-last",
|
| 662 |
+
"take-nth",
|
| 663 |
+
"take-while",
|
| 664 |
+
"test",
|
| 665 |
+
"the-ns",
|
| 666 |
+
"thread-bound?",
|
| 667 |
+
"time",
|
| 668 |
+
"to-array",
|
| 669 |
+
"to-array-2d",
|
| 670 |
+
"trampoline",
|
| 671 |
+
"transduce",
|
| 672 |
+
"transient",
|
| 673 |
+
"tree-seq",
|
| 674 |
+
"true?",
|
| 675 |
+
"type",
|
| 676 |
+
"unchecked-add",
|
| 677 |
+
"unchecked-add-int",
|
| 678 |
+
"unchecked-byte",
|
| 679 |
+
"unchecked-char",
|
| 680 |
+
"unchecked-dec",
|
| 681 |
+
"unchecked-dec-int",
|
| 682 |
+
"unchecked-divide-int",
|
| 683 |
+
"unchecked-double",
|
| 684 |
+
"unchecked-float",
|
| 685 |
+
"unchecked-inc",
|
| 686 |
+
"unchecked-inc-int",
|
| 687 |
+
"unchecked-int",
|
| 688 |
+
"unchecked-long",
|
| 689 |
+
"unchecked-multiply",
|
| 690 |
+
"unchecked-multiply-int",
|
| 691 |
+
"unchecked-negate",
|
| 692 |
+
"unchecked-negate-int",
|
| 693 |
+
"unchecked-remainder-int",
|
| 694 |
+
"unchecked-short",
|
| 695 |
+
"unchecked-subtract",
|
| 696 |
+
"unchecked-subtract-int",
|
| 697 |
+
"underive",
|
| 698 |
+
"unquote",
|
| 699 |
+
"unquote-splicing",
|
| 700 |
+
"unreduced",
|
| 701 |
+
"unsigned-bit-shift-right",
|
| 702 |
+
"update",
|
| 703 |
+
"update-in",
|
| 704 |
+
"update-proxy",
|
| 705 |
+
"uri?",
|
| 706 |
+
"use",
|
| 707 |
+
"uuid?",
|
| 708 |
+
"val",
|
| 709 |
+
"vals",
|
| 710 |
+
"var-get",
|
| 711 |
+
"var-set",
|
| 712 |
+
"var?",
|
| 713 |
+
"vary-meta",
|
| 714 |
+
"vec",
|
| 715 |
+
"vector",
|
| 716 |
+
"vector-of",
|
| 717 |
+
"vector?",
|
| 718 |
+
"volatile!",
|
| 719 |
+
"volatile?",
|
| 720 |
+
"vreset!",
|
| 721 |
+
"vswap!",
|
| 722 |
+
"when",
|
| 723 |
+
"when-first",
|
| 724 |
+
"when-let",
|
| 725 |
+
"when-not",
|
| 726 |
+
"when-some",
|
| 727 |
+
"while",
|
| 728 |
+
"with-bindings",
|
| 729 |
+
"with-bindings*",
|
| 730 |
+
"with-in-str",
|
| 731 |
+
"with-loading-context",
|
| 732 |
+
"with-local-vars",
|
| 733 |
+
"with-meta",
|
| 734 |
+
"with-open",
|
| 735 |
+
"with-out-str",
|
| 736 |
+
"with-precision",
|
| 737 |
+
"with-redefs",
|
| 738 |
+
"with-redefs-fn",
|
| 739 |
+
"xml-seq",
|
| 740 |
+
"zero?",
|
| 741 |
+
"zipmap"
|
| 742 |
+
],
|
| 743 |
+
tokenizer: {
|
| 744 |
+
root: [
|
| 745 |
+
// whitespaces and comments
|
| 746 |
+
{ include: "@whitespace" },
|
| 747 |
+
// numbers
|
| 748 |
+
[/@numbers/, "number"],
|
| 749 |
+
// characters
|
| 750 |
+
[/@characters/, "string"],
|
| 751 |
+
// strings
|
| 752 |
+
{ include: "@string" },
|
| 753 |
+
// brackets
|
| 754 |
+
[/[()\[\]{}]/, "@brackets"],
|
| 755 |
+
// regular expressions
|
| 756 |
+
[/\/#"(?:\.|(?:")|[^"\n])*"\/g/, "regexp"],
|
| 757 |
+
// reader macro characters
|
| 758 |
+
[/[#'@^`~]/, "meta"],
|
| 759 |
+
// symbols
|
| 760 |
+
[
|
| 761 |
+
/@qualifiedSymbols/,
|
| 762 |
+
{
|
| 763 |
+
cases: {
|
| 764 |
+
"^:.+$": "constant",
|
| 765 |
+
// Clojure keywords (e.g., `:foo/bar`)
|
| 766 |
+
"@specialForms": "keyword",
|
| 767 |
+
"@coreSymbols": "keyword",
|
| 768 |
+
"@constants": "constant",
|
| 769 |
+
"@default": "identifier"
|
| 770 |
+
}
|
| 771 |
+
}
|
| 772 |
+
]
|
| 773 |
+
],
|
| 774 |
+
whitespace: [
|
| 775 |
+
[/[\s,]+/, "white"],
|
| 776 |
+
[/;.*$/, "comment"],
|
| 777 |
+
[/\(comment\b/, "comment", "@comment"]
|
| 778 |
+
],
|
| 779 |
+
comment: [
|
| 780 |
+
[/\(/, "comment", "@push"],
|
| 781 |
+
[/\)/, "comment", "@pop"],
|
| 782 |
+
[/[^()]/, "comment"]
|
| 783 |
+
],
|
| 784 |
+
string: [[/"/, "string", "@multiLineString"]],
|
| 785 |
+
multiLineString: [
|
| 786 |
+
[/"/, "string", "@popall"],
|
| 787 |
+
[/@escapes/, "string.escape"],
|
| 788 |
+
[/./, "string"]
|
| 789 |
+
]
|
| 790 |
+
}
|
| 791 |
+
};
|
| 792 |
+
return __toCommonJS(clojure_exports);
|
| 793 |
+
})();
|
| 794 |
+
return moduleExports;
|
| 795 |
+
});
|
novas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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/coffee/coffee", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/coffee/coffee.ts
|
| 29 |
+
var coffee_exports = {};
|
| 30 |
+
__export(coffee_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
|
| 36 |
+
comments: {
|
| 37 |
+
blockComment: ["###", "###"],
|
| 38 |
+
lineComment: "#"
|
| 39 |
+
},
|
| 40 |
+
brackets: [
|
| 41 |
+
["{", "}"],
|
| 42 |
+
["[", "]"],
|
| 43 |
+
["(", ")"]
|
| 44 |
+
],
|
| 45 |
+
autoClosingPairs: [
|
| 46 |
+
{ open: "{", close: "}" },
|
| 47 |
+
{ open: "[", close: "]" },
|
| 48 |
+
{ open: "(", close: ")" },
|
| 49 |
+
{ open: '"', close: '"' },
|
| 50 |
+
{ open: "'", close: "'" }
|
| 51 |
+
],
|
| 52 |
+
surroundingPairs: [
|
| 53 |
+
{ open: "{", close: "}" },
|
| 54 |
+
{ open: "[", close: "]" },
|
| 55 |
+
{ open: "(", close: ")" },
|
| 56 |
+
{ open: '"', close: '"' },
|
| 57 |
+
{ open: "'", close: "'" }
|
| 58 |
+
],
|
| 59 |
+
folding: {
|
| 60 |
+
markers: {
|
| 61 |
+
start: new RegExp("^\\s*#region\\b"),
|
| 62 |
+
end: new RegExp("^\\s*#endregion\\b")
|
| 63 |
+
}
|
| 64 |
+
}
|
| 65 |
+
};
|
| 66 |
+
var language = {
|
| 67 |
+
defaultToken: "",
|
| 68 |
+
ignoreCase: true,
|
| 69 |
+
tokenPostfix: ".coffee",
|
| 70 |
+
brackets: [
|
| 71 |
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
| 72 |
+
{ open: "[", close: "]", token: "delimiter.square" },
|
| 73 |
+
{ open: "(", close: ")", token: "delimiter.parenthesis" }
|
| 74 |
+
],
|
| 75 |
+
regEx: /\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,
|
| 76 |
+
keywords: [
|
| 77 |
+
"and",
|
| 78 |
+
"or",
|
| 79 |
+
"is",
|
| 80 |
+
"isnt",
|
| 81 |
+
"not",
|
| 82 |
+
"on",
|
| 83 |
+
"yes",
|
| 84 |
+
"@",
|
| 85 |
+
"no",
|
| 86 |
+
"off",
|
| 87 |
+
"true",
|
| 88 |
+
"false",
|
| 89 |
+
"null",
|
| 90 |
+
"this",
|
| 91 |
+
"new",
|
| 92 |
+
"delete",
|
| 93 |
+
"typeof",
|
| 94 |
+
"in",
|
| 95 |
+
"instanceof",
|
| 96 |
+
"return",
|
| 97 |
+
"throw",
|
| 98 |
+
"break",
|
| 99 |
+
"continue",
|
| 100 |
+
"debugger",
|
| 101 |
+
"if",
|
| 102 |
+
"else",
|
| 103 |
+
"switch",
|
| 104 |
+
"for",
|
| 105 |
+
"while",
|
| 106 |
+
"do",
|
| 107 |
+
"try",
|
| 108 |
+
"catch",
|
| 109 |
+
"finally",
|
| 110 |
+
"class",
|
| 111 |
+
"extends",
|
| 112 |
+
"super",
|
| 113 |
+
"undefined",
|
| 114 |
+
"then",
|
| 115 |
+
"unless",
|
| 116 |
+
"until",
|
| 117 |
+
"loop",
|
| 118 |
+
"of",
|
| 119 |
+
"by",
|
| 120 |
+
"when"
|
| 121 |
+
],
|
| 122 |
+
// we include these common regular expressions
|
| 123 |
+
symbols: /[=><!~?&%|+\-*\/\^\.,\:]+/,
|
| 124 |
+
escapes: /\\(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
| 125 |
+
// The main tokenizer for our languages
|
| 126 |
+
tokenizer: {
|
| 127 |
+
root: [
|
| 128 |
+
// identifiers and keywords
|
| 129 |
+
[/\@[a-zA-Z_]\w*/, "variable.predefined"],
|
| 130 |
+
[
|
| 131 |
+
/[a-zA-Z_]\w*/,
|
| 132 |
+
{
|
| 133 |
+
cases: {
|
| 134 |
+
this: "variable.predefined",
|
| 135 |
+
"@keywords": { token: "keyword.$0" },
|
| 136 |
+
"@default": ""
|
| 137 |
+
}
|
| 138 |
+
}
|
| 139 |
+
],
|
| 140 |
+
// whitespace
|
| 141 |
+
[/[ \t\r\n]+/, ""],
|
| 142 |
+
// Comments
|
| 143 |
+
[/###/, "comment", "@comment"],
|
| 144 |
+
[/#.*$/, "comment"],
|
| 145 |
+
// regular expressions
|
| 146 |
+
["///", { token: "regexp", next: "@hereregexp" }],
|
| 147 |
+
[/^(\s*)(@regEx)/, ["", "regexp"]],
|
| 148 |
+
[/(\()(\s*)(@regEx)/, ["@brackets", "", "regexp"]],
|
| 149 |
+
[/(\,)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
| 150 |
+
[/(\=)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
| 151 |
+
[/(\:)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
| 152 |
+
[/(\[)(\s*)(@regEx)/, ["@brackets", "", "regexp"]],
|
| 153 |
+
[/(\!)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
| 154 |
+
[/(\&)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
| 155 |
+
[/(\|)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
| 156 |
+
[/(\?)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
| 157 |
+
[/(\{)(\s*)(@regEx)/, ["@brackets", "", "regexp"]],
|
| 158 |
+
[/(\;)(\s*)(@regEx)/, ["", "", "regexp"]],
|
| 159 |
+
// delimiters
|
| 160 |
+
[
|
| 161 |
+
/}/,
|
| 162 |
+
{
|
| 163 |
+
cases: {
|
| 164 |
+
"$S2==interpolatedstring": {
|
| 165 |
+
token: "string",
|
| 166 |
+
next: "@pop"
|
| 167 |
+
},
|
| 168 |
+
"@default": "@brackets"
|
| 169 |
+
}
|
| 170 |
+
}
|
| 171 |
+
],
|
| 172 |
+
[/[{}()\[\]]/, "@brackets"],
|
| 173 |
+
[/@symbols/, "delimiter"],
|
| 174 |
+
// numbers
|
| 175 |
+
[/\d+[eE]([\-+]?\d+)?/, "number.float"],
|
| 176 |
+
[/\d+\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
| 177 |
+
[/0[xX][0-9a-fA-F]+/, "number.hex"],
|
| 178 |
+
[/0[0-7]+(?!\d)/, "number.octal"],
|
| 179 |
+
[/\d+/, "number"],
|
| 180 |
+
// delimiter: after number because of .\d floats
|
| 181 |
+
[/[,.]/, "delimiter"],
|
| 182 |
+
// strings:
|
| 183 |
+
[/"""/, "string", '@herestring."""'],
|
| 184 |
+
[/'''/, "string", "@herestring.'''"],
|
| 185 |
+
[
|
| 186 |
+
/"/,
|
| 187 |
+
{
|
| 188 |
+
cases: {
|
| 189 |
+
"@eos": "string",
|
| 190 |
+
"@default": { token: "string", next: '@string."' }
|
| 191 |
+
}
|
| 192 |
+
}
|
| 193 |
+
],
|
| 194 |
+
[
|
| 195 |
+
/'/,
|
| 196 |
+
{
|
| 197 |
+
cases: {
|
| 198 |
+
"@eos": "string",
|
| 199 |
+
"@default": { token: "string", next: "@string.'" }
|
| 200 |
+
}
|
| 201 |
+
}
|
| 202 |
+
]
|
| 203 |
+
],
|
| 204 |
+
string: [
|
| 205 |
+
[/[^"'\#\\]+/, "string"],
|
| 206 |
+
[/@escapes/, "string.escape"],
|
| 207 |
+
[/\./, "string.escape.invalid"],
|
| 208 |
+
[/\./, "string.escape.invalid"],
|
| 209 |
+
[
|
| 210 |
+
/#{/,
|
| 211 |
+
{
|
| 212 |
+
cases: {
|
| 213 |
+
'$S2=="': {
|
| 214 |
+
token: "string",
|
| 215 |
+
next: "root.interpolatedstring"
|
| 216 |
+
},
|
| 217 |
+
"@default": "string"
|
| 218 |
+
}
|
| 219 |
+
}
|
| 220 |
+
],
|
| 221 |
+
[
|
| 222 |
+
/["']/,
|
| 223 |
+
{
|
| 224 |
+
cases: {
|
| 225 |
+
"$#==$S2": { token: "string", next: "@pop" },
|
| 226 |
+
"@default": "string"
|
| 227 |
+
}
|
| 228 |
+
}
|
| 229 |
+
],
|
| 230 |
+
[/#/, "string"]
|
| 231 |
+
],
|
| 232 |
+
herestring: [
|
| 233 |
+
[
|
| 234 |
+
/("""|''')/,
|
| 235 |
+
{
|
| 236 |
+
cases: {
|
| 237 |
+
"$1==$S2": { token: "string", next: "@pop" },
|
| 238 |
+
"@default": "string"
|
| 239 |
+
}
|
| 240 |
+
}
|
| 241 |
+
],
|
| 242 |
+
[/[^#\\'"]+/, "string"],
|
| 243 |
+
[/['"]+/, "string"],
|
| 244 |
+
[/@escapes/, "string.escape"],
|
| 245 |
+
[/\./, "string.escape.invalid"],
|
| 246 |
+
[/#{/, { token: "string.quote", next: "root.interpolatedstring" }],
|
| 247 |
+
[/#/, "string"]
|
| 248 |
+
],
|
| 249 |
+
comment: [
|
| 250 |
+
[/[^#]+/, "comment"],
|
| 251 |
+
[/###/, "comment", "@pop"],
|
| 252 |
+
[/#/, "comment"]
|
| 253 |
+
],
|
| 254 |
+
hereregexp: [
|
| 255 |
+
[/[^\\\/#]+/, "regexp"],
|
| 256 |
+
[/\\./, "regexp"],
|
| 257 |
+
[/#.*$/, "comment"],
|
| 258 |
+
["///[igm]*", { token: "regexp", next: "@pop" }],
|
| 259 |
+
[/\//, "regexp"]
|
| 260 |
+
]
|
| 261 |
+
}
|
| 262 |
+
};
|
| 263 |
+
return __toCommonJS(coffee_exports);
|
| 264 |
+
})();
|
| 265 |
+
return moduleExports;
|
| 266 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/cpp/cpp.js
ADDED
|
@@ -0,0 +1,423 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/cpp/cpp", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/cpp/cpp.ts
|
| 29 |
+
var cpp_exports = {};
|
| 30 |
+
__export(cpp_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
comments: {
|
| 36 |
+
lineComment: "//",
|
| 37 |
+
blockComment: ["/*", "*/"]
|
| 38 |
+
},
|
| 39 |
+
brackets: [
|
| 40 |
+
["{", "}"],
|
| 41 |
+
["[", "]"],
|
| 42 |
+
["(", ")"]
|
| 43 |
+
],
|
| 44 |
+
autoClosingPairs: [
|
| 45 |
+
{ open: "[", close: "]" },
|
| 46 |
+
{ open: "{", close: "}" },
|
| 47 |
+
{ open: "(", close: ")" },
|
| 48 |
+
{ open: "'", close: "'", notIn: ["string", "comment"] },
|
| 49 |
+
{ open: '"', close: '"', notIn: ["string"] }
|
| 50 |
+
],
|
| 51 |
+
surroundingPairs: [
|
| 52 |
+
{ open: "{", close: "}" },
|
| 53 |
+
{ open: "[", close: "]" },
|
| 54 |
+
{ open: "(", close: ")" },
|
| 55 |
+
{ open: '"', close: '"' },
|
| 56 |
+
{ open: "'", close: "'" }
|
| 57 |
+
],
|
| 58 |
+
folding: {
|
| 59 |
+
markers: {
|
| 60 |
+
start: new RegExp("^\\s*#pragma\\s+region\\b"),
|
| 61 |
+
end: new RegExp("^\\s*#pragma\\s+endregion\\b")
|
| 62 |
+
}
|
| 63 |
+
}
|
| 64 |
+
};
|
| 65 |
+
var language = {
|
| 66 |
+
defaultToken: "",
|
| 67 |
+
tokenPostfix: ".cpp",
|
| 68 |
+
brackets: [
|
| 69 |
+
{ token: "delimiter.curly", open: "{", close: "}" },
|
| 70 |
+
{ token: "delimiter.parenthesis", open: "(", close: ")" },
|
| 71 |
+
{ token: "delimiter.square", open: "[", close: "]" },
|
| 72 |
+
{ token: "delimiter.angle", open: "<", close: ">" }
|
| 73 |
+
],
|
| 74 |
+
keywords: [
|
| 75 |
+
"abstract",
|
| 76 |
+
"amp",
|
| 77 |
+
"array",
|
| 78 |
+
"auto",
|
| 79 |
+
"bool",
|
| 80 |
+
"break",
|
| 81 |
+
"case",
|
| 82 |
+
"catch",
|
| 83 |
+
"char",
|
| 84 |
+
"class",
|
| 85 |
+
"const",
|
| 86 |
+
"constexpr",
|
| 87 |
+
"const_cast",
|
| 88 |
+
"continue",
|
| 89 |
+
"cpu",
|
| 90 |
+
"decltype",
|
| 91 |
+
"default",
|
| 92 |
+
"delegate",
|
| 93 |
+
"delete",
|
| 94 |
+
"do",
|
| 95 |
+
"double",
|
| 96 |
+
"dynamic_cast",
|
| 97 |
+
"each",
|
| 98 |
+
"else",
|
| 99 |
+
"enum",
|
| 100 |
+
"event",
|
| 101 |
+
"explicit",
|
| 102 |
+
"export",
|
| 103 |
+
"extern",
|
| 104 |
+
"false",
|
| 105 |
+
"final",
|
| 106 |
+
"finally",
|
| 107 |
+
"float",
|
| 108 |
+
"for",
|
| 109 |
+
"friend",
|
| 110 |
+
"gcnew",
|
| 111 |
+
"generic",
|
| 112 |
+
"goto",
|
| 113 |
+
"if",
|
| 114 |
+
"in",
|
| 115 |
+
"initonly",
|
| 116 |
+
"inline",
|
| 117 |
+
"int",
|
| 118 |
+
"interface",
|
| 119 |
+
"interior_ptr",
|
| 120 |
+
"internal",
|
| 121 |
+
"literal",
|
| 122 |
+
"long",
|
| 123 |
+
"mutable",
|
| 124 |
+
"namespace",
|
| 125 |
+
"new",
|
| 126 |
+
"noexcept",
|
| 127 |
+
"nullptr",
|
| 128 |
+
"__nullptr",
|
| 129 |
+
"operator",
|
| 130 |
+
"override",
|
| 131 |
+
"partial",
|
| 132 |
+
"pascal",
|
| 133 |
+
"pin_ptr",
|
| 134 |
+
"private",
|
| 135 |
+
"property",
|
| 136 |
+
"protected",
|
| 137 |
+
"public",
|
| 138 |
+
"ref",
|
| 139 |
+
"register",
|
| 140 |
+
"reinterpret_cast",
|
| 141 |
+
"restrict",
|
| 142 |
+
"return",
|
| 143 |
+
"safe_cast",
|
| 144 |
+
"sealed",
|
| 145 |
+
"short",
|
| 146 |
+
"signed",
|
| 147 |
+
"sizeof",
|
| 148 |
+
"static",
|
| 149 |
+
"static_assert",
|
| 150 |
+
"static_cast",
|
| 151 |
+
"struct",
|
| 152 |
+
"switch",
|
| 153 |
+
"template",
|
| 154 |
+
"this",
|
| 155 |
+
"thread_local",
|
| 156 |
+
"throw",
|
| 157 |
+
"tile_static",
|
| 158 |
+
"true",
|
| 159 |
+
"try",
|
| 160 |
+
"typedef",
|
| 161 |
+
"typeid",
|
| 162 |
+
"typename",
|
| 163 |
+
"union",
|
| 164 |
+
"unsigned",
|
| 165 |
+
"using",
|
| 166 |
+
"virtual",
|
| 167 |
+
"void",
|
| 168 |
+
"volatile",
|
| 169 |
+
"wchar_t",
|
| 170 |
+
"where",
|
| 171 |
+
"while",
|
| 172 |
+
"_asm",
|
| 173 |
+
// reserved word with one underscores
|
| 174 |
+
"_based",
|
| 175 |
+
"_cdecl",
|
| 176 |
+
"_declspec",
|
| 177 |
+
"_fastcall",
|
| 178 |
+
"_if_exists",
|
| 179 |
+
"_if_not_exists",
|
| 180 |
+
"_inline",
|
| 181 |
+
"_multiple_inheritance",
|
| 182 |
+
"_pascal",
|
| 183 |
+
"_single_inheritance",
|
| 184 |
+
"_stdcall",
|
| 185 |
+
"_virtual_inheritance",
|
| 186 |
+
"_w64",
|
| 187 |
+
"__abstract",
|
| 188 |
+
// reserved word with two underscores
|
| 189 |
+
"__alignof",
|
| 190 |
+
"__asm",
|
| 191 |
+
"__assume",
|
| 192 |
+
"__based",
|
| 193 |
+
"__box",
|
| 194 |
+
"__builtin_alignof",
|
| 195 |
+
"__cdecl",
|
| 196 |
+
"__clrcall",
|
| 197 |
+
"__declspec",
|
| 198 |
+
"__delegate",
|
| 199 |
+
"__event",
|
| 200 |
+
"__except",
|
| 201 |
+
"__fastcall",
|
| 202 |
+
"__finally",
|
| 203 |
+
"__forceinline",
|
| 204 |
+
"__gc",
|
| 205 |
+
"__hook",
|
| 206 |
+
"__identifier",
|
| 207 |
+
"__if_exists",
|
| 208 |
+
"__if_not_exists",
|
| 209 |
+
"__inline",
|
| 210 |
+
"__int128",
|
| 211 |
+
"__int16",
|
| 212 |
+
"__int32",
|
| 213 |
+
"__int64",
|
| 214 |
+
"__int8",
|
| 215 |
+
"__interface",
|
| 216 |
+
"__leave",
|
| 217 |
+
"__m128",
|
| 218 |
+
"__m128d",
|
| 219 |
+
"__m128i",
|
| 220 |
+
"__m256",
|
| 221 |
+
"__m256d",
|
| 222 |
+
"__m256i",
|
| 223 |
+
"__m512",
|
| 224 |
+
"__m512d",
|
| 225 |
+
"__m512i",
|
| 226 |
+
"__m64",
|
| 227 |
+
"__multiple_inheritance",
|
| 228 |
+
"__newslot",
|
| 229 |
+
"__nogc",
|
| 230 |
+
"__noop",
|
| 231 |
+
"__nounwind",
|
| 232 |
+
"__novtordisp",
|
| 233 |
+
"__pascal",
|
| 234 |
+
"__pin",
|
| 235 |
+
"__pragma",
|
| 236 |
+
"__property",
|
| 237 |
+
"__ptr32",
|
| 238 |
+
"__ptr64",
|
| 239 |
+
"__raise",
|
| 240 |
+
"__restrict",
|
| 241 |
+
"__resume",
|
| 242 |
+
"__sealed",
|
| 243 |
+
"__single_inheritance",
|
| 244 |
+
"__stdcall",
|
| 245 |
+
"__super",
|
| 246 |
+
"__thiscall",
|
| 247 |
+
"__try",
|
| 248 |
+
"__try_cast",
|
| 249 |
+
"__typeof",
|
| 250 |
+
"__unaligned",
|
| 251 |
+
"__unhook",
|
| 252 |
+
"__uuidof",
|
| 253 |
+
"__value",
|
| 254 |
+
"__virtual_inheritance",
|
| 255 |
+
"__w64",
|
| 256 |
+
"__wchar_t"
|
| 257 |
+
],
|
| 258 |
+
operators: [
|
| 259 |
+
"=",
|
| 260 |
+
">",
|
| 261 |
+
"<",
|
| 262 |
+
"!",
|
| 263 |
+
"~",
|
| 264 |
+
"?",
|
| 265 |
+
":",
|
| 266 |
+
"==",
|
| 267 |
+
"<=",
|
| 268 |
+
">=",
|
| 269 |
+
"!=",
|
| 270 |
+
"&&",
|
| 271 |
+
"||",
|
| 272 |
+
"++",
|
| 273 |
+
"--",
|
| 274 |
+
"+",
|
| 275 |
+
"-",
|
| 276 |
+
"*",
|
| 277 |
+
"/",
|
| 278 |
+
"&",
|
| 279 |
+
"|",
|
| 280 |
+
"^",
|
| 281 |
+
"%",
|
| 282 |
+
"<<",
|
| 283 |
+
">>",
|
| 284 |
+
"+=",
|
| 285 |
+
"-=",
|
| 286 |
+
"*=",
|
| 287 |
+
"/=",
|
| 288 |
+
"&=",
|
| 289 |
+
"|=",
|
| 290 |
+
"^=",
|
| 291 |
+
"%=",
|
| 292 |
+
"<<=",
|
| 293 |
+
">>="
|
| 294 |
+
],
|
| 295 |
+
// we include these common regular expressions
|
| 296 |
+
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
| 297 |
+
escapes: /\\(?:[0abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
| 298 |
+
integersuffix: /([uU](ll|LL|l|L)|(ll|LL|l|L)?[uU]?)/,
|
| 299 |
+
floatsuffix: /[fFlL]?/,
|
| 300 |
+
encoding: /u|u8|U|L/,
|
| 301 |
+
// The main tokenizer for our languages
|
| 302 |
+
tokenizer: {
|
| 303 |
+
root: [
|
| 304 |
+
// C++ 11 Raw String
|
| 305 |
+
[/@encoding?R\"(?:([^ ()\\\t]*))\(/, { token: "string.raw.begin", next: "@raw.$1" }],
|
| 306 |
+
// identifiers and keywords
|
| 307 |
+
[
|
| 308 |
+
/[a-zA-Z_]\w*/,
|
| 309 |
+
{
|
| 310 |
+
cases: {
|
| 311 |
+
"@keywords": { token: "keyword.$0" },
|
| 312 |
+
"@default": "identifier"
|
| 313 |
+
}
|
| 314 |
+
}
|
| 315 |
+
],
|
| 316 |
+
// The preprocessor checks must be before whitespace as they check /^\s*#/ which
|
| 317 |
+
// otherwise fails to match later after other whitespace has been removed.
|
| 318 |
+
// Inclusion
|
| 319 |
+
[/^\s*#\s*include/, { token: "keyword.directive.include", next: "@include" }],
|
| 320 |
+
// Preprocessor directive
|
| 321 |
+
[/^\s*#\s*\w+/, "keyword.directive"],
|
| 322 |
+
// whitespace
|
| 323 |
+
{ include: "@whitespace" },
|
| 324 |
+
// [[ attributes ]].
|
| 325 |
+
[/\[\s*\[/, { token: "annotation", next: "@annotation" }],
|
| 326 |
+
// delimiters and operators
|
| 327 |
+
[/[{}()<>\[\]]/, "@brackets"],
|
| 328 |
+
[
|
| 329 |
+
/@symbols/,
|
| 330 |
+
{
|
| 331 |
+
cases: {
|
| 332 |
+
"@operators": "delimiter",
|
| 333 |
+
"@default": ""
|
| 334 |
+
}
|
| 335 |
+
}
|
| 336 |
+
],
|
| 337 |
+
// numbers
|
| 338 |
+
[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/, "number.float"],
|
| 339 |
+
[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/, "number.float"],
|
| 340 |
+
[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/, "number.hex"],
|
| 341 |
+
[/0[0-7']*[0-7](@integersuffix)/, "number.octal"],
|
| 342 |
+
[/0[bB][0-1']*[0-1](@integersuffix)/, "number.binary"],
|
| 343 |
+
[/\d[\d']*\d(@integersuffix)/, "number"],
|
| 344 |
+
[/\d(@integersuffix)/, "number"],
|
| 345 |
+
// delimiter: after number because of .\d floats
|
| 346 |
+
[/[;,.]/, "delimiter"],
|
| 347 |
+
// strings
|
| 348 |
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
| 349 |
+
// non-teminated string
|
| 350 |
+
[/"/, "string", "@string"],
|
| 351 |
+
// characters
|
| 352 |
+
[/'[^\\']'/, "string"],
|
| 353 |
+
[/(')(@escapes)(')/, ["string", "string.escape", "string"]],
|
| 354 |
+
[/'/, "string.invalid"]
|
| 355 |
+
],
|
| 356 |
+
whitespace: [
|
| 357 |
+
[/[ \t\r\n]+/, ""],
|
| 358 |
+
[/\/\*\*(?!\/)/, "comment.doc", "@doccomment"],
|
| 359 |
+
[/\/\*/, "comment", "@comment"],
|
| 360 |
+
[/\/\/.*\\$/, "comment", "@linecomment"],
|
| 361 |
+
[/\/\/.*$/, "comment"]
|
| 362 |
+
],
|
| 363 |
+
comment: [
|
| 364 |
+
[/[^\/*]+/, "comment"],
|
| 365 |
+
[/\*\//, "comment", "@pop"],
|
| 366 |
+
[/[\/*]/, "comment"]
|
| 367 |
+
],
|
| 368 |
+
//For use with continuous line comments
|
| 369 |
+
linecomment: [
|
| 370 |
+
[/.*[^\\]$/, "comment", "@pop"],
|
| 371 |
+
[/[^]+/, "comment"]
|
| 372 |
+
],
|
| 373 |
+
//Identical copy of comment above, except for the addition of .doc
|
| 374 |
+
doccomment: [
|
| 375 |
+
[/[^\/*]+/, "comment.doc"],
|
| 376 |
+
[/\*\//, "comment.doc", "@pop"],
|
| 377 |
+
[/[\/*]/, "comment.doc"]
|
| 378 |
+
],
|
| 379 |
+
string: [
|
| 380 |
+
[/[^\\"]+/, "string"],
|
| 381 |
+
[/@escapes/, "string.escape"],
|
| 382 |
+
[/\\./, "string.escape.invalid"],
|
| 383 |
+
[/"/, "string", "@pop"]
|
| 384 |
+
],
|
| 385 |
+
raw: [
|
| 386 |
+
[/[^)]+/, "string.raw"],
|
| 387 |
+
[/\)$S2\"/, { token: "string.raw.end", next: "@pop" }],
|
| 388 |
+
[/\)/, "string.raw"]
|
| 389 |
+
],
|
| 390 |
+
annotation: [
|
| 391 |
+
{ include: "@whitespace" },
|
| 392 |
+
[/using|alignas/, "keyword"],
|
| 393 |
+
[/[a-zA-Z0-9_]+/, "annotation"],
|
| 394 |
+
[/[,:]/, "delimiter"],
|
| 395 |
+
[/[()]/, "@brackets"],
|
| 396 |
+
[/\]\s*\]/, { token: "annotation", next: "@pop" }]
|
| 397 |
+
],
|
| 398 |
+
include: [
|
| 399 |
+
[
|
| 400 |
+
/(\s*)(<)([^<>]*)(>)/,
|
| 401 |
+
[
|
| 402 |
+
"",
|
| 403 |
+
"keyword.directive.include.begin",
|
| 404 |
+
"string.include.identifier",
|
| 405 |
+
{ token: "keyword.directive.include.end", next: "@pop" }
|
| 406 |
+
]
|
| 407 |
+
],
|
| 408 |
+
[
|
| 409 |
+
/(\s*)(")([^"]*)(")/,
|
| 410 |
+
[
|
| 411 |
+
"",
|
| 412 |
+
"keyword.directive.include.begin",
|
| 413 |
+
"string.include.identifier",
|
| 414 |
+
{ token: "keyword.directive.include.end", next: "@pop" }
|
| 415 |
+
]
|
| 416 |
+
]
|
| 417 |
+
]
|
| 418 |
+
}
|
| 419 |
+
};
|
| 420 |
+
return __toCommonJS(cpp_exports);
|
| 421 |
+
})();
|
| 422 |
+
return moduleExports;
|
| 423 |
+
});
|
novas/novacore-zephyr/claude-code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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/csharp/csharp", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/csharp/csharp.ts
|
| 29 |
+
var csharp_exports = {};
|
| 30 |
+
__export(csharp_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\#\$\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
|
| 36 |
+
comments: {
|
| 37 |
+
lineComment: "//",
|
| 38 |
+
blockComment: ["/*", "*/"]
|
| 39 |
+
},
|
| 40 |
+
brackets: [
|
| 41 |
+
["{", "}"],
|
| 42 |
+
["[", "]"],
|
| 43 |
+
["(", ")"]
|
| 44 |
+
],
|
| 45 |
+
autoClosingPairs: [
|
| 46 |
+
{ open: "{", close: "}" },
|
| 47 |
+
{ open: "[", close: "]" },
|
| 48 |
+
{ open: "(", close: ")" },
|
| 49 |
+
{ open: "'", close: "'", notIn: ["string", "comment"] },
|
| 50 |
+
{ open: '"', close: '"', notIn: ["string", "comment"] }
|
| 51 |
+
],
|
| 52 |
+
surroundingPairs: [
|
| 53 |
+
{ open: "{", close: "}" },
|
| 54 |
+
{ open: "[", close: "]" },
|
| 55 |
+
{ open: "(", close: ")" },
|
| 56 |
+
{ open: "<", close: ">" },
|
| 57 |
+
{ open: "'", close: "'" },
|
| 58 |
+
{ open: '"', close: '"' }
|
| 59 |
+
],
|
| 60 |
+
folding: {
|
| 61 |
+
markers: {
|
| 62 |
+
start: new RegExp("^\\s*#region\\b"),
|
| 63 |
+
end: new RegExp("^\\s*#endregion\\b")
|
| 64 |
+
}
|
| 65 |
+
}
|
| 66 |
+
};
|
| 67 |
+
var language = {
|
| 68 |
+
defaultToken: "",
|
| 69 |
+
tokenPostfix: ".cs",
|
| 70 |
+
brackets: [
|
| 71 |
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
| 72 |
+
{ open: "[", close: "]", token: "delimiter.square" },
|
| 73 |
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
| 74 |
+
{ open: "<", close: ">", token: "delimiter.angle" }
|
| 75 |
+
],
|
| 76 |
+
keywords: [
|
| 77 |
+
"extern",
|
| 78 |
+
"alias",
|
| 79 |
+
"using",
|
| 80 |
+
"bool",
|
| 81 |
+
"decimal",
|
| 82 |
+
"sbyte",
|
| 83 |
+
"byte",
|
| 84 |
+
"short",
|
| 85 |
+
"ushort",
|
| 86 |
+
"int",
|
| 87 |
+
"uint",
|
| 88 |
+
"long",
|
| 89 |
+
"ulong",
|
| 90 |
+
"char",
|
| 91 |
+
"float",
|
| 92 |
+
"double",
|
| 93 |
+
"object",
|
| 94 |
+
"dynamic",
|
| 95 |
+
"string",
|
| 96 |
+
"assembly",
|
| 97 |
+
"is",
|
| 98 |
+
"as",
|
| 99 |
+
"ref",
|
| 100 |
+
"out",
|
| 101 |
+
"this",
|
| 102 |
+
"base",
|
| 103 |
+
"new",
|
| 104 |
+
"typeof",
|
| 105 |
+
"void",
|
| 106 |
+
"checked",
|
| 107 |
+
"unchecked",
|
| 108 |
+
"default",
|
| 109 |
+
"delegate",
|
| 110 |
+
"var",
|
| 111 |
+
"const",
|
| 112 |
+
"if",
|
| 113 |
+
"else",
|
| 114 |
+
"switch",
|
| 115 |
+
"case",
|
| 116 |
+
"while",
|
| 117 |
+
"do",
|
| 118 |
+
"for",
|
| 119 |
+
"foreach",
|
| 120 |
+
"in",
|
| 121 |
+
"break",
|
| 122 |
+
"continue",
|
| 123 |
+
"goto",
|
| 124 |
+
"return",
|
| 125 |
+
"throw",
|
| 126 |
+
"try",
|
| 127 |
+
"catch",
|
| 128 |
+
"finally",
|
| 129 |
+
"lock",
|
| 130 |
+
"yield",
|
| 131 |
+
"from",
|
| 132 |
+
"let",
|
| 133 |
+
"where",
|
| 134 |
+
"join",
|
| 135 |
+
"on",
|
| 136 |
+
"equals",
|
| 137 |
+
"into",
|
| 138 |
+
"orderby",
|
| 139 |
+
"ascending",
|
| 140 |
+
"descending",
|
| 141 |
+
"select",
|
| 142 |
+
"group",
|
| 143 |
+
"by",
|
| 144 |
+
"namespace",
|
| 145 |
+
"partial",
|
| 146 |
+
"class",
|
| 147 |
+
"field",
|
| 148 |
+
"event",
|
| 149 |
+
"method",
|
| 150 |
+
"param",
|
| 151 |
+
"public",
|
| 152 |
+
"protected",
|
| 153 |
+
"internal",
|
| 154 |
+
"private",
|
| 155 |
+
"abstract",
|
| 156 |
+
"sealed",
|
| 157 |
+
"static",
|
| 158 |
+
"struct",
|
| 159 |
+
"readonly",
|
| 160 |
+
"volatile",
|
| 161 |
+
"virtual",
|
| 162 |
+
"override",
|
| 163 |
+
"params",
|
| 164 |
+
"get",
|
| 165 |
+
"set",
|
| 166 |
+
"add",
|
| 167 |
+
"remove",
|
| 168 |
+
"operator",
|
| 169 |
+
"true",
|
| 170 |
+
"false",
|
| 171 |
+
"implicit",
|
| 172 |
+
"explicit",
|
| 173 |
+
"interface",
|
| 174 |
+
"enum",
|
| 175 |
+
"null",
|
| 176 |
+
"async",
|
| 177 |
+
"await",
|
| 178 |
+
"fixed",
|
| 179 |
+
"sizeof",
|
| 180 |
+
"stackalloc",
|
| 181 |
+
"unsafe",
|
| 182 |
+
"nameof",
|
| 183 |
+
"when"
|
| 184 |
+
],
|
| 185 |
+
namespaceFollows: ["namespace", "using"],
|
| 186 |
+
parenFollows: ["if", "for", "while", "switch", "foreach", "using", "catch", "when"],
|
| 187 |
+
operators: [
|
| 188 |
+
"=",
|
| 189 |
+
"??",
|
| 190 |
+
"||",
|
| 191 |
+
"&&",
|
| 192 |
+
"|",
|
| 193 |
+
"^",
|
| 194 |
+
"&",
|
| 195 |
+
"==",
|
| 196 |
+
"!=",
|
| 197 |
+
"<=",
|
| 198 |
+
">=",
|
| 199 |
+
"<<",
|
| 200 |
+
"+",
|
| 201 |
+
"-",
|
| 202 |
+
"*",
|
| 203 |
+
"/",
|
| 204 |
+
"%",
|
| 205 |
+
"!",
|
| 206 |
+
"~",
|
| 207 |
+
"++",
|
| 208 |
+
"--",
|
| 209 |
+
"+=",
|
| 210 |
+
"-=",
|
| 211 |
+
"*=",
|
| 212 |
+
"/=",
|
| 213 |
+
"%=",
|
| 214 |
+
"&=",
|
| 215 |
+
"|=",
|
| 216 |
+
"^=",
|
| 217 |
+
"<<=",
|
| 218 |
+
">>=",
|
| 219 |
+
">>",
|
| 220 |
+
"=>"
|
| 221 |
+
],
|
| 222 |
+
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
| 223 |
+
// escape sequences
|
| 224 |
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
| 225 |
+
// The main tokenizer for our languages
|
| 226 |
+
tokenizer: {
|
| 227 |
+
root: [
|
| 228 |
+
// identifiers and keywords
|
| 229 |
+
[
|
| 230 |
+
/\@?[a-zA-Z_]\w*/,
|
| 231 |
+
{
|
| 232 |
+
cases: {
|
| 233 |
+
"@namespaceFollows": {
|
| 234 |
+
token: "keyword.$0",
|
| 235 |
+
next: "@namespace"
|
| 236 |
+
},
|
| 237 |
+
"@keywords": {
|
| 238 |
+
token: "keyword.$0",
|
| 239 |
+
next: "@qualified"
|
| 240 |
+
},
|
| 241 |
+
"@default": { token: "identifier", next: "@qualified" }
|
| 242 |
+
}
|
| 243 |
+
}
|
| 244 |
+
],
|
| 245 |
+
// whitespace
|
| 246 |
+
{ include: "@whitespace" },
|
| 247 |
+
// delimiters and operators
|
| 248 |
+
[
|
| 249 |
+
/}/,
|
| 250 |
+
{
|
| 251 |
+
cases: {
|
| 252 |
+
"$S2==interpolatedstring": {
|
| 253 |
+
token: "string.quote",
|
| 254 |
+
next: "@pop"
|
| 255 |
+
},
|
| 256 |
+
"$S2==litinterpstring": {
|
| 257 |
+
token: "string.quote",
|
| 258 |
+
next: "@pop"
|
| 259 |
+
},
|
| 260 |
+
"@default": "@brackets"
|
| 261 |
+
}
|
| 262 |
+
}
|
| 263 |
+
],
|
| 264 |
+
[/[{}()\[\]]/, "@brackets"],
|
| 265 |
+
[/[<>](?!@symbols)/, "@brackets"],
|
| 266 |
+
[
|
| 267 |
+
/@symbols/,
|
| 268 |
+
{
|
| 269 |
+
cases: {
|
| 270 |
+
"@operators": "delimiter",
|
| 271 |
+
"@default": ""
|
| 272 |
+
}
|
| 273 |
+
}
|
| 274 |
+
],
|
| 275 |
+
// numbers
|
| 276 |
+
[/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?[fFdD]?/, "number.float"],
|
| 277 |
+
[/0[xX][0-9a-fA-F_]+/, "number.hex"],
|
| 278 |
+
[/0[bB][01_]+/, "number.hex"],
|
| 279 |
+
// binary: use same theme style as hex
|
| 280 |
+
[/[0-9_]+/, "number"],
|
| 281 |
+
// delimiter: after number because of .\d floats
|
| 282 |
+
[/[;,.]/, "delimiter"],
|
| 283 |
+
// strings
|
| 284 |
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
| 285 |
+
// non-teminated string
|
| 286 |
+
[/"/, { token: "string.quote", next: "@string" }],
|
| 287 |
+
[/\$\@"/, { token: "string.quote", next: "@litinterpstring" }],
|
| 288 |
+
[/\@"/, { token: "string.quote", next: "@litstring" }],
|
| 289 |
+
[/\$"/, { token: "string.quote", next: "@interpolatedstring" }],
|
| 290 |
+
// characters
|
| 291 |
+
[/'[^\\']'/, "string"],
|
| 292 |
+
[/(')(@escapes)(')/, ["string", "string.escape", "string"]],
|
| 293 |
+
[/'/, "string.invalid"]
|
| 294 |
+
],
|
| 295 |
+
qualified: [
|
| 296 |
+
[
|
| 297 |
+
/[a-zA-Z_][\w]*/,
|
| 298 |
+
{
|
| 299 |
+
cases: {
|
| 300 |
+
"@keywords": { token: "keyword.$0" },
|
| 301 |
+
"@default": "identifier"
|
| 302 |
+
}
|
| 303 |
+
}
|
| 304 |
+
],
|
| 305 |
+
[/\./, "delimiter"],
|
| 306 |
+
["", "", "@pop"]
|
| 307 |
+
],
|
| 308 |
+
namespace: [
|
| 309 |
+
{ include: "@whitespace" },
|
| 310 |
+
[/[A-Z]\w*/, "namespace"],
|
| 311 |
+
[/[\.=]/, "delimiter"],
|
| 312 |
+
["", "", "@pop"]
|
| 313 |
+
],
|
| 314 |
+
comment: [
|
| 315 |
+
[/[^\/*]+/, "comment"],
|
| 316 |
+
// [/\/\*/, 'comment', '@push' ], // no nested comments :-(
|
| 317 |
+
["\\*/", "comment", "@pop"],
|
| 318 |
+
[/[\/*]/, "comment"]
|
| 319 |
+
],
|
| 320 |
+
string: [
|
| 321 |
+
[/[^\\"]+/, "string"],
|
| 322 |
+
[/@escapes/, "string.escape"],
|
| 323 |
+
[/\\./, "string.escape.invalid"],
|
| 324 |
+
[/"/, { token: "string.quote", next: "@pop" }]
|
| 325 |
+
],
|
| 326 |
+
litstring: [
|
| 327 |
+
[/[^"]+/, "string"],
|
| 328 |
+
[/""/, "string.escape"],
|
| 329 |
+
[/"/, { token: "string.quote", next: "@pop" }]
|
| 330 |
+
],
|
| 331 |
+
litinterpstring: [
|
| 332 |
+
[/[^"{]+/, "string"],
|
| 333 |
+
[/""/, "string.escape"],
|
| 334 |
+
[/{{/, "string.escape"],
|
| 335 |
+
[/}}/, "string.escape"],
|
| 336 |
+
[/{/, { token: "string.quote", next: "root.litinterpstring" }],
|
| 337 |
+
[/"/, { token: "string.quote", next: "@pop" }]
|
| 338 |
+
],
|
| 339 |
+
interpolatedstring: [
|
| 340 |
+
[/[^\\"{]+/, "string"],
|
| 341 |
+
[/@escapes/, "string.escape"],
|
| 342 |
+
[/\\./, "string.escape.invalid"],
|
| 343 |
+
[/{{/, "string.escape"],
|
| 344 |
+
[/}}/, "string.escape"],
|
| 345 |
+
[/{/, { token: "string.quote", next: "root.interpolatedstring" }],
|
| 346 |
+
[/"/, { token: "string.quote", next: "@pop" }]
|
| 347 |
+
],
|
| 348 |
+
whitespace: [
|
| 349 |
+
[/^[ \t\v\f]*#((r)|(load))(?=\s)/, "directive.csx"],
|
| 350 |
+
[/^[ \t\v\f]*#\w.*$/, "namespace.cpp"],
|
| 351 |
+
[/[ \t\v\f\r\n]+/, ""],
|
| 352 |
+
[/\/\*/, "comment", "@comment"],
|
| 353 |
+
[/\/\/.*$/, "comment"]
|
| 354 |
+
]
|
| 355 |
+
}
|
| 356 |
+
};
|
| 357 |
+
return __toCommonJS(csharp_exports);
|
| 358 |
+
})();
|
| 359 |
+
return moduleExports;
|
| 360 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/csp/csp.js
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/csp/csp", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/csp/csp.ts
|
| 29 |
+
var csp_exports = {};
|
| 30 |
+
__export(csp_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
brackets: [],
|
| 36 |
+
autoClosingPairs: [],
|
| 37 |
+
surroundingPairs: []
|
| 38 |
+
};
|
| 39 |
+
var language = {
|
| 40 |
+
// Set defaultToken to invalid to see what you do not tokenize yet
|
| 41 |
+
// defaultToken: 'invalid',
|
| 42 |
+
keywords: [],
|
| 43 |
+
typeKeywords: [],
|
| 44 |
+
tokenPostfix: ".csp",
|
| 45 |
+
operators: [],
|
| 46 |
+
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
| 47 |
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
| 48 |
+
tokenizer: {
|
| 49 |
+
root: [
|
| 50 |
+
[/child-src/, "string.quote"],
|
| 51 |
+
[/connect-src/, "string.quote"],
|
| 52 |
+
[/default-src/, "string.quote"],
|
| 53 |
+
[/font-src/, "string.quote"],
|
| 54 |
+
[/frame-src/, "string.quote"],
|
| 55 |
+
[/img-src/, "string.quote"],
|
| 56 |
+
[/manifest-src/, "string.quote"],
|
| 57 |
+
[/media-src/, "string.quote"],
|
| 58 |
+
[/object-src/, "string.quote"],
|
| 59 |
+
[/script-src/, "string.quote"],
|
| 60 |
+
[/style-src/, "string.quote"],
|
| 61 |
+
[/worker-src/, "string.quote"],
|
| 62 |
+
[/base-uri/, "string.quote"],
|
| 63 |
+
[/plugin-types/, "string.quote"],
|
| 64 |
+
[/sandbox/, "string.quote"],
|
| 65 |
+
[/disown-opener/, "string.quote"],
|
| 66 |
+
[/form-action/, "string.quote"],
|
| 67 |
+
[/frame-ancestors/, "string.quote"],
|
| 68 |
+
[/report-uri/, "string.quote"],
|
| 69 |
+
[/report-to/, "string.quote"],
|
| 70 |
+
[/upgrade-insecure-requests/, "string.quote"],
|
| 71 |
+
[/block-all-mixed-content/, "string.quote"],
|
| 72 |
+
[/require-sri-for/, "string.quote"],
|
| 73 |
+
[/reflected-xss/, "string.quote"],
|
| 74 |
+
[/referrer/, "string.quote"],
|
| 75 |
+
[/policy-uri/, "string.quote"],
|
| 76 |
+
[/'self'/, "string.quote"],
|
| 77 |
+
[/'unsafe-inline'/, "string.quote"],
|
| 78 |
+
[/'unsafe-eval'/, "string.quote"],
|
| 79 |
+
[/'strict-dynamic'/, "string.quote"],
|
| 80 |
+
[/'unsafe-hashed-attributes'/, "string.quote"]
|
| 81 |
+
]
|
| 82 |
+
}
|
| 83 |
+
};
|
| 84 |
+
return __toCommonJS(csp_exports);
|
| 85 |
+
})();
|
| 86 |
+
return moduleExports;
|
| 87 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/css/css", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/css/css.ts
|
| 29 |
+
var css_exports = {};
|
| 30 |
+
__export(css_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
wordPattern: /(#?-?\d*\.\d\w*%?)|((::|[@#.!:])?[\w-?]+%?)|::|[@#.!:]/g,
|
| 36 |
+
comments: {
|
| 37 |
+
blockComment: ["/*", "*/"]
|
| 38 |
+
},
|
| 39 |
+
brackets: [
|
| 40 |
+
["{", "}"],
|
| 41 |
+
["[", "]"],
|
| 42 |
+
["(", ")"]
|
| 43 |
+
],
|
| 44 |
+
autoClosingPairs: [
|
| 45 |
+
{ open: "{", close: "}", notIn: ["string", "comment"] },
|
| 46 |
+
{ open: "[", close: "]", notIn: ["string", "comment"] },
|
| 47 |
+
{ open: "(", close: ")", notIn: ["string", "comment"] },
|
| 48 |
+
{ open: '"', close: '"', notIn: ["string", "comment"] },
|
| 49 |
+
{ open: "'", close: "'", notIn: ["string", "comment"] }
|
| 50 |
+
],
|
| 51 |
+
surroundingPairs: [
|
| 52 |
+
{ open: "{", close: "}" },
|
| 53 |
+
{ open: "[", close: "]" },
|
| 54 |
+
{ open: "(", close: ")" },
|
| 55 |
+
{ open: '"', close: '"' },
|
| 56 |
+
{ open: "'", close: "'" }
|
| 57 |
+
],
|
| 58 |
+
folding: {
|
| 59 |
+
markers: {
|
| 60 |
+
start: new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),
|
| 61 |
+
end: new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")
|
| 62 |
+
}
|
| 63 |
+
}
|
| 64 |
+
};
|
| 65 |
+
var language = {
|
| 66 |
+
defaultToken: "",
|
| 67 |
+
tokenPostfix: ".css",
|
| 68 |
+
ws: "[ \n\r\f]*",
|
| 69 |
+
// whitespaces (referenced in several rules)
|
| 70 |
+
identifier: "-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",
|
| 71 |
+
brackets: [
|
| 72 |
+
{ open: "{", close: "}", token: "delimiter.bracket" },
|
| 73 |
+
{ open: "[", close: "]", token: "delimiter.bracket" },
|
| 74 |
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
| 75 |
+
{ open: "<", close: ">", token: "delimiter.angle" }
|
| 76 |
+
],
|
| 77 |
+
tokenizer: {
|
| 78 |
+
root: [{ include: "@selector" }],
|
| 79 |
+
selector: [
|
| 80 |
+
{ include: "@comments" },
|
| 81 |
+
{ include: "@import" },
|
| 82 |
+
{ include: "@strings" },
|
| 83 |
+
[
|
| 84 |
+
"[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",
|
| 85 |
+
{ token: "keyword", next: "@keyframedeclaration" }
|
| 86 |
+
],
|
| 87 |
+
["[@](page|content|font-face|-moz-document)", { token: "keyword" }],
|
| 88 |
+
["[@](charset|namespace)", { token: "keyword", next: "@declarationbody" }],
|
| 89 |
+
[
|
| 90 |
+
"(url-prefix)(\\()",
|
| 91 |
+
["attribute.value", { token: "delimiter.parenthesis", next: "@urldeclaration" }]
|
| 92 |
+
],
|
| 93 |
+
[
|
| 94 |
+
"(url)(\\()",
|
| 95 |
+
["attribute.value", { token: "delimiter.parenthesis", next: "@urldeclaration" }]
|
| 96 |
+
],
|
| 97 |
+
{ include: "@selectorname" },
|
| 98 |
+
["[\\*]", "tag"],
|
| 99 |
+
// selector symbols
|
| 100 |
+
["[>\\+,]", "delimiter"],
|
| 101 |
+
// selector operators
|
| 102 |
+
["\\[", { token: "delimiter.bracket", next: "@selectorattribute" }],
|
| 103 |
+
["{", { token: "delimiter.bracket", next: "@selectorbody" }]
|
| 104 |
+
],
|
| 105 |
+
selectorbody: [
|
| 106 |
+
{ include: "@comments" },
|
| 107 |
+
["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))", "attribute.name", "@rulevalue"],
|
| 108 |
+
// rule definition: to distinguish from a nested selector check for whitespace, number or a semicolon
|
| 109 |
+
["}", { token: "delimiter.bracket", next: "@pop" }]
|
| 110 |
+
],
|
| 111 |
+
selectorname: [
|
| 112 |
+
["(\\.|#(?=[^{])|%|(@identifier)|:)+", "tag"]
|
| 113 |
+
// selector (.foo, div, ...)
|
| 114 |
+
],
|
| 115 |
+
selectorattribute: [{ include: "@term" }, ["]", { token: "delimiter.bracket", next: "@pop" }]],
|
| 116 |
+
term: [
|
| 117 |
+
{ include: "@comments" },
|
| 118 |
+
[
|
| 119 |
+
"(url-prefix)(\\()",
|
| 120 |
+
["attribute.value", { token: "delimiter.parenthesis", next: "@urldeclaration" }]
|
| 121 |
+
],
|
| 122 |
+
[
|
| 123 |
+
"(url)(\\()",
|
| 124 |
+
["attribute.value", { token: "delimiter.parenthesis", next: "@urldeclaration" }]
|
| 125 |
+
],
|
| 126 |
+
{ include: "@functioninvocation" },
|
| 127 |
+
{ include: "@numbers" },
|
| 128 |
+
{ include: "@name" },
|
| 129 |
+
{ include: "@strings" },
|
| 130 |
+
["([<>=\\+\\-\\*\\/\\^\\|\\~,])", "delimiter"],
|
| 131 |
+
[",", "delimiter"]
|
| 132 |
+
],
|
| 133 |
+
rulevalue: [
|
| 134 |
+
{ include: "@comments" },
|
| 135 |
+
{ include: "@strings" },
|
| 136 |
+
{ include: "@term" },
|
| 137 |
+
["!important", "keyword"],
|
| 138 |
+
[";", "delimiter", "@pop"],
|
| 139 |
+
["(?=})", { token: "", next: "@pop" }]
|
| 140 |
+
// missing semicolon
|
| 141 |
+
],
|
| 142 |
+
warndebug: [["[@](warn|debug)", { token: "keyword", next: "@declarationbody" }]],
|
| 143 |
+
import: [["[@](import)", { token: "keyword", next: "@declarationbody" }]],
|
| 144 |
+
urldeclaration: [
|
| 145 |
+
{ include: "@strings" },
|
| 146 |
+
["[^)\r\n]+", "string"],
|
| 147 |
+
["\\)", { token: "delimiter.parenthesis", next: "@pop" }]
|
| 148 |
+
],
|
| 149 |
+
parenthizedterm: [
|
| 150 |
+
{ include: "@term" },
|
| 151 |
+
["\\)", { token: "delimiter.parenthesis", next: "@pop" }]
|
| 152 |
+
],
|
| 153 |
+
declarationbody: [
|
| 154 |
+
{ include: "@term" },
|
| 155 |
+
[";", "delimiter", "@pop"],
|
| 156 |
+
["(?=})", { token: "", next: "@pop" }]
|
| 157 |
+
// missing semicolon
|
| 158 |
+
],
|
| 159 |
+
comments: [
|
| 160 |
+
["\\/\\*", "comment", "@comment"],
|
| 161 |
+
["\\/\\/+.*", "comment"]
|
| 162 |
+
],
|
| 163 |
+
comment: [
|
| 164 |
+
["\\*\\/", "comment", "@pop"],
|
| 165 |
+
[/[^*/]+/, "comment"],
|
| 166 |
+
[/./, "comment"]
|
| 167 |
+
],
|
| 168 |
+
name: [["@identifier", "attribute.value"]],
|
| 169 |
+
numbers: [
|
| 170 |
+
["-?(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?", { token: "attribute.value.number", next: "@units" }],
|
| 171 |
+
["#[0-9a-fA-F_]+(?!\\w)", "attribute.value.hex"]
|
| 172 |
+
],
|
| 173 |
+
units: [
|
| 174 |
+
[
|
| 175 |
+
"(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?",
|
| 176 |
+
"attribute.value.unit",
|
| 177 |
+
"@pop"
|
| 178 |
+
]
|
| 179 |
+
],
|
| 180 |
+
keyframedeclaration: [
|
| 181 |
+
["@identifier", "attribute.value"],
|
| 182 |
+
["{", { token: "delimiter.bracket", switchTo: "@keyframebody" }]
|
| 183 |
+
],
|
| 184 |
+
keyframebody: [
|
| 185 |
+
{ include: "@term" },
|
| 186 |
+
["{", { token: "delimiter.bracket", next: "@selectorbody" }],
|
| 187 |
+
["}", { token: "delimiter.bracket", next: "@pop" }]
|
| 188 |
+
],
|
| 189 |
+
functioninvocation: [
|
| 190 |
+
["@identifier\\(", { token: "attribute.value", next: "@functionarguments" }]
|
| 191 |
+
],
|
| 192 |
+
functionarguments: [
|
| 193 |
+
["\\$@identifier@ws:", "attribute.name"],
|
| 194 |
+
["[,]", "delimiter"],
|
| 195 |
+
{ include: "@term" },
|
| 196 |
+
["\\)", { token: "attribute.value", next: "@pop" }]
|
| 197 |
+
],
|
| 198 |
+
strings: [
|
| 199 |
+
['~?"', { token: "string", next: "@stringenddoublequote" }],
|
| 200 |
+
["~?'", { token: "string", next: "@stringendquote" }]
|
| 201 |
+
],
|
| 202 |
+
stringenddoublequote: [
|
| 203 |
+
["\\\\.", "string"],
|
| 204 |
+
['"', { token: "string", next: "@pop" }],
|
| 205 |
+
[/[^\\"]+/, "string"],
|
| 206 |
+
[".", "string"]
|
| 207 |
+
],
|
| 208 |
+
stringendquote: [
|
| 209 |
+
["\\\\.", "string"],
|
| 210 |
+
["'", { token: "string", next: "@pop" }],
|
| 211 |
+
[/[^\\']+/, "string"],
|
| 212 |
+
[".", "string"]
|
| 213 |
+
]
|
| 214 |
+
}
|
| 215 |
+
};
|
| 216 |
+
return __toCommonJS(css_exports);
|
| 217 |
+
})();
|
| 218 |
+
return moduleExports;
|
| 219 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/cypher/cypher.js
ADDED
|
@@ -0,0 +1,297 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/cypher/cypher", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/cypher/cypher.ts
|
| 29 |
+
var cypher_exports = {};
|
| 30 |
+
__export(cypher_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
comments: {
|
| 36 |
+
lineComment: "//",
|
| 37 |
+
blockComment: ["/*", "*/"]
|
| 38 |
+
},
|
| 39 |
+
brackets: [
|
| 40 |
+
["{", "}"],
|
| 41 |
+
["[", "]"],
|
| 42 |
+
["(", ")"]
|
| 43 |
+
],
|
| 44 |
+
autoClosingPairs: [
|
| 45 |
+
{ open: "{", close: "}" },
|
| 46 |
+
{ open: "[", close: "]" },
|
| 47 |
+
{ open: "(", close: ")" },
|
| 48 |
+
{ open: '"', close: '"' },
|
| 49 |
+
{ open: "'", close: "'" },
|
| 50 |
+
{ open: "`", close: "`" }
|
| 51 |
+
],
|
| 52 |
+
surroundingPairs: [
|
| 53 |
+
{ open: "{", close: "}" },
|
| 54 |
+
{ open: "[", close: "]" },
|
| 55 |
+
{ open: "(", close: ")" },
|
| 56 |
+
{ open: '"', close: '"' },
|
| 57 |
+
{ open: "'", close: "'" },
|
| 58 |
+
{ open: "`", close: "`" }
|
| 59 |
+
]
|
| 60 |
+
};
|
| 61 |
+
var language = {
|
| 62 |
+
defaultToken: "",
|
| 63 |
+
tokenPostfix: `.cypher`,
|
| 64 |
+
ignoreCase: true,
|
| 65 |
+
brackets: [
|
| 66 |
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
| 67 |
+
{ open: "[", close: "]", token: "delimiter.bracket" },
|
| 68 |
+
{ open: "(", close: ")", token: "delimiter.parenthesis" }
|
| 69 |
+
],
|
| 70 |
+
keywords: [
|
| 71 |
+
"ALL",
|
| 72 |
+
"AND",
|
| 73 |
+
"AS",
|
| 74 |
+
"ASC",
|
| 75 |
+
"ASCENDING",
|
| 76 |
+
"BY",
|
| 77 |
+
"CALL",
|
| 78 |
+
"CASE",
|
| 79 |
+
"CONTAINS",
|
| 80 |
+
"CREATE",
|
| 81 |
+
"DELETE",
|
| 82 |
+
"DESC",
|
| 83 |
+
"DESCENDING",
|
| 84 |
+
"DETACH",
|
| 85 |
+
"DISTINCT",
|
| 86 |
+
"ELSE",
|
| 87 |
+
"END",
|
| 88 |
+
"ENDS",
|
| 89 |
+
"EXISTS",
|
| 90 |
+
"IN",
|
| 91 |
+
"IS",
|
| 92 |
+
"LIMIT",
|
| 93 |
+
"MANDATORY",
|
| 94 |
+
"MATCH",
|
| 95 |
+
"MERGE",
|
| 96 |
+
"NOT",
|
| 97 |
+
"ON",
|
| 98 |
+
"ON",
|
| 99 |
+
"OPTIONAL",
|
| 100 |
+
"OR",
|
| 101 |
+
"ORDER",
|
| 102 |
+
"REMOVE",
|
| 103 |
+
"RETURN",
|
| 104 |
+
"SET",
|
| 105 |
+
"SKIP",
|
| 106 |
+
"STARTS",
|
| 107 |
+
"THEN",
|
| 108 |
+
"UNION",
|
| 109 |
+
"UNWIND",
|
| 110 |
+
"WHEN",
|
| 111 |
+
"WHERE",
|
| 112 |
+
"WITH",
|
| 113 |
+
"XOR",
|
| 114 |
+
"YIELD"
|
| 115 |
+
],
|
| 116 |
+
builtinLiterals: ["true", "TRUE", "false", "FALSE", "null", "NULL"],
|
| 117 |
+
builtinFunctions: [
|
| 118 |
+
"abs",
|
| 119 |
+
"acos",
|
| 120 |
+
"asin",
|
| 121 |
+
"atan",
|
| 122 |
+
"atan2",
|
| 123 |
+
"avg",
|
| 124 |
+
"ceil",
|
| 125 |
+
"coalesce",
|
| 126 |
+
"collect",
|
| 127 |
+
"cos",
|
| 128 |
+
"cot",
|
| 129 |
+
"count",
|
| 130 |
+
"degrees",
|
| 131 |
+
"e",
|
| 132 |
+
"endNode",
|
| 133 |
+
"exists",
|
| 134 |
+
"exp",
|
| 135 |
+
"floor",
|
| 136 |
+
"head",
|
| 137 |
+
"id",
|
| 138 |
+
"keys",
|
| 139 |
+
"labels",
|
| 140 |
+
"last",
|
| 141 |
+
"left",
|
| 142 |
+
"length",
|
| 143 |
+
"log",
|
| 144 |
+
"log10",
|
| 145 |
+
"lTrim",
|
| 146 |
+
"max",
|
| 147 |
+
"min",
|
| 148 |
+
"nodes",
|
| 149 |
+
"percentileCont",
|
| 150 |
+
"percentileDisc",
|
| 151 |
+
"pi",
|
| 152 |
+
"properties",
|
| 153 |
+
"radians",
|
| 154 |
+
"rand",
|
| 155 |
+
"range",
|
| 156 |
+
"relationships",
|
| 157 |
+
"replace",
|
| 158 |
+
"reverse",
|
| 159 |
+
"right",
|
| 160 |
+
"round",
|
| 161 |
+
"rTrim",
|
| 162 |
+
"sign",
|
| 163 |
+
"sin",
|
| 164 |
+
"size",
|
| 165 |
+
"split",
|
| 166 |
+
"sqrt",
|
| 167 |
+
"startNode",
|
| 168 |
+
"stDev",
|
| 169 |
+
"stDevP",
|
| 170 |
+
"substring",
|
| 171 |
+
"sum",
|
| 172 |
+
"tail",
|
| 173 |
+
"tan",
|
| 174 |
+
"timestamp",
|
| 175 |
+
"toBoolean",
|
| 176 |
+
"toFloat",
|
| 177 |
+
"toInteger",
|
| 178 |
+
"toLower",
|
| 179 |
+
"toString",
|
| 180 |
+
"toUpper",
|
| 181 |
+
"trim",
|
| 182 |
+
"type"
|
| 183 |
+
],
|
| 184 |
+
operators: [
|
| 185 |
+
// Math operators
|
| 186 |
+
"+",
|
| 187 |
+
"-",
|
| 188 |
+
"*",
|
| 189 |
+
"/",
|
| 190 |
+
"%",
|
| 191 |
+
"^",
|
| 192 |
+
// Comparison operators
|
| 193 |
+
"=",
|
| 194 |
+
"<>",
|
| 195 |
+
"<",
|
| 196 |
+
">",
|
| 197 |
+
"<=",
|
| 198 |
+
">=",
|
| 199 |
+
// Pattern operators
|
| 200 |
+
"->",
|
| 201 |
+
"<-",
|
| 202 |
+
"-->",
|
| 203 |
+
"<--"
|
| 204 |
+
],
|
| 205 |
+
escapes: /\\(?:[tbnrf\\"'`]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
| 206 |
+
digits: /\d+/,
|
| 207 |
+
octaldigits: /[0-7]+/,
|
| 208 |
+
hexdigits: /[0-9a-fA-F]+/,
|
| 209 |
+
tokenizer: {
|
| 210 |
+
root: [[/[{}[\]()]/, "@brackets"], { include: "common" }],
|
| 211 |
+
common: [
|
| 212 |
+
{ include: "@whitespace" },
|
| 213 |
+
{ include: "@numbers" },
|
| 214 |
+
{ include: "@strings" },
|
| 215 |
+
// Cypher labels on nodes/relationships, e.g. (n:NodeLabel)-[e:RelationshipLabel]
|
| 216 |
+
[/:[a-zA-Z_][\w]*/, "type.identifier"],
|
| 217 |
+
[
|
| 218 |
+
/[a-zA-Z_][\w]*(?=\()/,
|
| 219 |
+
{
|
| 220 |
+
cases: {
|
| 221 |
+
"@builtinFunctions": "predefined.function"
|
| 222 |
+
}
|
| 223 |
+
}
|
| 224 |
+
],
|
| 225 |
+
[
|
| 226 |
+
/[a-zA-Z_$][\w$]*/,
|
| 227 |
+
{
|
| 228 |
+
cases: {
|
| 229 |
+
"@keywords": "keyword",
|
| 230 |
+
"@builtinLiterals": "predefined.literal",
|
| 231 |
+
"@default": "identifier"
|
| 232 |
+
}
|
| 233 |
+
}
|
| 234 |
+
],
|
| 235 |
+
[/`/, "identifier.escape", "@identifierBacktick"],
|
| 236 |
+
// delimiter and operator after number because of `.\d` floats and `:` in labels
|
| 237 |
+
[/[;,.:|]/, "delimiter"],
|
| 238 |
+
[
|
| 239 |
+
/[<>=%+\-*/^]+/,
|
| 240 |
+
{
|
| 241 |
+
cases: {
|
| 242 |
+
"@operators": "delimiter",
|
| 243 |
+
"@default": ""
|
| 244 |
+
}
|
| 245 |
+
}
|
| 246 |
+
]
|
| 247 |
+
],
|
| 248 |
+
numbers: [
|
| 249 |
+
[/-?(@digits)[eE](-?(@digits))?/, "number.float"],
|
| 250 |
+
[/-?(@digits)?\.(@digits)([eE]-?(@digits))?/, "number.float"],
|
| 251 |
+
[/-?0x(@hexdigits)/, "number.hex"],
|
| 252 |
+
[/-?0(@octaldigits)/, "number.octal"],
|
| 253 |
+
[/-?(@digits)/, "number"]
|
| 254 |
+
],
|
| 255 |
+
strings: [
|
| 256 |
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
| 257 |
+
// non-teminated string
|
| 258 |
+
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
| 259 |
+
// non-teminated string
|
| 260 |
+
[/"/, "string", "@stringDouble"],
|
| 261 |
+
[/'/, "string", "@stringSingle"]
|
| 262 |
+
],
|
| 263 |
+
whitespace: [
|
| 264 |
+
[/[ \t\r\n]+/, "white"],
|
| 265 |
+
[/\/\*/, "comment", "@comment"],
|
| 266 |
+
[/\/\/.*$/, "comment"]
|
| 267 |
+
],
|
| 268 |
+
comment: [
|
| 269 |
+
[/\/\/.*/, "comment"],
|
| 270 |
+
[/[^/*]+/, "comment"],
|
| 271 |
+
[/\*\//, "comment", "@pop"],
|
| 272 |
+
[/[/*]/, "comment"]
|
| 273 |
+
],
|
| 274 |
+
stringDouble: [
|
| 275 |
+
[/[^\\"]+/, "string"],
|
| 276 |
+
[/@escapes/, "string"],
|
| 277 |
+
[/\\./, "string.invalid"],
|
| 278 |
+
[/"/, "string", "@pop"]
|
| 279 |
+
],
|
| 280 |
+
stringSingle: [
|
| 281 |
+
[/[^\\']+/, "string"],
|
| 282 |
+
[/@escapes/, "string"],
|
| 283 |
+
[/\\./, "string.invalid"],
|
| 284 |
+
[/'/, "string", "@pop"]
|
| 285 |
+
],
|
| 286 |
+
identifierBacktick: [
|
| 287 |
+
[/[^\\`]+/, "identifier.escape"],
|
| 288 |
+
[/@escapes/, "identifier.escape"],
|
| 289 |
+
[/\\./, "identifier.escape.invalid"],
|
| 290 |
+
[/`/, "identifier.escape", "@pop"]
|
| 291 |
+
]
|
| 292 |
+
}
|
| 293 |
+
};
|
| 294 |
+
return __toCommonJS(cypher_exports);
|
| 295 |
+
})();
|
| 296 |
+
return moduleExports;
|
| 297 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/dart/dart.js
ADDED
|
@@ -0,0 +1,315 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/dart/dart", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/dart/dart.ts
|
| 29 |
+
var dart_exports = {};
|
| 30 |
+
__export(dart_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
comments: {
|
| 36 |
+
lineComment: "//",
|
| 37 |
+
blockComment: ["/*", "*/"]
|
| 38 |
+
},
|
| 39 |
+
brackets: [
|
| 40 |
+
["{", "}"],
|
| 41 |
+
["[", "]"],
|
| 42 |
+
["(", ")"]
|
| 43 |
+
],
|
| 44 |
+
autoClosingPairs: [
|
| 45 |
+
{ open: "{", close: "}" },
|
| 46 |
+
{ open: "[", close: "]" },
|
| 47 |
+
{ open: "(", close: ")" },
|
| 48 |
+
{ open: "'", close: "'", notIn: ["string", "comment"] },
|
| 49 |
+
{ open: '"', close: '"', notIn: ["string"] },
|
| 50 |
+
{ open: "`", close: "`", notIn: ["string", "comment"] },
|
| 51 |
+
{ open: "/**", close: " */", notIn: ["string"] }
|
| 52 |
+
],
|
| 53 |
+
surroundingPairs: [
|
| 54 |
+
{ open: "{", close: "}" },
|
| 55 |
+
{ open: "[", close: "]" },
|
| 56 |
+
{ open: "(", close: ")" },
|
| 57 |
+
{ open: "<", close: ">" },
|
| 58 |
+
{ open: "'", close: "'" },
|
| 59 |
+
{ open: "(", close: ")" },
|
| 60 |
+
{ open: '"', close: '"' },
|
| 61 |
+
{ open: "`", close: "`" }
|
| 62 |
+
],
|
| 63 |
+
folding: {
|
| 64 |
+
markers: {
|
| 65 |
+
start: /^\s*\s*#?region\b/,
|
| 66 |
+
end: /^\s*\s*#?endregion\b/
|
| 67 |
+
}
|
| 68 |
+
}
|
| 69 |
+
};
|
| 70 |
+
var language = {
|
| 71 |
+
defaultToken: "invalid",
|
| 72 |
+
tokenPostfix: ".dart",
|
| 73 |
+
keywords: [
|
| 74 |
+
"abstract",
|
| 75 |
+
"dynamic",
|
| 76 |
+
"implements",
|
| 77 |
+
"show",
|
| 78 |
+
"as",
|
| 79 |
+
"else",
|
| 80 |
+
"import",
|
| 81 |
+
"static",
|
| 82 |
+
"assert",
|
| 83 |
+
"enum",
|
| 84 |
+
"in",
|
| 85 |
+
"super",
|
| 86 |
+
"async",
|
| 87 |
+
"export",
|
| 88 |
+
"interface",
|
| 89 |
+
"switch",
|
| 90 |
+
"await",
|
| 91 |
+
"extends",
|
| 92 |
+
"is",
|
| 93 |
+
"sync",
|
| 94 |
+
"break",
|
| 95 |
+
"external",
|
| 96 |
+
"library",
|
| 97 |
+
"this",
|
| 98 |
+
"case",
|
| 99 |
+
"factory",
|
| 100 |
+
"mixin",
|
| 101 |
+
"throw",
|
| 102 |
+
"catch",
|
| 103 |
+
"false",
|
| 104 |
+
"new",
|
| 105 |
+
"true",
|
| 106 |
+
"class",
|
| 107 |
+
"final",
|
| 108 |
+
"null",
|
| 109 |
+
"try",
|
| 110 |
+
"const",
|
| 111 |
+
"finally",
|
| 112 |
+
"on",
|
| 113 |
+
"typedef",
|
| 114 |
+
"continue",
|
| 115 |
+
"for",
|
| 116 |
+
"operator",
|
| 117 |
+
"var",
|
| 118 |
+
"covariant",
|
| 119 |
+
"Function",
|
| 120 |
+
"part",
|
| 121 |
+
"void",
|
| 122 |
+
"default",
|
| 123 |
+
"get",
|
| 124 |
+
"rethrow",
|
| 125 |
+
"while",
|
| 126 |
+
"deferred",
|
| 127 |
+
"hide",
|
| 128 |
+
"return",
|
| 129 |
+
"with",
|
| 130 |
+
"do",
|
| 131 |
+
"if",
|
| 132 |
+
"set",
|
| 133 |
+
"yield"
|
| 134 |
+
],
|
| 135 |
+
typeKeywords: ["int", "double", "String", "bool"],
|
| 136 |
+
operators: [
|
| 137 |
+
"+",
|
| 138 |
+
"-",
|
| 139 |
+
"*",
|
| 140 |
+
"/",
|
| 141 |
+
"~/",
|
| 142 |
+
"%",
|
| 143 |
+
"++",
|
| 144 |
+
"--",
|
| 145 |
+
"==",
|
| 146 |
+
"!=",
|
| 147 |
+
">",
|
| 148 |
+
"<",
|
| 149 |
+
">=",
|
| 150 |
+
"<=",
|
| 151 |
+
"=",
|
| 152 |
+
"-=",
|
| 153 |
+
"/=",
|
| 154 |
+
"%=",
|
| 155 |
+
">>=",
|
| 156 |
+
"^=",
|
| 157 |
+
"+=",
|
| 158 |
+
"*=",
|
| 159 |
+
"~/=",
|
| 160 |
+
"<<=",
|
| 161 |
+
"&=",
|
| 162 |
+
"!=",
|
| 163 |
+
"||",
|
| 164 |
+
"&&",
|
| 165 |
+
"&",
|
| 166 |
+
"|",
|
| 167 |
+
"^",
|
| 168 |
+
"~",
|
| 169 |
+
"<<",
|
| 170 |
+
">>",
|
| 171 |
+
"!",
|
| 172 |
+
">>>",
|
| 173 |
+
"??",
|
| 174 |
+
"?",
|
| 175 |
+
":",
|
| 176 |
+
"|="
|
| 177 |
+
],
|
| 178 |
+
// we include these common regular expressions
|
| 179 |
+
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
| 180 |
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
| 181 |
+
digits: /\d+(_+\d+)*/,
|
| 182 |
+
octaldigits: /[0-7]+(_+[0-7]+)*/,
|
| 183 |
+
binarydigits: /[0-1]+(_+[0-1]+)*/,
|
| 184 |
+
hexdigits: /[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,
|
| 185 |
+
regexpctl: /[(){}\[\]\$\^|\-*+?\.]/,
|
| 186 |
+
regexpesc: /\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,
|
| 187 |
+
// The main tokenizer for our languages
|
| 188 |
+
tokenizer: {
|
| 189 |
+
root: [[/[{}]/, "delimiter.bracket"], { include: "common" }],
|
| 190 |
+
common: [
|
| 191 |
+
// identifiers and keywords
|
| 192 |
+
[
|
| 193 |
+
/[a-z_$][\w$]*/,
|
| 194 |
+
{
|
| 195 |
+
cases: {
|
| 196 |
+
"@typeKeywords": "type.identifier",
|
| 197 |
+
"@keywords": "keyword",
|
| 198 |
+
"@default": "identifier"
|
| 199 |
+
}
|
| 200 |
+
}
|
| 201 |
+
],
|
| 202 |
+
[/[A-Z_$][\w\$]*/, "type.identifier"],
|
| 203 |
+
// show class names
|
| 204 |
+
// [/[A-Z][\w\$]*/, 'identifier'],
|
| 205 |
+
// whitespace
|
| 206 |
+
{ include: "@whitespace" },
|
| 207 |
+
// regular expression: ensure it is terminated before beginning (otherwise it is an opeator)
|
| 208 |
+
[
|
| 209 |
+
/\/(?=([^\\\/]|\\.)+\/([gimsuy]*)(\s*)(\.|;|,|\)|\]|\}|$))/,
|
| 210 |
+
{ token: "regexp", bracket: "@open", next: "@regexp" }
|
| 211 |
+
],
|
| 212 |
+
// @ annotations.
|
| 213 |
+
[/@[a-zA-Z]+/, "annotation"],
|
| 214 |
+
// variable
|
| 215 |
+
// delimiters and operators
|
| 216 |
+
[/[()\[\]]/, "@brackets"],
|
| 217 |
+
[/[<>](?!@symbols)/, "@brackets"],
|
| 218 |
+
[/!(?=([^=]|$))/, "delimiter"],
|
| 219 |
+
[
|
| 220 |
+
/@symbols/,
|
| 221 |
+
{
|
| 222 |
+
cases: {
|
| 223 |
+
"@operators": "delimiter",
|
| 224 |
+
"@default": ""
|
| 225 |
+
}
|
| 226 |
+
}
|
| 227 |
+
],
|
| 228 |
+
// numbers
|
| 229 |
+
[/(@digits)[eE]([\-+]?(@digits))?/, "number.float"],
|
| 230 |
+
[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/, "number.float"],
|
| 231 |
+
[/0[xX](@hexdigits)n?/, "number.hex"],
|
| 232 |
+
[/0[oO]?(@octaldigits)n?/, "number.octal"],
|
| 233 |
+
[/0[bB](@binarydigits)n?/, "number.binary"],
|
| 234 |
+
[/(@digits)n?/, "number"],
|
| 235 |
+
// delimiter: after number because of .\d floats
|
| 236 |
+
[/[;,.]/, "delimiter"],
|
| 237 |
+
// strings
|
| 238 |
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
| 239 |
+
// non-teminated string
|
| 240 |
+
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
| 241 |
+
// non-teminated string
|
| 242 |
+
[/"/, "string", "@string_double"],
|
| 243 |
+
[/'/, "string", "@string_single"]
|
| 244 |
+
// [/[a-zA-Z]+/, "variable"]
|
| 245 |
+
],
|
| 246 |
+
whitespace: [
|
| 247 |
+
[/[ \t\r\n]+/, ""],
|
| 248 |
+
[/\/\*\*(?!\/)/, "comment.doc", "@jsdoc"],
|
| 249 |
+
[/\/\*/, "comment", "@comment"],
|
| 250 |
+
[/\/\/\/.*$/, "comment.doc"],
|
| 251 |
+
[/\/\/.*$/, "comment"]
|
| 252 |
+
],
|
| 253 |
+
comment: [
|
| 254 |
+
[/[^\/*]+/, "comment"],
|
| 255 |
+
[/\*\//, "comment", "@pop"],
|
| 256 |
+
[/[\/*]/, "comment"]
|
| 257 |
+
],
|
| 258 |
+
jsdoc: [
|
| 259 |
+
[/[^\/*]+/, "comment.doc"],
|
| 260 |
+
[/\*\//, "comment.doc", "@pop"],
|
| 261 |
+
[/[\/*]/, "comment.doc"]
|
| 262 |
+
],
|
| 263 |
+
// We match regular expression quite precisely
|
| 264 |
+
regexp: [
|
| 265 |
+
[
|
| 266 |
+
/(\{)(\d+(?:,\d*)?)(\})/,
|
| 267 |
+
["regexp.escape.control", "regexp.escape.control", "regexp.escape.control"]
|
| 268 |
+
],
|
| 269 |
+
[
|
| 270 |
+
/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,
|
| 271 |
+
["regexp.escape.control", { token: "regexp.escape.control", next: "@regexrange" }]
|
| 272 |
+
],
|
| 273 |
+
[/(\()(\?:|\?=|\?!)/, ["regexp.escape.control", "regexp.escape.control"]],
|
| 274 |
+
[/[()]/, "regexp.escape.control"],
|
| 275 |
+
[/@regexpctl/, "regexp.escape.control"],
|
| 276 |
+
[/[^\\\/]/, "regexp"],
|
| 277 |
+
[/@regexpesc/, "regexp.escape"],
|
| 278 |
+
[/\\\./, "regexp.invalid"],
|
| 279 |
+
[/(\/)([gimsuy]*)/, [{ token: "regexp", bracket: "@close", next: "@pop" }, "keyword.other"]]
|
| 280 |
+
],
|
| 281 |
+
regexrange: [
|
| 282 |
+
[/-/, "regexp.escape.control"],
|
| 283 |
+
[/\^/, "regexp.invalid"],
|
| 284 |
+
[/@regexpesc/, "regexp.escape"],
|
| 285 |
+
[/[^\]]/, "regexp"],
|
| 286 |
+
[
|
| 287 |
+
/\]/,
|
| 288 |
+
{
|
| 289 |
+
token: "regexp.escape.control",
|
| 290 |
+
next: "@pop",
|
| 291 |
+
bracket: "@close"
|
| 292 |
+
}
|
| 293 |
+
]
|
| 294 |
+
],
|
| 295 |
+
string_double: [
|
| 296 |
+
[/[^\\"\$]+/, "string"],
|
| 297 |
+
[/[^\\"]+/, "string"],
|
| 298 |
+
[/@escapes/, "string.escape"],
|
| 299 |
+
[/\\./, "string.escape.invalid"],
|
| 300 |
+
[/"/, "string", "@pop"],
|
| 301 |
+
[/\$\w+/, "identifier"]
|
| 302 |
+
],
|
| 303 |
+
string_single: [
|
| 304 |
+
[/[^\\'\$]+/, "string"],
|
| 305 |
+
[/@escapes/, "string.escape"],
|
| 306 |
+
[/\\./, "string.escape.invalid"],
|
| 307 |
+
[/'/, "string", "@pop"],
|
| 308 |
+
[/\$\w+/, "identifier"]
|
| 309 |
+
]
|
| 310 |
+
}
|
| 311 |
+
};
|
| 312 |
+
return __toCommonJS(dart_exports);
|
| 313 |
+
})();
|
| 314 |
+
return moduleExports;
|
| 315 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/dockerfile/dockerfile.js
ADDED
|
@@ -0,0 +1,164 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/dockerfile/dockerfile", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/dockerfile/dockerfile.ts
|
| 29 |
+
var dockerfile_exports = {};
|
| 30 |
+
__export(dockerfile_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
brackets: [
|
| 36 |
+
["{", "}"],
|
| 37 |
+
["[", "]"],
|
| 38 |
+
["(", ")"]
|
| 39 |
+
],
|
| 40 |
+
autoClosingPairs: [
|
| 41 |
+
{ open: "{", close: "}" },
|
| 42 |
+
{ open: "[", close: "]" },
|
| 43 |
+
{ open: "(", close: ")" },
|
| 44 |
+
{ open: '"', close: '"' },
|
| 45 |
+
{ open: "'", close: "'" }
|
| 46 |
+
],
|
| 47 |
+
surroundingPairs: [
|
| 48 |
+
{ open: "{", close: "}" },
|
| 49 |
+
{ open: "[", close: "]" },
|
| 50 |
+
{ open: "(", close: ")" },
|
| 51 |
+
{ open: '"', close: '"' },
|
| 52 |
+
{ open: "'", close: "'" }
|
| 53 |
+
]
|
| 54 |
+
};
|
| 55 |
+
var language = {
|
| 56 |
+
defaultToken: "",
|
| 57 |
+
tokenPostfix: ".dockerfile",
|
| 58 |
+
variable: /\${?[\w]+}?/,
|
| 59 |
+
tokenizer: {
|
| 60 |
+
root: [
|
| 61 |
+
{ include: "@whitespace" },
|
| 62 |
+
{ include: "@comment" },
|
| 63 |
+
[/(ONBUILD)(\s+)/, ["keyword", ""]],
|
| 64 |
+
[/(ENV)(\s+)([\w]+)/, ["keyword", "", { token: "variable", next: "@arguments" }]],
|
| 65 |
+
[
|
| 66 |
+
/(FROM|MAINTAINER|RUN|EXPOSE|ENV|ADD|ARG|VOLUME|LABEL|USER|WORKDIR|COPY|CMD|STOPSIGNAL|SHELL|HEALTHCHECK|ENTRYPOINT)/,
|
| 67 |
+
{ token: "keyword", next: "@arguments" }
|
| 68 |
+
]
|
| 69 |
+
],
|
| 70 |
+
arguments: [
|
| 71 |
+
{ include: "@whitespace" },
|
| 72 |
+
{ include: "@strings" },
|
| 73 |
+
[
|
| 74 |
+
/(@variable)/,
|
| 75 |
+
{
|
| 76 |
+
cases: {
|
| 77 |
+
"@eos": { token: "variable", next: "@popall" },
|
| 78 |
+
"@default": "variable"
|
| 79 |
+
}
|
| 80 |
+
}
|
| 81 |
+
],
|
| 82 |
+
[
|
| 83 |
+
/\\/,
|
| 84 |
+
{
|
| 85 |
+
cases: {
|
| 86 |
+
"@eos": "",
|
| 87 |
+
"@default": ""
|
| 88 |
+
}
|
| 89 |
+
}
|
| 90 |
+
],
|
| 91 |
+
[
|
| 92 |
+
/./,
|
| 93 |
+
{
|
| 94 |
+
cases: {
|
| 95 |
+
"@eos": { token: "", next: "@popall" },
|
| 96 |
+
"@default": ""
|
| 97 |
+
}
|
| 98 |
+
}
|
| 99 |
+
]
|
| 100 |
+
],
|
| 101 |
+
// Deal with white space, including comments
|
| 102 |
+
whitespace: [
|
| 103 |
+
[
|
| 104 |
+
/\s+/,
|
| 105 |
+
{
|
| 106 |
+
cases: {
|
| 107 |
+
"@eos": { token: "", next: "@popall" },
|
| 108 |
+
"@default": ""
|
| 109 |
+
}
|
| 110 |
+
}
|
| 111 |
+
]
|
| 112 |
+
],
|
| 113 |
+
comment: [[/(^#.*$)/, "comment", "@popall"]],
|
| 114 |
+
// Recognize strings, including those broken across lines with \ (but not without)
|
| 115 |
+
strings: [
|
| 116 |
+
[/\\'$/, "", "@popall"],
|
| 117 |
+
// \' leaves @arguments at eol
|
| 118 |
+
[/\\'/, ""],
|
| 119 |
+
// \' is not a string
|
| 120 |
+
[/'$/, "string", "@popall"],
|
| 121 |
+
[/'/, "string", "@stringBody"],
|
| 122 |
+
[/"$/, "string", "@popall"],
|
| 123 |
+
[/"/, "string", "@dblStringBody"]
|
| 124 |
+
],
|
| 125 |
+
stringBody: [
|
| 126 |
+
[
|
| 127 |
+
/[^\\\$']/,
|
| 128 |
+
{
|
| 129 |
+
cases: {
|
| 130 |
+
"@eos": { token: "string", next: "@popall" },
|
| 131 |
+
"@default": "string"
|
| 132 |
+
}
|
| 133 |
+
}
|
| 134 |
+
],
|
| 135 |
+
[/\\./, "string.escape"],
|
| 136 |
+
[/'$/, "string", "@popall"],
|
| 137 |
+
[/'/, "string", "@pop"],
|
| 138 |
+
[/(@variable)/, "variable"],
|
| 139 |
+
[/\\$/, "string"],
|
| 140 |
+
[/$/, "string", "@popall"]
|
| 141 |
+
],
|
| 142 |
+
dblStringBody: [
|
| 143 |
+
[
|
| 144 |
+
/[^\\\$"]/,
|
| 145 |
+
{
|
| 146 |
+
cases: {
|
| 147 |
+
"@eos": { token: "string", next: "@popall" },
|
| 148 |
+
"@default": "string"
|
| 149 |
+
}
|
| 150 |
+
}
|
| 151 |
+
],
|
| 152 |
+
[/\\./, "string.escape"],
|
| 153 |
+
[/"$/, "string", "@popall"],
|
| 154 |
+
[/"/, "string", "@pop"],
|
| 155 |
+
[/(@variable)/, "variable"],
|
| 156 |
+
[/\\$/, "string"],
|
| 157 |
+
[/$/, "string", "@popall"]
|
| 158 |
+
]
|
| 159 |
+
}
|
| 160 |
+
};
|
| 161 |
+
return __toCommonJS(dockerfile_exports);
|
| 162 |
+
})();
|
| 163 |
+
return moduleExports;
|
| 164 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/ecl/ecl.js
ADDED
|
@@ -0,0 +1,490 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/ecl/ecl", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/ecl/ecl.ts
|
| 29 |
+
var ecl_exports = {};
|
| 30 |
+
__export(ecl_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
comments: {
|
| 36 |
+
lineComment: "//",
|
| 37 |
+
blockComment: ["/*", "*/"]
|
| 38 |
+
},
|
| 39 |
+
brackets: [
|
| 40 |
+
["{", "}"],
|
| 41 |
+
["[", "]"],
|
| 42 |
+
["(", ")"]
|
| 43 |
+
],
|
| 44 |
+
autoClosingPairs: [
|
| 45 |
+
{ open: "{", close: "}" },
|
| 46 |
+
{ open: "[", close: "]" },
|
| 47 |
+
{ open: "(", close: ")" },
|
| 48 |
+
{ open: "'", close: "'", notIn: ["string", "comment"] },
|
| 49 |
+
{ open: '"', close: '"', notIn: ["string", "comment"] }
|
| 50 |
+
],
|
| 51 |
+
surroundingPairs: [
|
| 52 |
+
{ open: "{", close: "}" },
|
| 53 |
+
{ open: "[", close: "]" },
|
| 54 |
+
{ open: "(", close: ")" },
|
| 55 |
+
{ open: "<", close: ">" },
|
| 56 |
+
{ open: "'", close: "'" },
|
| 57 |
+
{ open: '"', close: '"' }
|
| 58 |
+
]
|
| 59 |
+
};
|
| 60 |
+
var language = {
|
| 61 |
+
defaultToken: "",
|
| 62 |
+
tokenPostfix: ".ecl",
|
| 63 |
+
ignoreCase: true,
|
| 64 |
+
brackets: [
|
| 65 |
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
| 66 |
+
{ open: "[", close: "]", token: "delimiter.square" },
|
| 67 |
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
| 68 |
+
{ open: "<", close: ">", token: "delimiter.angle" }
|
| 69 |
+
],
|
| 70 |
+
pounds: [
|
| 71 |
+
"append",
|
| 72 |
+
"break",
|
| 73 |
+
"declare",
|
| 74 |
+
"demangle",
|
| 75 |
+
"end",
|
| 76 |
+
"for",
|
| 77 |
+
"getdatatype",
|
| 78 |
+
"if",
|
| 79 |
+
"inmodule",
|
| 80 |
+
"loop",
|
| 81 |
+
"mangle",
|
| 82 |
+
"onwarning",
|
| 83 |
+
"option",
|
| 84 |
+
"set",
|
| 85 |
+
"stored",
|
| 86 |
+
"uniquename"
|
| 87 |
+
].join("|"),
|
| 88 |
+
keywords: [
|
| 89 |
+
"__compressed__",
|
| 90 |
+
"after",
|
| 91 |
+
"all",
|
| 92 |
+
"and",
|
| 93 |
+
"any",
|
| 94 |
+
"as",
|
| 95 |
+
"atmost",
|
| 96 |
+
"before",
|
| 97 |
+
"beginc",
|
| 98 |
+
"best",
|
| 99 |
+
"between",
|
| 100 |
+
"case",
|
| 101 |
+
"cluster",
|
| 102 |
+
"compressed",
|
| 103 |
+
"compression",
|
| 104 |
+
"const",
|
| 105 |
+
"counter",
|
| 106 |
+
"csv",
|
| 107 |
+
"default",
|
| 108 |
+
"descend",
|
| 109 |
+
"embed",
|
| 110 |
+
"encoding",
|
| 111 |
+
"encrypt",
|
| 112 |
+
"end",
|
| 113 |
+
"endc",
|
| 114 |
+
"endembed",
|
| 115 |
+
"endmacro",
|
| 116 |
+
"enum",
|
| 117 |
+
"escape",
|
| 118 |
+
"except",
|
| 119 |
+
"exclusive",
|
| 120 |
+
"expire",
|
| 121 |
+
"export",
|
| 122 |
+
"extend",
|
| 123 |
+
"fail",
|
| 124 |
+
"few",
|
| 125 |
+
"fileposition",
|
| 126 |
+
"first",
|
| 127 |
+
"flat",
|
| 128 |
+
"forward",
|
| 129 |
+
"from",
|
| 130 |
+
"full",
|
| 131 |
+
"function",
|
| 132 |
+
"functionmacro",
|
| 133 |
+
"group",
|
| 134 |
+
"grouped",
|
| 135 |
+
"heading",
|
| 136 |
+
"hole",
|
| 137 |
+
"ifblock",
|
| 138 |
+
"import",
|
| 139 |
+
"in",
|
| 140 |
+
"inner",
|
| 141 |
+
"interface",
|
| 142 |
+
"internal",
|
| 143 |
+
"joined",
|
| 144 |
+
"keep",
|
| 145 |
+
"keyed",
|
| 146 |
+
"last",
|
| 147 |
+
"left",
|
| 148 |
+
"limit",
|
| 149 |
+
"linkcounted",
|
| 150 |
+
"literal",
|
| 151 |
+
"little_endian",
|
| 152 |
+
"load",
|
| 153 |
+
"local",
|
| 154 |
+
"locale",
|
| 155 |
+
"lookup",
|
| 156 |
+
"lzw",
|
| 157 |
+
"macro",
|
| 158 |
+
"many",
|
| 159 |
+
"maxcount",
|
| 160 |
+
"maxlength",
|
| 161 |
+
"min skew",
|
| 162 |
+
"module",
|
| 163 |
+
"mofn",
|
| 164 |
+
"multiple",
|
| 165 |
+
"named",
|
| 166 |
+
"namespace",
|
| 167 |
+
"nocase",
|
| 168 |
+
"noroot",
|
| 169 |
+
"noscan",
|
| 170 |
+
"nosort",
|
| 171 |
+
"not",
|
| 172 |
+
"noxpath",
|
| 173 |
+
"of",
|
| 174 |
+
"onfail",
|
| 175 |
+
"only",
|
| 176 |
+
"opt",
|
| 177 |
+
"or",
|
| 178 |
+
"outer",
|
| 179 |
+
"overwrite",
|
| 180 |
+
"packed",
|
| 181 |
+
"partition",
|
| 182 |
+
"penalty",
|
| 183 |
+
"physicallength",
|
| 184 |
+
"pipe",
|
| 185 |
+
"prefetch",
|
| 186 |
+
"quote",
|
| 187 |
+
"record",
|
| 188 |
+
"repeat",
|
| 189 |
+
"retry",
|
| 190 |
+
"return",
|
| 191 |
+
"right",
|
| 192 |
+
"right1",
|
| 193 |
+
"right2",
|
| 194 |
+
"rows",
|
| 195 |
+
"rowset",
|
| 196 |
+
"scan",
|
| 197 |
+
"scope",
|
| 198 |
+
"self",
|
| 199 |
+
"separator",
|
| 200 |
+
"service",
|
| 201 |
+
"shared",
|
| 202 |
+
"skew",
|
| 203 |
+
"skip",
|
| 204 |
+
"smart",
|
| 205 |
+
"soapaction",
|
| 206 |
+
"sql",
|
| 207 |
+
"stable",
|
| 208 |
+
"store",
|
| 209 |
+
"terminator",
|
| 210 |
+
"thor",
|
| 211 |
+
"threshold",
|
| 212 |
+
"timelimit",
|
| 213 |
+
"timeout",
|
| 214 |
+
"token",
|
| 215 |
+
"transform",
|
| 216 |
+
"trim",
|
| 217 |
+
"type",
|
| 218 |
+
"unicodeorder",
|
| 219 |
+
"unordered",
|
| 220 |
+
"unsorted",
|
| 221 |
+
"unstable",
|
| 222 |
+
"update",
|
| 223 |
+
"use",
|
| 224 |
+
"validate",
|
| 225 |
+
"virtual",
|
| 226 |
+
"whole",
|
| 227 |
+
"width",
|
| 228 |
+
"wild",
|
| 229 |
+
"within",
|
| 230 |
+
"wnotrim",
|
| 231 |
+
"xml",
|
| 232 |
+
"xpath"
|
| 233 |
+
],
|
| 234 |
+
functions: [
|
| 235 |
+
"abs",
|
| 236 |
+
"acos",
|
| 237 |
+
"aggregate",
|
| 238 |
+
"allnodes",
|
| 239 |
+
"apply",
|
| 240 |
+
"ascii",
|
| 241 |
+
"asin",
|
| 242 |
+
"assert",
|
| 243 |
+
"asstring",
|
| 244 |
+
"atan",
|
| 245 |
+
"atan2",
|
| 246 |
+
"ave",
|
| 247 |
+
"build",
|
| 248 |
+
"buildindex",
|
| 249 |
+
"case",
|
| 250 |
+
"catch",
|
| 251 |
+
"choose",
|
| 252 |
+
"choosen",
|
| 253 |
+
"choosesets",
|
| 254 |
+
"clustersize",
|
| 255 |
+
"combine",
|
| 256 |
+
"correlation",
|
| 257 |
+
"cos",
|
| 258 |
+
"cosh",
|
| 259 |
+
"count",
|
| 260 |
+
"covariance",
|
| 261 |
+
"cron",
|
| 262 |
+
"dataset",
|
| 263 |
+
"dedup",
|
| 264 |
+
"define",
|
| 265 |
+
"denormalize",
|
| 266 |
+
"dictionary",
|
| 267 |
+
"distribute",
|
| 268 |
+
"distributed",
|
| 269 |
+
"distribution",
|
| 270 |
+
"ebcdic",
|
| 271 |
+
"enth",
|
| 272 |
+
"error",
|
| 273 |
+
"evaluate",
|
| 274 |
+
"event",
|
| 275 |
+
"eventextra",
|
| 276 |
+
"eventname",
|
| 277 |
+
"exists",
|
| 278 |
+
"exp",
|
| 279 |
+
"fail",
|
| 280 |
+
"failcode",
|
| 281 |
+
"failmessage",
|
| 282 |
+
"fetch",
|
| 283 |
+
"fromunicode",
|
| 284 |
+
"fromxml",
|
| 285 |
+
"getenv",
|
| 286 |
+
"getisvalid",
|
| 287 |
+
"global",
|
| 288 |
+
"graph",
|
| 289 |
+
"group",
|
| 290 |
+
"hash",
|
| 291 |
+
"hash32",
|
| 292 |
+
"hash64",
|
| 293 |
+
"hashcrc",
|
| 294 |
+
"hashmd5",
|
| 295 |
+
"having",
|
| 296 |
+
"httpcall",
|
| 297 |
+
"httpheader",
|
| 298 |
+
"if",
|
| 299 |
+
"iff",
|
| 300 |
+
"index",
|
| 301 |
+
"intformat",
|
| 302 |
+
"isvalid",
|
| 303 |
+
"iterate",
|
| 304 |
+
"join",
|
| 305 |
+
"keydiff",
|
| 306 |
+
"keypatch",
|
| 307 |
+
"keyunicode",
|
| 308 |
+
"length",
|
| 309 |
+
"library",
|
| 310 |
+
"limit",
|
| 311 |
+
"ln",
|
| 312 |
+
"loadxml",
|
| 313 |
+
"local",
|
| 314 |
+
"log",
|
| 315 |
+
"loop",
|
| 316 |
+
"map",
|
| 317 |
+
"matched",
|
| 318 |
+
"matchlength",
|
| 319 |
+
"matchposition",
|
| 320 |
+
"matchtext",
|
| 321 |
+
"matchunicode",
|
| 322 |
+
"max",
|
| 323 |
+
"merge",
|
| 324 |
+
"mergejoin",
|
| 325 |
+
"min",
|
| 326 |
+
"nofold",
|
| 327 |
+
"nolocal",
|
| 328 |
+
"nonempty",
|
| 329 |
+
"normalize",
|
| 330 |
+
"nothor",
|
| 331 |
+
"notify",
|
| 332 |
+
"output",
|
| 333 |
+
"parallel",
|
| 334 |
+
"parse",
|
| 335 |
+
"pipe",
|
| 336 |
+
"power",
|
| 337 |
+
"preload",
|
| 338 |
+
"process",
|
| 339 |
+
"project",
|
| 340 |
+
"pull",
|
| 341 |
+
"random",
|
| 342 |
+
"range",
|
| 343 |
+
"rank",
|
| 344 |
+
"ranked",
|
| 345 |
+
"realformat",
|
| 346 |
+
"recordof",
|
| 347 |
+
"regexfind",
|
| 348 |
+
"regexreplace",
|
| 349 |
+
"regroup",
|
| 350 |
+
"rejected",
|
| 351 |
+
"rollup",
|
| 352 |
+
"round",
|
| 353 |
+
"roundup",
|
| 354 |
+
"row",
|
| 355 |
+
"rowdiff",
|
| 356 |
+
"sample",
|
| 357 |
+
"sequential",
|
| 358 |
+
"set",
|
| 359 |
+
"sin",
|
| 360 |
+
"sinh",
|
| 361 |
+
"sizeof",
|
| 362 |
+
"soapcall",
|
| 363 |
+
"sort",
|
| 364 |
+
"sorted",
|
| 365 |
+
"sqrt",
|
| 366 |
+
"stepped",
|
| 367 |
+
"stored",
|
| 368 |
+
"sum",
|
| 369 |
+
"table",
|
| 370 |
+
"tan",
|
| 371 |
+
"tanh",
|
| 372 |
+
"thisnode",
|
| 373 |
+
"topn",
|
| 374 |
+
"tounicode",
|
| 375 |
+
"toxml",
|
| 376 |
+
"transfer",
|
| 377 |
+
"transform",
|
| 378 |
+
"trim",
|
| 379 |
+
"truncate",
|
| 380 |
+
"typeof",
|
| 381 |
+
"ungroup",
|
| 382 |
+
"unicodeorder",
|
| 383 |
+
"variance",
|
| 384 |
+
"wait",
|
| 385 |
+
"which",
|
| 386 |
+
"workunit",
|
| 387 |
+
"xmldecode",
|
| 388 |
+
"xmlencode",
|
| 389 |
+
"xmltext",
|
| 390 |
+
"xmlunicode"
|
| 391 |
+
],
|
| 392 |
+
typesint: ["integer", "unsigned"].join("|"),
|
| 393 |
+
typesnum: ["data", "qstring", "string", "unicode", "utf8", "varstring", "varunicode"],
|
| 394 |
+
typesone: [
|
| 395 |
+
"ascii",
|
| 396 |
+
"big_endian",
|
| 397 |
+
"boolean",
|
| 398 |
+
"data",
|
| 399 |
+
"decimal",
|
| 400 |
+
"ebcdic",
|
| 401 |
+
"grouped",
|
| 402 |
+
"integer",
|
| 403 |
+
"linkcounted",
|
| 404 |
+
"pattern",
|
| 405 |
+
"qstring",
|
| 406 |
+
"real",
|
| 407 |
+
"record",
|
| 408 |
+
"rule",
|
| 409 |
+
"set of",
|
| 410 |
+
"streamed",
|
| 411 |
+
"string",
|
| 412 |
+
"token",
|
| 413 |
+
"udecimal",
|
| 414 |
+
"unicode",
|
| 415 |
+
"unsigned",
|
| 416 |
+
"utf8",
|
| 417 |
+
"varstring",
|
| 418 |
+
"varunicode"
|
| 419 |
+
].join("|"),
|
| 420 |
+
operators: ["+", "-", "/", ":=", "<", "<>", "=", ">", "\\", "and", "in", "not", "or"],
|
| 421 |
+
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
| 422 |
+
// escape sequences
|
| 423 |
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
| 424 |
+
// The main tokenizer for our languages
|
| 425 |
+
tokenizer: {
|
| 426 |
+
root: [
|
| 427 |
+
[/@typesint[4|8]/, "type"],
|
| 428 |
+
[/#(@pounds)/, "type"],
|
| 429 |
+
[/@typesone/, "type"],
|
| 430 |
+
[
|
| 431 |
+
/[a-zA-Z_$][\w-$]*/,
|
| 432 |
+
{
|
| 433 |
+
cases: {
|
| 434 |
+
"@functions": "keyword.function",
|
| 435 |
+
"@keywords": "keyword",
|
| 436 |
+
"@operators": "operator"
|
| 437 |
+
}
|
| 438 |
+
}
|
| 439 |
+
],
|
| 440 |
+
// whitespace
|
| 441 |
+
{ include: "@whitespace" },
|
| 442 |
+
[/[{}()\[\]]/, "@brackets"],
|
| 443 |
+
[/[<>](?!@symbols)/, "@brackets"],
|
| 444 |
+
[
|
| 445 |
+
/@symbols/,
|
| 446 |
+
{
|
| 447 |
+
cases: {
|
| 448 |
+
"@operators": "delimiter",
|
| 449 |
+
"@default": ""
|
| 450 |
+
}
|
| 451 |
+
}
|
| 452 |
+
],
|
| 453 |
+
// numbers
|
| 454 |
+
[/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?/, "number.float"],
|
| 455 |
+
[/0[xX][0-9a-fA-F_]+/, "number.hex"],
|
| 456 |
+
[/0[bB][01]+/, "number.hex"],
|
| 457 |
+
// binary: use same theme style as hex
|
| 458 |
+
[/[0-9_]+/, "number"],
|
| 459 |
+
// delimiter: after number because of .\d floats
|
| 460 |
+
[/[;,.]/, "delimiter"],
|
| 461 |
+
// strings
|
| 462 |
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
| 463 |
+
[/"/, "string", "@string"],
|
| 464 |
+
// characters
|
| 465 |
+
[/'[^\\']'/, "string"],
|
| 466 |
+
[/(')(@escapes)(')/, ["string", "string.escape", "string"]],
|
| 467 |
+
[/'/, "string.invalid"]
|
| 468 |
+
],
|
| 469 |
+
whitespace: [
|
| 470 |
+
[/[ \t\v\f\r\n]+/, ""],
|
| 471 |
+
[/\/\*/, "comment", "@comment"],
|
| 472 |
+
[/\/\/.*$/, "comment"]
|
| 473 |
+
],
|
| 474 |
+
comment: [
|
| 475 |
+
[/[^\/*]+/, "comment"],
|
| 476 |
+
[/\*\//, "comment", "@pop"],
|
| 477 |
+
[/[\/*]/, "comment"]
|
| 478 |
+
],
|
| 479 |
+
string: [
|
| 480 |
+
[/[^\\']+/, "string"],
|
| 481 |
+
[/@escapes/, "string.escape"],
|
| 482 |
+
[/\\./, "string.escape.invalid"],
|
| 483 |
+
[/'/, "string", "@pop"]
|
| 484 |
+
]
|
| 485 |
+
}
|
| 486 |
+
};
|
| 487 |
+
return __toCommonJS(ecl_exports);
|
| 488 |
+
})();
|
| 489 |
+
return moduleExports;
|
| 490 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/elixir/elixir.js
ADDED
|
@@ -0,0 +1,603 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/elixir/elixir", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/elixir/elixir.ts
|
| 29 |
+
var elixir_exports = {};
|
| 30 |
+
__export(elixir_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
comments: {
|
| 36 |
+
lineComment: "#"
|
| 37 |
+
},
|
| 38 |
+
brackets: [
|
| 39 |
+
["{", "}"],
|
| 40 |
+
["[", "]"],
|
| 41 |
+
["(", ")"]
|
| 42 |
+
],
|
| 43 |
+
surroundingPairs: [
|
| 44 |
+
{ open: "{", close: "}" },
|
| 45 |
+
{ open: "[", close: "]" },
|
| 46 |
+
{ open: "(", close: ")" },
|
| 47 |
+
{ open: "'", close: "'" },
|
| 48 |
+
{ open: '"', close: '"' }
|
| 49 |
+
],
|
| 50 |
+
autoClosingPairs: [
|
| 51 |
+
{ open: "'", close: "'", notIn: ["string", "comment"] },
|
| 52 |
+
{ open: '"', close: '"', notIn: ["comment"] },
|
| 53 |
+
{ open: '"""', close: '"""' },
|
| 54 |
+
{ open: "`", close: "`", notIn: ["string", "comment"] },
|
| 55 |
+
{ open: "(", close: ")" },
|
| 56 |
+
{ open: "{", close: "}" },
|
| 57 |
+
{ open: "[", close: "]" },
|
| 58 |
+
{ open: "<<", close: ">>" }
|
| 59 |
+
],
|
| 60 |
+
indentationRules: {
|
| 61 |
+
increaseIndentPattern: /^\s*(after|else|catch|rescue|fn|[^#]*(do|<\-|\->|\{|\[|\=))\s*$/,
|
| 62 |
+
decreaseIndentPattern: /^\s*((\}|\])\s*$|(after|else|catch|rescue|end)\b)/
|
| 63 |
+
}
|
| 64 |
+
};
|
| 65 |
+
var language = {
|
| 66 |
+
defaultToken: "source",
|
| 67 |
+
tokenPostfix: ".elixir",
|
| 68 |
+
brackets: [
|
| 69 |
+
{ open: "[", close: "]", token: "delimiter.square" },
|
| 70 |
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
| 71 |
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
| 72 |
+
{ open: "<<", close: ">>", token: "delimiter.angle.special" }
|
| 73 |
+
],
|
| 74 |
+
// Below are lists/regexps to which we reference later.
|
| 75 |
+
declarationKeywords: [
|
| 76 |
+
"def",
|
| 77 |
+
"defp",
|
| 78 |
+
"defn",
|
| 79 |
+
"defnp",
|
| 80 |
+
"defguard",
|
| 81 |
+
"defguardp",
|
| 82 |
+
"defmacro",
|
| 83 |
+
"defmacrop",
|
| 84 |
+
"defdelegate",
|
| 85 |
+
"defcallback",
|
| 86 |
+
"defmacrocallback",
|
| 87 |
+
"defmodule",
|
| 88 |
+
"defprotocol",
|
| 89 |
+
"defexception",
|
| 90 |
+
"defimpl",
|
| 91 |
+
"defstruct"
|
| 92 |
+
],
|
| 93 |
+
operatorKeywords: ["and", "in", "not", "or", "when"],
|
| 94 |
+
namespaceKeywords: ["alias", "import", "require", "use"],
|
| 95 |
+
otherKeywords: [
|
| 96 |
+
"after",
|
| 97 |
+
"case",
|
| 98 |
+
"catch",
|
| 99 |
+
"cond",
|
| 100 |
+
"do",
|
| 101 |
+
"else",
|
| 102 |
+
"end",
|
| 103 |
+
"fn",
|
| 104 |
+
"for",
|
| 105 |
+
"if",
|
| 106 |
+
"quote",
|
| 107 |
+
"raise",
|
| 108 |
+
"receive",
|
| 109 |
+
"rescue",
|
| 110 |
+
"super",
|
| 111 |
+
"throw",
|
| 112 |
+
"try",
|
| 113 |
+
"unless",
|
| 114 |
+
"unquote_splicing",
|
| 115 |
+
"unquote",
|
| 116 |
+
"with"
|
| 117 |
+
],
|
| 118 |
+
constants: ["true", "false", "nil"],
|
| 119 |
+
nameBuiltin: ["__MODULE__", "__DIR__", "__ENV__", "__CALLER__", "__STACKTRACE__"],
|
| 120 |
+
// Matches any of the operator names:
|
| 121 |
+
// <<< >>> ||| &&& ^^^ ~~~ === !== ~>> <~> |~> <|> == != <= >= && || \\ <> ++ -- |> =~ -> <- ~> <~ :: .. = < > + - * / | . ^ & !
|
| 122 |
+
operator: /-[->]?|!={0,2}|\*{1,2}|\/|\\\\|&{1,3}|\.\.?|\^(?:\^\^)?|\+\+?|<(?:-|<<|=|>|\|>|~>?)?|=~|={1,3}|>(?:=|>>)?|\|~>|\|>|\|{1,3}|~>>?|~~~|::/,
|
| 123 |
+
// See https://hexdocs.pm/elixir/syntax-reference.html#variables
|
| 124 |
+
variableName: /[a-z_][a-zA-Z0-9_]*[?!]?/,
|
| 125 |
+
// See https://hexdocs.pm/elixir/syntax-reference.html#atoms
|
| 126 |
+
atomName: /[a-zA-Z_][a-zA-Z0-9_@]*[?!]?|@specialAtomName|@operator/,
|
| 127 |
+
specialAtomName: /\.\.\.|<<>>|%\{\}|%|\{\}/,
|
| 128 |
+
aliasPart: /[A-Z][a-zA-Z0-9_]*/,
|
| 129 |
+
moduleName: /@aliasPart(?:\.@aliasPart)*/,
|
| 130 |
+
// Sigil pairs are: """ """, ''' ''', " ", ' ', / /, | |, < >, { }, [ ], ( )
|
| 131 |
+
sigilSymmetricDelimiter: /"""|'''|"|'|\/|\|/,
|
| 132 |
+
sigilStartDelimiter: /@sigilSymmetricDelimiter|<|\{|\[|\(/,
|
| 133 |
+
sigilEndDelimiter: /@sigilSymmetricDelimiter|>|\}|\]|\)/,
|
| 134 |
+
sigilModifiers: /[a-zA-Z0-9]*/,
|
| 135 |
+
decimal: /\d(?:_?\d)*/,
|
| 136 |
+
hex: /[0-9a-fA-F](_?[0-9a-fA-F])*/,
|
| 137 |
+
octal: /[0-7](_?[0-7])*/,
|
| 138 |
+
binary: /[01](_?[01])*/,
|
| 139 |
+
// See https://hexdocs.pm/elixir/master/String.html#module-escape-characters
|
| 140 |
+
escape: /\\u[0-9a-fA-F]{4}|\\x[0-9a-fA-F]{2}|\\./,
|
| 141 |
+
// The keys below correspond to tokenizer states.
|
| 142 |
+
// We start from the root state and match against its rules
|
| 143 |
+
// until we explicitly transition into another state.
|
| 144 |
+
// The `include` simply brings in all operations from the given state
|
| 145 |
+
// and is useful for improving readability.
|
| 146 |
+
tokenizer: {
|
| 147 |
+
root: [
|
| 148 |
+
{ include: "@whitespace" },
|
| 149 |
+
{ include: "@comments" },
|
| 150 |
+
// Keywords start as either an identifier or a string,
|
| 151 |
+
// but end with a : so it's important to match this first.
|
| 152 |
+
{ include: "@keywordsShorthand" },
|
| 153 |
+
{ include: "@numbers" },
|
| 154 |
+
{ include: "@identifiers" },
|
| 155 |
+
{ include: "@strings" },
|
| 156 |
+
{ include: "@atoms" },
|
| 157 |
+
{ include: "@sigils" },
|
| 158 |
+
{ include: "@attributes" },
|
| 159 |
+
{ include: "@symbols" }
|
| 160 |
+
],
|
| 161 |
+
// Whitespace
|
| 162 |
+
whitespace: [[/\s+/, "white"]],
|
| 163 |
+
// Comments
|
| 164 |
+
comments: [[/(#)(.*)/, ["comment.punctuation", "comment"]]],
|
| 165 |
+
// Keyword list shorthand
|
| 166 |
+
keywordsShorthand: [
|
| 167 |
+
[/(@atomName)(:)(\s+)/, ["constant", "constant.punctuation", "white"]],
|
| 168 |
+
// Use positive look-ahead to ensure the string is followed by :
|
| 169 |
+
// and should be considered a keyword.
|
| 170 |
+
[
|
| 171 |
+
/"(?=([^"]|#\{.*?\}|\\")*":)/,
|
| 172 |
+
{ token: "constant.delimiter", next: "@doubleQuotedStringKeyword" }
|
| 173 |
+
],
|
| 174 |
+
[
|
| 175 |
+
/'(?=([^']|#\{.*?\}|\\')*':)/,
|
| 176 |
+
{ token: "constant.delimiter", next: "@singleQuotedStringKeyword" }
|
| 177 |
+
]
|
| 178 |
+
],
|
| 179 |
+
doubleQuotedStringKeyword: [
|
| 180 |
+
[/":/, { token: "constant.delimiter", next: "@pop" }],
|
| 181 |
+
{ include: "@stringConstantContentInterpol" }
|
| 182 |
+
],
|
| 183 |
+
singleQuotedStringKeyword: [
|
| 184 |
+
[/':/, { token: "constant.delimiter", next: "@pop" }],
|
| 185 |
+
{ include: "@stringConstantContentInterpol" }
|
| 186 |
+
],
|
| 187 |
+
// Numbers
|
| 188 |
+
numbers: [
|
| 189 |
+
[/0b@binary/, "number.binary"],
|
| 190 |
+
[/0o@octal/, "number.octal"],
|
| 191 |
+
[/0x@hex/, "number.hex"],
|
| 192 |
+
[/@decimal\.@decimal([eE]-?@decimal)?/, "number.float"],
|
| 193 |
+
[/@decimal/, "number"]
|
| 194 |
+
],
|
| 195 |
+
// Identifiers
|
| 196 |
+
identifiers: [
|
| 197 |
+
// Tokenize identifier name in function-like definitions.
|
| 198 |
+
// Note: given `def a + b, do: nil`, `a` is not a function name,
|
| 199 |
+
// so we use negative look-ahead to ensure there's no operator.
|
| 200 |
+
[
|
| 201 |
+
/\b(defp?|defnp?|defmacrop?|defguardp?|defdelegate)(\s+)(@variableName)(?!\s+@operator)/,
|
| 202 |
+
[
|
| 203 |
+
"keyword.declaration",
|
| 204 |
+
"white",
|
| 205 |
+
{
|
| 206 |
+
cases: {
|
| 207 |
+
unquote: "keyword",
|
| 208 |
+
"@default": "function"
|
| 209 |
+
}
|
| 210 |
+
}
|
| 211 |
+
]
|
| 212 |
+
],
|
| 213 |
+
// Tokenize function calls
|
| 214 |
+
[
|
| 215 |
+
// In-scope call - an identifier followed by ( or .(
|
| 216 |
+
/(@variableName)(?=\s*\.?\s*\()/,
|
| 217 |
+
{
|
| 218 |
+
cases: {
|
| 219 |
+
// Tokenize as keyword in cases like `if(..., do: ..., else: ...)`
|
| 220 |
+
"@declarationKeywords": "keyword.declaration",
|
| 221 |
+
"@namespaceKeywords": "keyword",
|
| 222 |
+
"@otherKeywords": "keyword",
|
| 223 |
+
"@default": "function.call"
|
| 224 |
+
}
|
| 225 |
+
}
|
| 226 |
+
],
|
| 227 |
+
[
|
| 228 |
+
// Referencing function in a module
|
| 229 |
+
/(@moduleName)(\s*)(\.)(\s*)(@variableName)/,
|
| 230 |
+
["type.identifier", "white", "operator", "white", "function.call"]
|
| 231 |
+
],
|
| 232 |
+
[
|
| 233 |
+
// Referencing function in an Erlang module
|
| 234 |
+
/(:)(@atomName)(\s*)(\.)(\s*)(@variableName)/,
|
| 235 |
+
["constant.punctuation", "constant", "white", "operator", "white", "function.call"]
|
| 236 |
+
],
|
| 237 |
+
[
|
| 238 |
+
// Piping into a function (tokenized separately as it may not have parentheses)
|
| 239 |
+
/(\|>)(\s*)(@variableName)/,
|
| 240 |
+
[
|
| 241 |
+
"operator",
|
| 242 |
+
"white",
|
| 243 |
+
{
|
| 244 |
+
cases: {
|
| 245 |
+
"@otherKeywords": "keyword",
|
| 246 |
+
"@default": "function.call"
|
| 247 |
+
}
|
| 248 |
+
}
|
| 249 |
+
]
|
| 250 |
+
],
|
| 251 |
+
[
|
| 252 |
+
// Function reference passed to another function
|
| 253 |
+
/(&)(\s*)(@variableName)/,
|
| 254 |
+
["operator", "white", "function.call"]
|
| 255 |
+
],
|
| 256 |
+
// Language keywords, builtins, constants and variables
|
| 257 |
+
[
|
| 258 |
+
/@variableName/,
|
| 259 |
+
{
|
| 260 |
+
cases: {
|
| 261 |
+
"@declarationKeywords": "keyword.declaration",
|
| 262 |
+
"@operatorKeywords": "keyword.operator",
|
| 263 |
+
"@namespaceKeywords": "keyword",
|
| 264 |
+
"@otherKeywords": "keyword",
|
| 265 |
+
"@constants": "constant.language",
|
| 266 |
+
"@nameBuiltin": "variable.language",
|
| 267 |
+
"_.*": "comment.unused",
|
| 268 |
+
"@default": "identifier"
|
| 269 |
+
}
|
| 270 |
+
}
|
| 271 |
+
],
|
| 272 |
+
// Module names
|
| 273 |
+
[/@moduleName/, "type.identifier"]
|
| 274 |
+
],
|
| 275 |
+
// Strings
|
| 276 |
+
strings: [
|
| 277 |
+
[/"""/, { token: "string.delimiter", next: "@doubleQuotedHeredoc" }],
|
| 278 |
+
[/'''/, { token: "string.delimiter", next: "@singleQuotedHeredoc" }],
|
| 279 |
+
[/"/, { token: "string.delimiter", next: "@doubleQuotedString" }],
|
| 280 |
+
[/'/, { token: "string.delimiter", next: "@singleQuotedString" }]
|
| 281 |
+
],
|
| 282 |
+
doubleQuotedHeredoc: [
|
| 283 |
+
[/"""/, { token: "string.delimiter", next: "@pop" }],
|
| 284 |
+
{ include: "@stringContentInterpol" }
|
| 285 |
+
],
|
| 286 |
+
singleQuotedHeredoc: [
|
| 287 |
+
[/'''/, { token: "string.delimiter", next: "@pop" }],
|
| 288 |
+
{ include: "@stringContentInterpol" }
|
| 289 |
+
],
|
| 290 |
+
doubleQuotedString: [
|
| 291 |
+
[/"/, { token: "string.delimiter", next: "@pop" }],
|
| 292 |
+
{ include: "@stringContentInterpol" }
|
| 293 |
+
],
|
| 294 |
+
singleQuotedString: [
|
| 295 |
+
[/'/, { token: "string.delimiter", next: "@pop" }],
|
| 296 |
+
{ include: "@stringContentInterpol" }
|
| 297 |
+
],
|
| 298 |
+
// Atoms
|
| 299 |
+
atoms: [
|
| 300 |
+
[/(:)(@atomName)/, ["constant.punctuation", "constant"]],
|
| 301 |
+
[/:"/, { token: "constant.delimiter", next: "@doubleQuotedStringAtom" }],
|
| 302 |
+
[/:'/, { token: "constant.delimiter", next: "@singleQuotedStringAtom" }]
|
| 303 |
+
],
|
| 304 |
+
doubleQuotedStringAtom: [
|
| 305 |
+
[/"/, { token: "constant.delimiter", next: "@pop" }],
|
| 306 |
+
{ include: "@stringConstantContentInterpol" }
|
| 307 |
+
],
|
| 308 |
+
singleQuotedStringAtom: [
|
| 309 |
+
[/'/, { token: "constant.delimiter", next: "@pop" }],
|
| 310 |
+
{ include: "@stringConstantContentInterpol" }
|
| 311 |
+
],
|
| 312 |
+
// Sigils
|
| 313 |
+
// See https://elixir-lang.org/getting-started/sigils.html
|
| 314 |
+
// Sigils allow for typing values using their textual representation.
|
| 315 |
+
// All sigils start with ~ followed by a letter or
|
| 316 |
+
// multi-letter uppercase starting at Elixir v1.15.0, indicating sigil type
|
| 317 |
+
// and then a delimiter pair enclosing the textual representation.
|
| 318 |
+
// Optional modifiers are allowed after the closing delimiter.
|
| 319 |
+
// For instance a regular expressions can be written as:
|
| 320 |
+
// ~r/foo|bar/ ~r{foo|bar} ~r/foo|bar/g
|
| 321 |
+
//
|
| 322 |
+
// In general lowercase sigils allow for interpolation
|
| 323 |
+
// and escaped characters, whereas uppercase sigils don't
|
| 324 |
+
//
|
| 325 |
+
// During tokenization we want to distinguish some
|
| 326 |
+
// specific sigil types, namely string and regexp,
|
| 327 |
+
// so that they cen be themed separately.
|
| 328 |
+
//
|
| 329 |
+
// To reasonably handle all those combinations we leverage
|
| 330 |
+
// dot-separated states, so if we transition to @sigilStart.interpol.s.{.}
|
| 331 |
+
// then "sigilStart.interpol.s" state will match and also all
|
| 332 |
+
// the individual dot-separated parameters can be accessed.
|
| 333 |
+
sigils: [
|
| 334 |
+
[/~[a-z]@sigilStartDelimiter/, { token: "@rematch", next: "@sigil.interpol" }],
|
| 335 |
+
[/~([A-Z]+)@sigilStartDelimiter/, { token: "@rematch", next: "@sigil.noInterpol" }]
|
| 336 |
+
],
|
| 337 |
+
sigil: [
|
| 338 |
+
[/~([a-z]|[A-Z]+)\{/, { token: "@rematch", switchTo: "@sigilStart.$S2.$1.{.}" }],
|
| 339 |
+
[/~([a-z]|[A-Z]+)\[/, { token: "@rematch", switchTo: "@sigilStart.$S2.$1.[.]" }],
|
| 340 |
+
[/~([a-z]|[A-Z]+)\(/, { token: "@rematch", switchTo: "@sigilStart.$S2.$1.(.)" }],
|
| 341 |
+
[/~([a-z]|[A-Z]+)\</, { token: "@rematch", switchTo: "@sigilStart.$S2.$1.<.>" }],
|
| 342 |
+
[
|
| 343 |
+
/~([a-z]|[A-Z]+)(@sigilSymmetricDelimiter)/,
|
| 344 |
+
{ token: "@rematch", switchTo: "@sigilStart.$S2.$1.$2.$2" }
|
| 345 |
+
]
|
| 346 |
+
],
|
| 347 |
+
// The definitions below expect states to be of the form:
|
| 348 |
+
//
|
| 349 |
+
// sigilStart.<interpol-or-noInterpol>.<sigil-letter>.<start-delimiter>.<end-delimiter>
|
| 350 |
+
// sigilContinue.<interpol-or-noInterpol>.<sigil-letter>.<start-delimiter>.<end-delimiter>
|
| 351 |
+
//
|
| 352 |
+
// The sigilStart state is used only to properly classify the token (as string/regex/sigil)
|
| 353 |
+
// and immediately switches to the sigilContinue sate, which handles the actual content
|
| 354 |
+
// and waits for the corresponding end delimiter.
|
| 355 |
+
"sigilStart.interpol.s": [
|
| 356 |
+
[
|
| 357 |
+
/~s@sigilStartDelimiter/,
|
| 358 |
+
{
|
| 359 |
+
token: "string.delimiter",
|
| 360 |
+
switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
|
| 361 |
+
}
|
| 362 |
+
]
|
| 363 |
+
],
|
| 364 |
+
"sigilContinue.interpol.s": [
|
| 365 |
+
[
|
| 366 |
+
/(@sigilEndDelimiter)@sigilModifiers/,
|
| 367 |
+
{
|
| 368 |
+
cases: {
|
| 369 |
+
"$1==$S5": { token: "string.delimiter", next: "@pop" },
|
| 370 |
+
"@default": "string"
|
| 371 |
+
}
|
| 372 |
+
}
|
| 373 |
+
],
|
| 374 |
+
{ include: "@stringContentInterpol" }
|
| 375 |
+
],
|
| 376 |
+
"sigilStart.noInterpol.S": [
|
| 377 |
+
[
|
| 378 |
+
/~S@sigilStartDelimiter/,
|
| 379 |
+
{
|
| 380 |
+
token: "string.delimiter",
|
| 381 |
+
switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
|
| 382 |
+
}
|
| 383 |
+
]
|
| 384 |
+
],
|
| 385 |
+
"sigilContinue.noInterpol.S": [
|
| 386 |
+
// Ignore escaped sigil end
|
| 387 |
+
[/(^|[^\\])\\@sigilEndDelimiter/, "string"],
|
| 388 |
+
[
|
| 389 |
+
/(@sigilEndDelimiter)@sigilModifiers/,
|
| 390 |
+
{
|
| 391 |
+
cases: {
|
| 392 |
+
"$1==$S5": { token: "string.delimiter", next: "@pop" },
|
| 393 |
+
"@default": "string"
|
| 394 |
+
}
|
| 395 |
+
}
|
| 396 |
+
],
|
| 397 |
+
{ include: "@stringContent" }
|
| 398 |
+
],
|
| 399 |
+
"sigilStart.interpol.r": [
|
| 400 |
+
[
|
| 401 |
+
/~r@sigilStartDelimiter/,
|
| 402 |
+
{
|
| 403 |
+
token: "regexp.delimiter",
|
| 404 |
+
switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
|
| 405 |
+
}
|
| 406 |
+
]
|
| 407 |
+
],
|
| 408 |
+
"sigilContinue.interpol.r": [
|
| 409 |
+
[
|
| 410 |
+
/(@sigilEndDelimiter)@sigilModifiers/,
|
| 411 |
+
{
|
| 412 |
+
cases: {
|
| 413 |
+
"$1==$S5": { token: "regexp.delimiter", next: "@pop" },
|
| 414 |
+
"@default": "regexp"
|
| 415 |
+
}
|
| 416 |
+
}
|
| 417 |
+
],
|
| 418 |
+
{ include: "@regexpContentInterpol" }
|
| 419 |
+
],
|
| 420 |
+
"sigilStart.noInterpol.R": [
|
| 421 |
+
[
|
| 422 |
+
/~R@sigilStartDelimiter/,
|
| 423 |
+
{
|
| 424 |
+
token: "regexp.delimiter",
|
| 425 |
+
switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
|
| 426 |
+
}
|
| 427 |
+
]
|
| 428 |
+
],
|
| 429 |
+
"sigilContinue.noInterpol.R": [
|
| 430 |
+
// Ignore escaped sigil end
|
| 431 |
+
[/(^|[^\\])\\@sigilEndDelimiter/, "regexp"],
|
| 432 |
+
[
|
| 433 |
+
/(@sigilEndDelimiter)@sigilModifiers/,
|
| 434 |
+
{
|
| 435 |
+
cases: {
|
| 436 |
+
"$1==$S5": { token: "regexp.delimiter", next: "@pop" },
|
| 437 |
+
"@default": "regexp"
|
| 438 |
+
}
|
| 439 |
+
}
|
| 440 |
+
],
|
| 441 |
+
{ include: "@regexpContent" }
|
| 442 |
+
],
|
| 443 |
+
// Fallback to the generic sigil by default
|
| 444 |
+
"sigilStart.interpol": [
|
| 445 |
+
[
|
| 446 |
+
/~([a-z]|[A-Z]+)@sigilStartDelimiter/,
|
| 447 |
+
{
|
| 448 |
+
token: "sigil.delimiter",
|
| 449 |
+
switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
|
| 450 |
+
}
|
| 451 |
+
]
|
| 452 |
+
],
|
| 453 |
+
"sigilContinue.interpol": [
|
| 454 |
+
[
|
| 455 |
+
/(@sigilEndDelimiter)@sigilModifiers/,
|
| 456 |
+
{
|
| 457 |
+
cases: {
|
| 458 |
+
"$1==$S5": { token: "sigil.delimiter", next: "@pop" },
|
| 459 |
+
"@default": "sigil"
|
| 460 |
+
}
|
| 461 |
+
}
|
| 462 |
+
],
|
| 463 |
+
{ include: "@sigilContentInterpol" }
|
| 464 |
+
],
|
| 465 |
+
"sigilStart.noInterpol": [
|
| 466 |
+
[
|
| 467 |
+
/~([a-z]|[A-Z]+)@sigilStartDelimiter/,
|
| 468 |
+
{
|
| 469 |
+
token: "sigil.delimiter",
|
| 470 |
+
switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
|
| 471 |
+
}
|
| 472 |
+
]
|
| 473 |
+
],
|
| 474 |
+
"sigilContinue.noInterpol": [
|
| 475 |
+
// Ignore escaped sigil end
|
| 476 |
+
[/(^|[^\\])\\@sigilEndDelimiter/, "sigil"],
|
| 477 |
+
[
|
| 478 |
+
/(@sigilEndDelimiter)@sigilModifiers/,
|
| 479 |
+
{
|
| 480 |
+
cases: {
|
| 481 |
+
"$1==$S5": { token: "sigil.delimiter", next: "@pop" },
|
| 482 |
+
"@default": "sigil"
|
| 483 |
+
}
|
| 484 |
+
}
|
| 485 |
+
],
|
| 486 |
+
{ include: "@sigilContent" }
|
| 487 |
+
],
|
| 488 |
+
// Attributes
|
| 489 |
+
attributes: [
|
| 490 |
+
// Module @doc* attributes - tokenized as comments
|
| 491 |
+
[
|
| 492 |
+
/\@(module|type)?doc (~[sS])?"""/,
|
| 493 |
+
{
|
| 494 |
+
token: "comment.block.documentation",
|
| 495 |
+
next: "@doubleQuotedHeredocDocstring"
|
| 496 |
+
}
|
| 497 |
+
],
|
| 498 |
+
[
|
| 499 |
+
/\@(module|type)?doc (~[sS])?'''/,
|
| 500 |
+
{
|
| 501 |
+
token: "comment.block.documentation",
|
| 502 |
+
next: "@singleQuotedHeredocDocstring"
|
| 503 |
+
}
|
| 504 |
+
],
|
| 505 |
+
[
|
| 506 |
+
/\@(module|type)?doc (~[sS])?"/,
|
| 507 |
+
{
|
| 508 |
+
token: "comment.block.documentation",
|
| 509 |
+
next: "@doubleQuotedStringDocstring"
|
| 510 |
+
}
|
| 511 |
+
],
|
| 512 |
+
[
|
| 513 |
+
/\@(module|type)?doc (~[sS])?'/,
|
| 514 |
+
{
|
| 515 |
+
token: "comment.block.documentation",
|
| 516 |
+
next: "@singleQuotedStringDocstring"
|
| 517 |
+
}
|
| 518 |
+
],
|
| 519 |
+
[/\@(module|type)?doc false/, "comment.block.documentation"],
|
| 520 |
+
// Module attributes
|
| 521 |
+
[/\@(@variableName)/, "variable"]
|
| 522 |
+
],
|
| 523 |
+
doubleQuotedHeredocDocstring: [
|
| 524 |
+
[/"""/, { token: "comment.block.documentation", next: "@pop" }],
|
| 525 |
+
{ include: "@docstringContent" }
|
| 526 |
+
],
|
| 527 |
+
singleQuotedHeredocDocstring: [
|
| 528 |
+
[/'''/, { token: "comment.block.documentation", next: "@pop" }],
|
| 529 |
+
{ include: "@docstringContent" }
|
| 530 |
+
],
|
| 531 |
+
doubleQuotedStringDocstring: [
|
| 532 |
+
[/"/, { token: "comment.block.documentation", next: "@pop" }],
|
| 533 |
+
{ include: "@docstringContent" }
|
| 534 |
+
],
|
| 535 |
+
singleQuotedStringDocstring: [
|
| 536 |
+
[/'/, { token: "comment.block.documentation", next: "@pop" }],
|
| 537 |
+
{ include: "@docstringContent" }
|
| 538 |
+
],
|
| 539 |
+
// Operators, punctuation, brackets
|
| 540 |
+
symbols: [
|
| 541 |
+
// Code point operator (either with regular character ?a or an escaped one ?\n)
|
| 542 |
+
[/\?(\\.|[^\\\s])/, "number.constant"],
|
| 543 |
+
// Anonymous function arguments
|
| 544 |
+
[/&\d+/, "operator"],
|
| 545 |
+
// Bitshift operators (must go before delimiters, so that << >> don't match first)
|
| 546 |
+
[/<<<|>>>/, "operator"],
|
| 547 |
+
// Delimiter pairs
|
| 548 |
+
[/[()\[\]\{\}]|<<|>>/, "@brackets"],
|
| 549 |
+
// Triple dot is a valid name (must go before operators, so that .. doesn't match instead)
|
| 550 |
+
[/\.\.\./, "identifier"],
|
| 551 |
+
// Punctuation => (must go before operators, so it's not tokenized as = then >)
|
| 552 |
+
[/=>/, "punctuation"],
|
| 553 |
+
// Operators
|
| 554 |
+
[/@operator/, "operator"],
|
| 555 |
+
// Punctuation
|
| 556 |
+
[/[:;,.%]/, "punctuation"]
|
| 557 |
+
],
|
| 558 |
+
// Generic helpers
|
| 559 |
+
stringContentInterpol: [
|
| 560 |
+
{ include: "@interpolation" },
|
| 561 |
+
{ include: "@escapeChar" },
|
| 562 |
+
{ include: "@stringContent" }
|
| 563 |
+
],
|
| 564 |
+
stringContent: [[/./, "string"]],
|
| 565 |
+
stringConstantContentInterpol: [
|
| 566 |
+
{ include: "@interpolation" },
|
| 567 |
+
{ include: "@escapeChar" },
|
| 568 |
+
{ include: "@stringConstantContent" }
|
| 569 |
+
],
|
| 570 |
+
stringConstantContent: [[/./, "constant"]],
|
| 571 |
+
regexpContentInterpol: [
|
| 572 |
+
{ include: "@interpolation" },
|
| 573 |
+
{ include: "@escapeChar" },
|
| 574 |
+
{ include: "@regexpContent" }
|
| 575 |
+
],
|
| 576 |
+
regexpContent: [
|
| 577 |
+
// # may be a regular regexp char, so we use a heuristic
|
| 578 |
+
// assuming a # surrounded by whitespace is actually a comment.
|
| 579 |
+
[/(\s)(#)(\s.*)$/, ["white", "comment.punctuation", "comment"]],
|
| 580 |
+
[/./, "regexp"]
|
| 581 |
+
],
|
| 582 |
+
sigilContentInterpol: [
|
| 583 |
+
{ include: "@interpolation" },
|
| 584 |
+
{ include: "@escapeChar" },
|
| 585 |
+
{ include: "@sigilContent" }
|
| 586 |
+
],
|
| 587 |
+
sigilContent: [[/./, "sigil"]],
|
| 588 |
+
docstringContent: [[/./, "comment.block.documentation"]],
|
| 589 |
+
escapeChar: [[/@escape/, "constant.character.escape"]],
|
| 590 |
+
interpolation: [[/#{/, { token: "delimiter.bracket.embed", next: "@interpolationContinue" }]],
|
| 591 |
+
interpolationContinue: [
|
| 592 |
+
[/}/, { token: "delimiter.bracket.embed", next: "@pop" }],
|
| 593 |
+
// Interpolation brackets may contain arbitrary code,
|
| 594 |
+
// so we simply match against all the root rules,
|
| 595 |
+
// until we reach interpolation end (the above matches).
|
| 596 |
+
{ include: "@root" }
|
| 597 |
+
]
|
| 598 |
+
}
|
| 599 |
+
};
|
| 600 |
+
return __toCommonJS(elixir_exports);
|
| 601 |
+
})();
|
| 602 |
+
return moduleExports;
|
| 603 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/flow9/flow9.js
ADDED
|
@@ -0,0 +1,176 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/flow9/flow9", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/flow9/flow9.ts
|
| 29 |
+
var flow9_exports = {};
|
| 30 |
+
__export(flow9_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
comments: {
|
| 36 |
+
blockComment: ["/*", "*/"],
|
| 37 |
+
lineComment: "//"
|
| 38 |
+
},
|
| 39 |
+
brackets: [
|
| 40 |
+
["{", "}"],
|
| 41 |
+
["[", "]"],
|
| 42 |
+
["(", ")"]
|
| 43 |
+
],
|
| 44 |
+
autoClosingPairs: [
|
| 45 |
+
{ open: "{", close: "}", notIn: ["string"] },
|
| 46 |
+
{ open: "[", close: "]", notIn: ["string"] },
|
| 47 |
+
{ open: "(", close: ")", notIn: ["string"] },
|
| 48 |
+
{ open: '"', close: '"', notIn: ["string"] },
|
| 49 |
+
{ open: "'", close: "'", notIn: ["string"] }
|
| 50 |
+
],
|
| 51 |
+
surroundingPairs: [
|
| 52 |
+
{ open: "{", close: "}" },
|
| 53 |
+
{ open: "[", close: "]" },
|
| 54 |
+
{ open: "(", close: ")" },
|
| 55 |
+
{ open: '"', close: '"' },
|
| 56 |
+
{ open: "'", close: "'" },
|
| 57 |
+
{ open: "<", close: ">" }
|
| 58 |
+
]
|
| 59 |
+
};
|
| 60 |
+
var language = {
|
| 61 |
+
defaultToken: "",
|
| 62 |
+
tokenPostfix: ".flow",
|
| 63 |
+
keywords: [
|
| 64 |
+
"import",
|
| 65 |
+
"require",
|
| 66 |
+
"export",
|
| 67 |
+
"forbid",
|
| 68 |
+
"native",
|
| 69 |
+
"if",
|
| 70 |
+
"else",
|
| 71 |
+
"cast",
|
| 72 |
+
"unsafe",
|
| 73 |
+
"switch",
|
| 74 |
+
"default"
|
| 75 |
+
],
|
| 76 |
+
types: [
|
| 77 |
+
"io",
|
| 78 |
+
"mutable",
|
| 79 |
+
"bool",
|
| 80 |
+
"int",
|
| 81 |
+
"double",
|
| 82 |
+
"string",
|
| 83 |
+
"flow",
|
| 84 |
+
"void",
|
| 85 |
+
"ref",
|
| 86 |
+
"true",
|
| 87 |
+
"false",
|
| 88 |
+
"with"
|
| 89 |
+
],
|
| 90 |
+
operators: [
|
| 91 |
+
"=",
|
| 92 |
+
">",
|
| 93 |
+
"<",
|
| 94 |
+
"<=",
|
| 95 |
+
">=",
|
| 96 |
+
"==",
|
| 97 |
+
"!",
|
| 98 |
+
"!=",
|
| 99 |
+
":=",
|
| 100 |
+
"::=",
|
| 101 |
+
"&&",
|
| 102 |
+
"||",
|
| 103 |
+
"+",
|
| 104 |
+
"-",
|
| 105 |
+
"*",
|
| 106 |
+
"/",
|
| 107 |
+
"@",
|
| 108 |
+
"&",
|
| 109 |
+
"%",
|
| 110 |
+
":",
|
| 111 |
+
"->",
|
| 112 |
+
"\\",
|
| 113 |
+
"$",
|
| 114 |
+
"??",
|
| 115 |
+
"^"
|
| 116 |
+
],
|
| 117 |
+
symbols: /[@$=><!~?:&|+\-*\\\/\^%]+/,
|
| 118 |
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
| 119 |
+
// The main tokenizer for our languages
|
| 120 |
+
tokenizer: {
|
| 121 |
+
root: [
|
| 122 |
+
// identifiers and keywords
|
| 123 |
+
[
|
| 124 |
+
/[a-zA-Z_]\w*/,
|
| 125 |
+
{
|
| 126 |
+
cases: {
|
| 127 |
+
"@keywords": "keyword",
|
| 128 |
+
"@types": "type",
|
| 129 |
+
"@default": "identifier"
|
| 130 |
+
}
|
| 131 |
+
}
|
| 132 |
+
],
|
| 133 |
+
// whitespace
|
| 134 |
+
{ include: "@whitespace" },
|
| 135 |
+
// delimiters and operators
|
| 136 |
+
[/[{}()\[\]]/, "delimiter"],
|
| 137 |
+
[/[<>](?!@symbols)/, "delimiter"],
|
| 138 |
+
[
|
| 139 |
+
/@symbols/,
|
| 140 |
+
{
|
| 141 |
+
cases: {
|
| 142 |
+
"@operators": "delimiter",
|
| 143 |
+
"@default": ""
|
| 144 |
+
}
|
| 145 |
+
}
|
| 146 |
+
],
|
| 147 |
+
// numbers
|
| 148 |
+
[/((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)/, "number"],
|
| 149 |
+
// delimiter: after number because of .\d floats
|
| 150 |
+
[/[;,.]/, "delimiter"],
|
| 151 |
+
// strings
|
| 152 |
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
| 153 |
+
[/"/, "string", "@string"]
|
| 154 |
+
],
|
| 155 |
+
whitespace: [
|
| 156 |
+
[/[ \t\r\n]+/, ""],
|
| 157 |
+
[/\/\*/, "comment", "@comment"],
|
| 158 |
+
[/\/\/.*$/, "comment"]
|
| 159 |
+
],
|
| 160 |
+
comment: [
|
| 161 |
+
[/[^\/*]+/, "comment"],
|
| 162 |
+
[/\*\//, "comment", "@pop"],
|
| 163 |
+
[/[\/*]/, "comment"]
|
| 164 |
+
],
|
| 165 |
+
string: [
|
| 166 |
+
[/[^\\"]+/, "string"],
|
| 167 |
+
[/@escapes/, "string.escape"],
|
| 168 |
+
[/\\./, "string.escape.invalid"],
|
| 169 |
+
[/"/, "string", "@pop"]
|
| 170 |
+
]
|
| 171 |
+
}
|
| 172 |
+
};
|
| 173 |
+
return __toCommonJS(flow9_exports);
|
| 174 |
+
})();
|
| 175 |
+
return moduleExports;
|
| 176 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/freemarker2/freemarker2.js
ADDED
|
@@ -0,0 +1,1062 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/freemarker2/freemarker2", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __create = Object.create;
|
| 11 |
+
var __defProp = Object.defineProperty;
|
| 12 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 13 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 14 |
+
var __getProtoOf = Object.getPrototypeOf;
|
| 15 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 16 |
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
| 17 |
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
| 18 |
+
}) : x)(function(x) {
|
| 19 |
+
if (typeof require !== "undefined")
|
| 20 |
+
return require.apply(this, arguments);
|
| 21 |
+
throw Error('Dynamic require of "' + x + '" is not supported');
|
| 22 |
+
});
|
| 23 |
+
var __commonJS = (cb, mod) => function __require2() {
|
| 24 |
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
| 25 |
+
};
|
| 26 |
+
var __export = (target, all) => {
|
| 27 |
+
for (var name in all)
|
| 28 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 29 |
+
};
|
| 30 |
+
var __copyProps = (to, from, except, desc) => {
|
| 31 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 32 |
+
for (let key of __getOwnPropNames(from))
|
| 33 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 34 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 35 |
+
}
|
| 36 |
+
return to;
|
| 37 |
+
};
|
| 38 |
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
| 39 |
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
| 40 |
+
// If the importer is in node compatibility mode or this is not an ESM
|
| 41 |
+
// file that has been converted to a CommonJS file using a Babel-
|
| 42 |
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
| 43 |
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
| 44 |
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
| 45 |
+
mod
|
| 46 |
+
));
|
| 47 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 48 |
+
|
| 49 |
+
// src/fillers/monaco-editor-core-amd.ts
|
| 50 |
+
var require_monaco_editor_core_amd = __commonJS({
|
| 51 |
+
"src/fillers/monaco-editor-core-amd.ts"(exports, module) {
|
| 52 |
+
var api = __toESM(__require("vs/editor/editor.api"));
|
| 53 |
+
module.exports = api;
|
| 54 |
+
}
|
| 55 |
+
});
|
| 56 |
+
|
| 57 |
+
// src/basic-languages/freemarker2/freemarker2.ts
|
| 58 |
+
var freemarker2_exports = {};
|
| 59 |
+
__export(freemarker2_exports, {
|
| 60 |
+
TagAngleInterpolationBracket: () => TagAngleInterpolationBracket,
|
| 61 |
+
TagAngleInterpolationDollar: () => TagAngleInterpolationDollar,
|
| 62 |
+
TagAutoInterpolationBracket: () => TagAutoInterpolationBracket,
|
| 63 |
+
TagAutoInterpolationDollar: () => TagAutoInterpolationDollar,
|
| 64 |
+
TagBracketInterpolationBracket: () => TagBracketInterpolationBracket,
|
| 65 |
+
TagBracketInterpolationDollar: () => TagBracketInterpolationDollar
|
| 66 |
+
});
|
| 67 |
+
|
| 68 |
+
// src/fillers/monaco-editor-core.ts
|
| 69 |
+
var monaco_editor_core_exports = {};
|
| 70 |
+
__reExport(monaco_editor_core_exports, __toESM(require_monaco_editor_core_amd()));
|
| 71 |
+
|
| 72 |
+
// src/basic-languages/freemarker2/freemarker2.ts
|
| 73 |
+
var EMPTY_ELEMENTS = [
|
| 74 |
+
"assign",
|
| 75 |
+
"flush",
|
| 76 |
+
"ftl",
|
| 77 |
+
"return",
|
| 78 |
+
"global",
|
| 79 |
+
"import",
|
| 80 |
+
"include",
|
| 81 |
+
"break",
|
| 82 |
+
"continue",
|
| 83 |
+
"local",
|
| 84 |
+
"nested",
|
| 85 |
+
"nt",
|
| 86 |
+
"setting",
|
| 87 |
+
"stop",
|
| 88 |
+
"t",
|
| 89 |
+
"lt",
|
| 90 |
+
"rt",
|
| 91 |
+
"fallback"
|
| 92 |
+
];
|
| 93 |
+
var BLOCK_ELEMENTS = [
|
| 94 |
+
"attempt",
|
| 95 |
+
"autoesc",
|
| 96 |
+
"autoEsc",
|
| 97 |
+
"compress",
|
| 98 |
+
"comment",
|
| 99 |
+
"escape",
|
| 100 |
+
"noescape",
|
| 101 |
+
"function",
|
| 102 |
+
"if",
|
| 103 |
+
"list",
|
| 104 |
+
"items",
|
| 105 |
+
"sep",
|
| 106 |
+
"macro",
|
| 107 |
+
"noparse",
|
| 108 |
+
"noParse",
|
| 109 |
+
"noautoesc",
|
| 110 |
+
"noAutoEsc",
|
| 111 |
+
"outputformat",
|
| 112 |
+
"switch",
|
| 113 |
+
"visit",
|
| 114 |
+
"recurse"
|
| 115 |
+
];
|
| 116 |
+
var TagSyntaxAngle = {
|
| 117 |
+
close: ">",
|
| 118 |
+
id: "angle",
|
| 119 |
+
open: "<"
|
| 120 |
+
};
|
| 121 |
+
var TagSyntaxBracket = {
|
| 122 |
+
close: "\\]",
|
| 123 |
+
id: "bracket",
|
| 124 |
+
open: "\\["
|
| 125 |
+
};
|
| 126 |
+
var TagSyntaxAuto = {
|
| 127 |
+
close: "[>\\]]",
|
| 128 |
+
id: "auto",
|
| 129 |
+
open: "[<\\[]"
|
| 130 |
+
};
|
| 131 |
+
var InterpolationSyntaxDollar = {
|
| 132 |
+
close: "\\}",
|
| 133 |
+
id: "dollar",
|
| 134 |
+
open1: "\\$",
|
| 135 |
+
open2: "\\{"
|
| 136 |
+
};
|
| 137 |
+
var InterpolationSyntaxBracket = {
|
| 138 |
+
close: "\\]",
|
| 139 |
+
id: "bracket",
|
| 140 |
+
open1: "\\[",
|
| 141 |
+
open2: "="
|
| 142 |
+
};
|
| 143 |
+
function createLangConfiguration(ts) {
|
| 144 |
+
return {
|
| 145 |
+
brackets: [
|
| 146 |
+
["<", ">"],
|
| 147 |
+
["[", "]"],
|
| 148 |
+
["(", ")"],
|
| 149 |
+
["{", "}"]
|
| 150 |
+
],
|
| 151 |
+
comments: {
|
| 152 |
+
blockComment: [`${ts.open}--`, `--${ts.close}`]
|
| 153 |
+
},
|
| 154 |
+
autoCloseBefore: "\n\r }]),.:;=",
|
| 155 |
+
autoClosingPairs: [
|
| 156 |
+
{ open: "{", close: "}" },
|
| 157 |
+
{ open: "[", close: "]" },
|
| 158 |
+
{ open: "(", close: ")" },
|
| 159 |
+
{ open: '"', close: '"', notIn: ["string"] },
|
| 160 |
+
{ open: "'", close: "'", notIn: ["string"] }
|
| 161 |
+
],
|
| 162 |
+
surroundingPairs: [
|
| 163 |
+
{ open: '"', close: '"' },
|
| 164 |
+
{ open: "'", close: "'" },
|
| 165 |
+
{ open: "{", close: "}" },
|
| 166 |
+
{ open: "[", close: "]" },
|
| 167 |
+
{ open: "(", close: ")" },
|
| 168 |
+
{ open: "<", close: ">" }
|
| 169 |
+
],
|
| 170 |
+
folding: {
|
| 171 |
+
markers: {
|
| 172 |
+
start: new RegExp(
|
| 173 |
+
`${ts.open}#(?:${BLOCK_ELEMENTS.join("|")})([^/${ts.close}]*(?!/)${ts.close})[^${ts.open}]*$`
|
| 174 |
+
),
|
| 175 |
+
end: new RegExp(`${ts.open}/#(?:${BLOCK_ELEMENTS.join("|")})[\\r\\n\\t ]*>`)
|
| 176 |
+
}
|
| 177 |
+
},
|
| 178 |
+
onEnterRules: [
|
| 179 |
+
{
|
| 180 |
+
beforeText: new RegExp(
|
| 181 |
+
`${ts.open}#(?!(?:${EMPTY_ELEMENTS.join("|")}))([a-zA-Z_]+)([^/${ts.close}]*(?!/)${ts.close})[^${ts.open}]*$`
|
| 182 |
+
),
|
| 183 |
+
afterText: new RegExp(`^${ts.open}/#([a-zA-Z_]+)[\\r\\n\\t ]*${ts.close}$`),
|
| 184 |
+
action: {
|
| 185 |
+
indentAction: monaco_editor_core_exports.languages.IndentAction.IndentOutdent
|
| 186 |
+
}
|
| 187 |
+
},
|
| 188 |
+
{
|
| 189 |
+
beforeText: new RegExp(
|
| 190 |
+
`${ts.open}#(?!(?:${EMPTY_ELEMENTS.join("|")}))([a-zA-Z_]+)([^/${ts.close}]*(?!/)${ts.close})[^${ts.open}]*$`
|
| 191 |
+
),
|
| 192 |
+
action: { indentAction: monaco_editor_core_exports.languages.IndentAction.Indent }
|
| 193 |
+
}
|
| 194 |
+
]
|
| 195 |
+
};
|
| 196 |
+
}
|
| 197 |
+
function createLangConfigurationAuto() {
|
| 198 |
+
return {
|
| 199 |
+
// Cannot set block comment delimiter in auto mode...
|
| 200 |
+
// It depends on the content and the cursor position of the file...
|
| 201 |
+
brackets: [
|
| 202 |
+
["<", ">"],
|
| 203 |
+
["[", "]"],
|
| 204 |
+
["(", ")"],
|
| 205 |
+
["{", "}"]
|
| 206 |
+
],
|
| 207 |
+
autoCloseBefore: "\n\r }]),.:;=",
|
| 208 |
+
autoClosingPairs: [
|
| 209 |
+
{ open: "{", close: "}" },
|
| 210 |
+
{ open: "[", close: "]" },
|
| 211 |
+
{ open: "(", close: ")" },
|
| 212 |
+
{ open: '"', close: '"', notIn: ["string"] },
|
| 213 |
+
{ open: "'", close: "'", notIn: ["string"] }
|
| 214 |
+
],
|
| 215 |
+
surroundingPairs: [
|
| 216 |
+
{ open: '"', close: '"' },
|
| 217 |
+
{ open: "'", close: "'" },
|
| 218 |
+
{ open: "{", close: "}" },
|
| 219 |
+
{ open: "[", close: "]" },
|
| 220 |
+
{ open: "(", close: ")" },
|
| 221 |
+
{ open: "<", close: ">" }
|
| 222 |
+
],
|
| 223 |
+
folding: {
|
| 224 |
+
markers: {
|
| 225 |
+
start: new RegExp(`[<\\[]#(?:${BLOCK_ELEMENTS.join("|")})([^/>\\]]*(?!/)[>\\]])[^<\\[]*$`),
|
| 226 |
+
end: new RegExp(`[<\\[]/#(?:${BLOCK_ELEMENTS.join("|")})[\\r\\n\\t ]*>`)
|
| 227 |
+
}
|
| 228 |
+
},
|
| 229 |
+
onEnterRules: [
|
| 230 |
+
{
|
| 231 |
+
beforeText: new RegExp(
|
| 232 |
+
`[<\\[]#(?!(?:${EMPTY_ELEMENTS.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`
|
| 233 |
+
),
|
| 234 |
+
afterText: new RegExp(`^[<\\[]/#([a-zA-Z_]+)[\\r\\n\\t ]*[>\\]]$`),
|
| 235 |
+
action: {
|
| 236 |
+
indentAction: monaco_editor_core_exports.languages.IndentAction.IndentOutdent
|
| 237 |
+
}
|
| 238 |
+
},
|
| 239 |
+
{
|
| 240 |
+
beforeText: new RegExp(
|
| 241 |
+
`[<\\[]#(?!(?:${EMPTY_ELEMENTS.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`
|
| 242 |
+
),
|
| 243 |
+
action: { indentAction: monaco_editor_core_exports.languages.IndentAction.Indent }
|
| 244 |
+
}
|
| 245 |
+
]
|
| 246 |
+
};
|
| 247 |
+
}
|
| 248 |
+
function createMonarchLanguage(ts, is) {
|
| 249 |
+
const id = `_${ts.id}_${is.id}`;
|
| 250 |
+
const s = (name) => name.replace(/__id__/g, id);
|
| 251 |
+
const r = (regexp) => {
|
| 252 |
+
const source = regexp.source.replace(/__id__/g, id);
|
| 253 |
+
return new RegExp(source, regexp.flags);
|
| 254 |
+
};
|
| 255 |
+
return {
|
| 256 |
+
// Settings
|
| 257 |
+
unicode: true,
|
| 258 |
+
includeLF: false,
|
| 259 |
+
start: s("default__id__"),
|
| 260 |
+
ignoreCase: false,
|
| 261 |
+
defaultToken: "invalid",
|
| 262 |
+
tokenPostfix: `.freemarker2`,
|
| 263 |
+
brackets: [
|
| 264 |
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
| 265 |
+
{ open: "[", close: "]", token: "delimiter.square" },
|
| 266 |
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
| 267 |
+
{ open: "<", close: ">", token: "delimiter.angle" }
|
| 268 |
+
],
|
| 269 |
+
// Dynamic RegExp
|
| 270 |
+
[s("open__id__")]: new RegExp(ts.open),
|
| 271 |
+
[s("close__id__")]: new RegExp(ts.close),
|
| 272 |
+
[s("iOpen1__id__")]: new RegExp(is.open1),
|
| 273 |
+
[s("iOpen2__id__")]: new RegExp(is.open2),
|
| 274 |
+
[s("iClose__id__")]: new RegExp(is.close),
|
| 275 |
+
// <#START_TAG : "<" | "<#" | "[#">
|
| 276 |
+
// <#END_TAG : "</" | "</#" | "[/#">
|
| 277 |
+
[s("startTag__id__")]: r(/(@open__id__)(#)/),
|
| 278 |
+
[s("endTag__id__")]: r(/(@open__id__)(\/#)/),
|
| 279 |
+
[s("startOrEndTag__id__")]: r(/(@open__id__)(\/?#)/),
|
| 280 |
+
// <#CLOSE_TAG1 : (<BLANK>)* (">" | "]")>
|
| 281 |
+
[s("closeTag1__id__")]: r(/((?:@blank)*)(@close__id__)/),
|
| 282 |
+
// <#CLOSE_TAG2 : (<BLANK>)* ("/")? (">" | "]")>
|
| 283 |
+
[s("closeTag2__id__")]: r(/((?:@blank)*\/?)(@close__id__)/),
|
| 284 |
+
// Static RegExp
|
| 285 |
+
// <#BLANK : " " | "\t" | "\n" | "\r">
|
| 286 |
+
blank: /[ \t\n\r]/,
|
| 287 |
+
// <FALSE : "false">
|
| 288 |
+
// <TRUE : "true">
|
| 289 |
+
// <IN : "in">
|
| 290 |
+
// <AS : "as">
|
| 291 |
+
// <USING : "using">
|
| 292 |
+
keywords: ["false", "true", "in", "as", "using"],
|
| 293 |
+
// Directive names that cannot have an expression parameters and cannot be self-closing
|
| 294 |
+
// E.g. <#if id==2> ... </#if>
|
| 295 |
+
directiveStartCloseTag1: /attempt|recover|sep|auto[eE]sc|no(?:autoe|AutoE)sc|compress|default|no[eE]scape|comment|no[pP]arse/,
|
| 296 |
+
// Directive names that cannot have an expression parameter and can be self-closing
|
| 297 |
+
// E.g. <#if> ... <#else> ... </#if>
|
| 298 |
+
// E.g. <#if> ... <#else /></#if>
|
| 299 |
+
directiveStartCloseTag2: /else|break|continue|return|stop|flush|t|lt|rt|nt|nested|recurse|fallback|ftl/,
|
| 300 |
+
// Directive names that can have an expression parameter and cannot be self-closing
|
| 301 |
+
// E.g. <#if id==2> ... </#if>
|
| 302 |
+
directiveStartBlank: /if|else[iI]f|list|for[eE]ach|switch|case|assign|global|local|include|import|function|macro|transform|visit|stop|return|call|setting|output[fF]ormat|nested|recurse|escape|ftl|items/,
|
| 303 |
+
// Directive names that can have an end tag
|
| 304 |
+
// E.g. </#if>
|
| 305 |
+
directiveEndCloseTag1: /if|list|items|sep|recover|attempt|for[eE]ach|local|global|assign|function|macro|output[fF]ormat|auto[eE]sc|no(?:autoe|AutoE)sc|compress|transform|switch|escape|no[eE]scape/,
|
| 306 |
+
// <#ESCAPED_CHAR :
|
| 307 |
+
// "\\"
|
| 308 |
+
// (
|
| 309 |
+
// ("n" | "t" | "r" | "f" | "b" | "g" | "l" | "a" | "\\" | "'" | "\"" | "{" | "=")
|
| 310 |
+
// |
|
| 311 |
+
// ("x" ["0"-"9", "A"-"F", "a"-"f"])
|
| 312 |
+
// )
|
| 313 |
+
// >
|
| 314 |
+
// Note: While the JavaCC tokenizer rule only specifies one hex digit,
|
| 315 |
+
// FreeMarker actually interprets up to 4 hex digits.
|
| 316 |
+
escapedChar: /\\(?:[ntrfbgla\\'"\{=]|(?:x[0-9A-Fa-f]{1,4}))/,
|
| 317 |
+
// <#ASCII_DIGIT: ["0" - "9"]>
|
| 318 |
+
asciiDigit: /[0-9]/,
|
| 319 |
+
// <INTEGER : (["0"-"9"])+>
|
| 320 |
+
integer: /[0-9]+/,
|
| 321 |
+
// <#NON_ESCAPED_ID_START_CHAR:
|
| 322 |
+
// [
|
| 323 |
+
// // This was generated on JDK 1.8.0_20 Win64 with src/main/misc/identifierChars/IdentifierCharGenerator.java
|
| 324 |
+
// ...
|
| 325 |
+
// ]
|
| 326 |
+
nonEscapedIdStartChar: /[\$@-Z_a-z\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u1FFF\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3040-\u318F\u31A0-\u31BA\u31F0-\u31FF\u3300-\u337F\u3400-\u4DB5\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,
|
| 327 |
+
// <#ESCAPED_ID_CHAR: "\\" ("-" | "." | ":" | "#")>
|
| 328 |
+
escapedIdChar: /\\[\-\.:#]/,
|
| 329 |
+
// <#ID_START_CHAR: <NON_ESCAPED_ID_START_CHAR>|<ESCAPED_ID_CHAR>>
|
| 330 |
+
idStartChar: /(?:@nonEscapedIdStartChar)|(?:@escapedIdChar)/,
|
| 331 |
+
// <ID: <ID_START_CHAR> (<ID_START_CHAR>|<ASCII_DIGIT>)*>
|
| 332 |
+
id: /(?:@idStartChar)(?:(?:@idStartChar)|(?:@asciiDigit))*/,
|
| 333 |
+
// Certain keywords / operators are allowed to index hashes
|
| 334 |
+
//
|
| 335 |
+
// Expression DotVariable(Expression exp) :
|
| 336 |
+
// {
|
| 337 |
+
// Token t;
|
| 338 |
+
// }
|
| 339 |
+
// {
|
| 340 |
+
// <DOT>
|
| 341 |
+
// (
|
| 342 |
+
// t = <ID> | t = <TIMES> | t = <DOUBLE_STAR>
|
| 343 |
+
// |
|
| 344 |
+
// (
|
| 345 |
+
// t = <LESS_THAN>
|
| 346 |
+
// |
|
| 347 |
+
// t = <LESS_THAN_EQUALS>
|
| 348 |
+
// |
|
| 349 |
+
// t = <ESCAPED_GT>
|
| 350 |
+
// |
|
| 351 |
+
// t = <ESCAPED_GTE>
|
| 352 |
+
// |
|
| 353 |
+
// t = <FALSE>
|
| 354 |
+
// |
|
| 355 |
+
// t = <TRUE>
|
| 356 |
+
// |
|
| 357 |
+
// t = <IN>
|
| 358 |
+
// |
|
| 359 |
+
// t = <AS>
|
| 360 |
+
// |
|
| 361 |
+
// t = <USING>
|
| 362 |
+
// )
|
| 363 |
+
// {
|
| 364 |
+
// if (!Character.isLetter(t.image.charAt(0))) {
|
| 365 |
+
// throw new ParseException(t.image + " is not a valid identifier.", template, t);
|
| 366 |
+
// }
|
| 367 |
+
// }
|
| 368 |
+
// )
|
| 369 |
+
// {
|
| 370 |
+
// notListLiteral(exp, "hash");
|
| 371 |
+
// notStringLiteral(exp, "hash");
|
| 372 |
+
// notBooleanLiteral(exp, "hash");
|
| 373 |
+
// Dot dot = new Dot(exp, t.image);
|
| 374 |
+
// dot.setLocation(template, exp, t);
|
| 375 |
+
// return dot;
|
| 376 |
+
// }
|
| 377 |
+
// }
|
| 378 |
+
specialHashKeys: /\*\*|\*|false|true|in|as|using/,
|
| 379 |
+
// <DOUBLE_EQUALS : "==">
|
| 380 |
+
// <EQUALS : "=">
|
| 381 |
+
// <NOT_EQUALS : "!=">
|
| 382 |
+
// <PLUS_EQUALS : "+=">
|
| 383 |
+
// <MINUS_EQUALS : "-=">
|
| 384 |
+
// <TIMES_EQUALS : "*=">
|
| 385 |
+
// <DIV_EQUALS : "/=">
|
| 386 |
+
// <MOD_EQUALS : "%=">
|
| 387 |
+
// <PLUS_PLUS : "++">
|
| 388 |
+
// <MINUS_MINUS : "--">
|
| 389 |
+
// <LESS_THAN_EQUALS : "lte" | "\\lte" | "<=" | "<=">
|
| 390 |
+
// <LESS_THAN : "lt" | "\\lt" | "<" | "<">
|
| 391 |
+
// <ESCAPED_GTE : "gte" | "\\gte" | ">=">
|
| 392 |
+
// <ESCAPED_GT: "gt" | "\\gt" | ">">
|
| 393 |
+
// <DOUBLE_STAR : "**">
|
| 394 |
+
// <PLUS : "+">
|
| 395 |
+
// <MINUS : "-">
|
| 396 |
+
// <TIMES : "*">
|
| 397 |
+
// <PERCENT : "%">
|
| 398 |
+
// <AND : "&" | "&&" | "&&" | "\\and" >
|
| 399 |
+
// <OR : "|" | "||">
|
| 400 |
+
// <EXCLAM : "!">
|
| 401 |
+
// <COMMA : ",">
|
| 402 |
+
// <SEMICOLON : ";">
|
| 403 |
+
// <COLON : ":">
|
| 404 |
+
// <ELLIPSIS : "...">
|
| 405 |
+
// <DOT_DOT_ASTERISK : "..*" >
|
| 406 |
+
// <DOT_DOT_LESS : "..<" | "..!" >
|
| 407 |
+
// <DOT_DOT : "..">
|
| 408 |
+
// <EXISTS : "??">
|
| 409 |
+
// <BUILT_IN : "?">
|
| 410 |
+
// <LAMBDA_ARROW : "->" | "->">
|
| 411 |
+
namedSymbols: /<=|>=|\\lte|\\lt|<|\\gte|\\gt|>|&&|\\and|->|->|==|!=|\+=|-=|\*=|\/=|%=|\+\+|--|<=|&&|\|\||:|\.\.\.|\.\.\*|\.\.<|\.\.!|\?\?|=|<|\+|-|\*|\/|%|\||\.\.|\?|!|&|\.|,|;/,
|
| 412 |
+
arrows: ["->", "->"],
|
| 413 |
+
delimiters: [";", ":", ",", "."],
|
| 414 |
+
stringOperators: ["lte", "lt", "gte", "gt"],
|
| 415 |
+
noParseTags: ["noparse", "noParse", "comment"],
|
| 416 |
+
tokenizer: {
|
| 417 |
+
// Parser states
|
| 418 |
+
// Plain text
|
| 419 |
+
[s("default__id__")]: [
|
| 420 |
+
{ include: s("@directive_token__id__") },
|
| 421 |
+
{ include: s("@interpolation_and_text_token__id__") }
|
| 422 |
+
],
|
| 423 |
+
// A FreeMarker expression inside a directive, e.g. <#if 2<3>
|
| 424 |
+
[s("fmExpression__id__.directive")]: [
|
| 425 |
+
{ include: s("@blank_and_expression_comment_token__id__") },
|
| 426 |
+
{ include: s("@directive_end_token__id__") },
|
| 427 |
+
{ include: s("@expression_token__id__") }
|
| 428 |
+
],
|
| 429 |
+
// A FreeMarker expression inside an interpolation, e.g. ${2+3}
|
| 430 |
+
[s("fmExpression__id__.interpolation")]: [
|
| 431 |
+
{ include: s("@blank_and_expression_comment_token__id__") },
|
| 432 |
+
{ include: s("@expression_token__id__") },
|
| 433 |
+
{ include: s("@greater_operators_token__id__") }
|
| 434 |
+
],
|
| 435 |
+
// In an expression and inside a not-yet closed parenthesis / bracket
|
| 436 |
+
[s("inParen__id__.plain")]: [
|
| 437 |
+
{ include: s("@blank_and_expression_comment_token__id__") },
|
| 438 |
+
{ include: s("@directive_end_token__id__") },
|
| 439 |
+
{ include: s("@expression_token__id__") }
|
| 440 |
+
],
|
| 441 |
+
[s("inParen__id__.gt")]: [
|
| 442 |
+
{ include: s("@blank_and_expression_comment_token__id__") },
|
| 443 |
+
{ include: s("@expression_token__id__") },
|
| 444 |
+
{ include: s("@greater_operators_token__id__") }
|
| 445 |
+
],
|
| 446 |
+
// Expression for the unified call, e.g. <@createMacro() ... >
|
| 447 |
+
[s("noSpaceExpression__id__")]: [
|
| 448 |
+
{ include: s("@no_space_expression_end_token__id__") },
|
| 449 |
+
{ include: s("@directive_end_token__id__") },
|
| 450 |
+
{ include: s("@expression_token__id__") }
|
| 451 |
+
],
|
| 452 |
+
// For the function of a unified call. Special case for when the
|
| 453 |
+
// expression is a simple identifier.
|
| 454 |
+
// <@join [1,2] ",">
|
| 455 |
+
// <@null!join [1,2] ",">
|
| 456 |
+
[s("unifiedCall__id__")]: [{ include: s("@unified_call_token__id__") }],
|
| 457 |
+
// For singly and doubly quoted string (that may contain interpolations)
|
| 458 |
+
[s("singleString__id__")]: [{ include: s("@string_single_token__id__") }],
|
| 459 |
+
[s("doubleString__id__")]: [{ include: s("@string_double_token__id__") }],
|
| 460 |
+
// For singly and doubly quoted string (that may not contain interpolations)
|
| 461 |
+
[s("rawSingleString__id__")]: [{ include: s("@string_single_raw_token__id__") }],
|
| 462 |
+
[s("rawDoubleString__id__")]: [{ include: s("@string_double_raw_token__id__") }],
|
| 463 |
+
// For a comment in an expression
|
| 464 |
+
// ${ 1 + <#-- comment --> 2}
|
| 465 |
+
[s("expressionComment__id__")]: [{ include: s("@expression_comment_token__id__") }],
|
| 466 |
+
// For <#noparse> ... </#noparse>
|
| 467 |
+
// For <#noParse> ... </#noParse>
|
| 468 |
+
// For <#comment> ... </#comment>
|
| 469 |
+
[s("noParse__id__")]: [{ include: s("@no_parse_token__id__") }],
|
| 470 |
+
// For <#-- ... -->
|
| 471 |
+
[s("terseComment__id__")]: [{ include: s("@terse_comment_token__id__") }],
|
| 472 |
+
// Common rules
|
| 473 |
+
[s("directive_token__id__")]: [
|
| 474 |
+
// <ATTEMPT : <START_TAG> "attempt" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 475 |
+
// <RECOVER : <START_TAG> "recover" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 476 |
+
// <SEP : <START_TAG> "sep" <CLOSE_TAG1>>
|
| 477 |
+
// <AUTOESC : <START_TAG> "auto" ("e"|"E") "sc" <CLOSE_TAG1>> {
|
| 478 |
+
// handleTagSyntaxAndSwitch(matchedToken, getTagNamingConvention(matchedToken, 4), DEFAULT);
|
| 479 |
+
// }
|
| 480 |
+
// <NOAUTOESC : <START_TAG> "no" ("autoe"|"AutoE") "sc" <CLOSE_TAG1>> {
|
| 481 |
+
// handleTagSyntaxAndSwitch(matchedToken, getTagNamingConvention(matchedToken, 2), DEFAULT);
|
| 482 |
+
// }
|
| 483 |
+
// <COMPRESS : <START_TAG> "compress" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 484 |
+
// <DEFAUL : <START_TAG> "default" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 485 |
+
// <NOESCAPE : <START_TAG> "no" ("e" | "E") "scape" <CLOSE_TAG1>> {
|
| 486 |
+
// handleTagSyntaxAndSwitch(matchedToken, getTagNamingConvention(matchedToken, 2), DEFAULT);
|
| 487 |
+
// }
|
| 488 |
+
//
|
| 489 |
+
// <COMMENT : <START_TAG> "comment" <CLOSE_TAG1>> {
|
| 490 |
+
// handleTagSyntaxAndSwitch(matchedToken, NO_PARSE); noparseTag = "comment";
|
| 491 |
+
// }
|
| 492 |
+
// <NOPARSE: <START_TAG> "no" ("p" | "P") "arse" <CLOSE_TAG1>> {
|
| 493 |
+
// int tagNamingConvention = getTagNamingConvention(matchedToken, 2);
|
| 494 |
+
// handleTagSyntaxAndSwitch(matchedToken, tagNamingConvention, NO_PARSE);
|
| 495 |
+
// noparseTag = tagNamingConvention == Configuration.CAMEL_CASE_NAMING_CONVENTION ? "noParse" : "noparse";
|
| 496 |
+
// }
|
| 497 |
+
[
|
| 498 |
+
r(/(?:@startTag__id__)(@directiveStartCloseTag1)(?:@closeTag1__id__)/),
|
| 499 |
+
ts.id === "auto" ? {
|
| 500 |
+
cases: {
|
| 501 |
+
"$1==<": { token: "@rematch", switchTo: `@default_angle_${is.id}` },
|
| 502 |
+
"$1==[": { token: "@rematch", switchTo: `@default_bracket_${is.id}` }
|
| 503 |
+
}
|
| 504 |
+
} : [
|
| 505 |
+
{ token: "@brackets.directive" },
|
| 506 |
+
{ token: "delimiter.directive" },
|
| 507 |
+
{
|
| 508 |
+
cases: {
|
| 509 |
+
"@noParseTags": { token: "tag", next: s("@noParse__id__.$3") },
|
| 510 |
+
"@default": { token: "tag" }
|
| 511 |
+
}
|
| 512 |
+
},
|
| 513 |
+
{ token: "delimiter.directive" },
|
| 514 |
+
{ token: "@brackets.directive" }
|
| 515 |
+
]
|
| 516 |
+
],
|
| 517 |
+
// <ELSE : <START_TAG> "else" <CLOSE_TAG2>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 518 |
+
// <BREAK : <START_TAG> "break" <CLOSE_TAG2>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 519 |
+
// <CONTINUE : <START_TAG> "continue" <CLOSE_TAG2>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 520 |
+
// <SIMPLE_RETURN : <START_TAG> "return" <CLOSE_TAG2>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 521 |
+
// <HALT : <START_TAG> "stop" <CLOSE_TAG2>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 522 |
+
// <FLUSH : <START_TAG> "flush" <CLOSE_TAG2>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 523 |
+
// <TRIM : <START_TAG> "t" <CLOSE_TAG2>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 524 |
+
// <LTRIM : <START_TAG> "lt" <CLOSE_TAG2>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 525 |
+
// <RTRIM : <START_TAG> "rt" <CLOSE_TAG2>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 526 |
+
// <NOTRIM : <START_TAG> "nt" <CLOSE_TAG2>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 527 |
+
// <SIMPLE_NESTED : <START_TAG> "nested" <CLOSE_TAG2>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 528 |
+
// <SIMPLE_RECURSE : <START_TAG> "recurse" <CLOSE_TAG2>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 529 |
+
// <FALLBACK : <START_TAG> "fallback" <CLOSE_TAG2>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 530 |
+
// <TRIVIAL_FTL_HEADER : ("<#ftl" | "[#ftl") ("/")? (">" | "]")> { ftlHeader(matchedToken); }
|
| 531 |
+
[
|
| 532 |
+
r(/(?:@startTag__id__)(@directiveStartCloseTag2)(?:@closeTag2__id__)/),
|
| 533 |
+
ts.id === "auto" ? {
|
| 534 |
+
cases: {
|
| 535 |
+
"$1==<": { token: "@rematch", switchTo: `@default_angle_${is.id}` },
|
| 536 |
+
"$1==[": { token: "@rematch", switchTo: `@default_bracket_${is.id}` }
|
| 537 |
+
}
|
| 538 |
+
} : [
|
| 539 |
+
{ token: "@brackets.directive" },
|
| 540 |
+
{ token: "delimiter.directive" },
|
| 541 |
+
{ token: "tag" },
|
| 542 |
+
{ token: "delimiter.directive" },
|
| 543 |
+
{ token: "@brackets.directive" }
|
| 544 |
+
]
|
| 545 |
+
],
|
| 546 |
+
// <IF : <START_TAG> "if" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 547 |
+
// <ELSE_IF : <START_TAG> "else" ("i" | "I") "f" <BLANK>> {
|
| 548 |
+
// handleTagSyntaxAndSwitch(matchedToken, getTagNamingConvention(matchedToken, 4), FM_EXPRESSION);
|
| 549 |
+
// }
|
| 550 |
+
// <LIST : <START_TAG> "list" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 551 |
+
// <FOREACH : <START_TAG> "for" ("e" | "E") "ach" <BLANK>> {
|
| 552 |
+
// handleTagSyntaxAndSwitch(matchedToken, getTagNamingConvention(matchedToken, 3), FM_EXPRESSION);
|
| 553 |
+
// }
|
| 554 |
+
// <SWITCH : <START_TAG> "switch" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 555 |
+
// <CASE : <START_TAG> "case" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 556 |
+
// <ASSIGN : <START_TAG> "assign" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 557 |
+
// <GLOBALASSIGN : <START_TAG> "global" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 558 |
+
// <LOCALASSIGN : <START_TAG> "local" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 559 |
+
// <_INCLUDE : <START_TAG> "include" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 560 |
+
// <IMPORT : <START_TAG> "import" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 561 |
+
// <FUNCTION : <START_TAG> "function" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 562 |
+
// <MACRO : <START_TAG> "macro" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 563 |
+
// <TRANSFORM : <START_TAG> "transform" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 564 |
+
// <VISIT : <START_TAG> "visit" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 565 |
+
// <STOP : <START_TAG> "stop" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 566 |
+
// <RETURN : <START_TAG> "return" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 567 |
+
// <CALL : <START_TAG> "call" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 568 |
+
// <SETTING : <START_TAG> "setting" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 569 |
+
// <OUTPUTFORMAT : <START_TAG> "output" ("f"|"F") "ormat" <BLANK>> {
|
| 570 |
+
// handleTagSyntaxAndSwitch(matchedToken, getTagNamingConvention(matchedToken, 6), FM_EXPRESSION);
|
| 571 |
+
// }
|
| 572 |
+
// <NESTED : <START_TAG> "nested" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 573 |
+
// <RECURSE : <START_TAG> "recurse" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 574 |
+
// <ESCAPE : <START_TAG> "escape" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 575 |
+
//
|
| 576 |
+
// Note: FreeMarker grammar appears to treat the FTL header as a special case,
|
| 577 |
+
// in order to remove new lines after the header (?), but since we only need
|
| 578 |
+
// to tokenize for highlighting, we can include this directive here.
|
| 579 |
+
// <FTL_HEADER : ("<#ftl" | "[#ftl") <BLANK>> { ftlHeader(matchedToken); }
|
| 580 |
+
//
|
| 581 |
+
// Note: FreeMarker grammar appears to treat the items directive as a special case for
|
| 582 |
+
// the AST parsing process, but since we only need to tokenize, we can include this
|
| 583 |
+
// directive here.
|
| 584 |
+
// <ITEMS : <START_TAG> "items" (<BLANK>)+ <AS> <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 585 |
+
[
|
| 586 |
+
r(/(?:@startTag__id__)(@directiveStartBlank)(@blank)/),
|
| 587 |
+
ts.id === "auto" ? {
|
| 588 |
+
cases: {
|
| 589 |
+
"$1==<": { token: "@rematch", switchTo: `@default_angle_${is.id}` },
|
| 590 |
+
"$1==[": { token: "@rematch", switchTo: `@default_bracket_${is.id}` }
|
| 591 |
+
}
|
| 592 |
+
} : [
|
| 593 |
+
{ token: "@brackets.directive" },
|
| 594 |
+
{ token: "delimiter.directive" },
|
| 595 |
+
{ token: "tag" },
|
| 596 |
+
{ token: "", next: s("@fmExpression__id__.directive") }
|
| 597 |
+
]
|
| 598 |
+
],
|
| 599 |
+
// <END_IF : <END_TAG> "if" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 600 |
+
// <END_LIST : <END_TAG> "list" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 601 |
+
// <END_SEP : <END_TAG> "sep" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 602 |
+
// <END_RECOVER : <END_TAG> "recover" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 603 |
+
// <END_ATTEMPT : <END_TAG> "attempt" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 604 |
+
// <END_FOREACH : <END_TAG> "for" ("e" | "E") "ach" <CLOSE_TAG1>> {
|
| 605 |
+
// handleTagSyntaxAndSwitch(matchedToken, getTagNamingConvention(matchedToken, 3), DEFAULT);
|
| 606 |
+
// }
|
| 607 |
+
// <END_LOCAL : <END_TAG> "local" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 608 |
+
// <END_GLOBAL : <END_TAG> "global" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 609 |
+
// <END_ASSIGN : <END_TAG> "assign" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 610 |
+
// <END_FUNCTION : <END_TAG> "function" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 611 |
+
// <END_MACRO : <END_TAG> "macro" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 612 |
+
// <END_OUTPUTFORMAT : <END_TAG> "output" ("f" | "F") "ormat" <CLOSE_TAG1>> {
|
| 613 |
+
// handleTagSyntaxAndSwitch(matchedToken, getTagNamingConvention(matchedToken, 6), DEFAULT);
|
| 614 |
+
// }
|
| 615 |
+
// <END_AUTOESC : <END_TAG> "auto" ("e" | "E") "sc" <CLOSE_TAG1>> {
|
| 616 |
+
// handleTagSyntaxAndSwitch(matchedToken, getTagNamingConvention(matchedToken, 4), DEFAULT);
|
| 617 |
+
// }
|
| 618 |
+
// <END_NOAUTOESC : <END_TAG> "no" ("autoe"|"AutoE") "sc" <CLOSE_TAG1>> {
|
| 619 |
+
// handleTagSyntaxAndSwitch(matchedToken, getTagNamingConvention(matchedToken, 2), DEFAULT);
|
| 620 |
+
// }
|
| 621 |
+
// <END_COMPRESS : <END_TAG> "compress" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 622 |
+
// <END_TRANSFORM : <END_TAG> "transform" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 623 |
+
// <END_SWITCH : <END_TAG> "switch" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 624 |
+
// <END_ESCAPE : <END_TAG> "escape" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 625 |
+
// <END_NOESCAPE : <END_TAG> "no" ("e" | "E") "scape" <CLOSE_TAG1>> {
|
| 626 |
+
// handleTagSyntaxAndSwitch(matchedToken, getTagNamingConvention(matchedToken, 2), DEFAULT);
|
| 627 |
+
// }
|
| 628 |
+
[
|
| 629 |
+
r(/(?:@endTag__id__)(@directiveEndCloseTag1)(?:@closeTag1__id__)/),
|
| 630 |
+
ts.id === "auto" ? {
|
| 631 |
+
cases: {
|
| 632 |
+
"$1==<": { token: "@rematch", switchTo: `@default_angle_${is.id}` },
|
| 633 |
+
"$1==[": { token: "@rematch", switchTo: `@default_bracket_${is.id}` }
|
| 634 |
+
}
|
| 635 |
+
} : [
|
| 636 |
+
{ token: "@brackets.directive" },
|
| 637 |
+
{ token: "delimiter.directive" },
|
| 638 |
+
{ token: "tag" },
|
| 639 |
+
{ token: "delimiter.directive" },
|
| 640 |
+
{ token: "@brackets.directive" }
|
| 641 |
+
]
|
| 642 |
+
],
|
| 643 |
+
// <UNIFIED_CALL : "<@" | "[@" > { unifiedCall(matchedToken); }
|
| 644 |
+
[
|
| 645 |
+
r(/(@open__id__)(@)/),
|
| 646 |
+
ts.id === "auto" ? {
|
| 647 |
+
cases: {
|
| 648 |
+
"$1==<": { token: "@rematch", switchTo: `@default_angle_${is.id}` },
|
| 649 |
+
"$1==[": { token: "@rematch", switchTo: `@default_bracket_${is.id}` }
|
| 650 |
+
}
|
| 651 |
+
} : [
|
| 652 |
+
{ token: "@brackets.directive" },
|
| 653 |
+
{ token: "delimiter.directive", next: s("@unifiedCall__id__") }
|
| 654 |
+
]
|
| 655 |
+
],
|
| 656 |
+
// <UNIFIED_CALL_END : ("<" | "[") "/@" ((<ID>) ("."<ID>)*)? <CLOSE_TAG1>> { unifiedCallEnd(matchedToken); }
|
| 657 |
+
[
|
| 658 |
+
r(/(@open__id__)(\/@)((?:(?:@id)(?:\.(?:@id))*)?)(?:@closeTag1__id__)/),
|
| 659 |
+
[
|
| 660 |
+
{ token: "@brackets.directive" },
|
| 661 |
+
{ token: "delimiter.directive" },
|
| 662 |
+
{ token: "tag" },
|
| 663 |
+
{ token: "delimiter.directive" },
|
| 664 |
+
{ token: "@brackets.directive" }
|
| 665 |
+
]
|
| 666 |
+
],
|
| 667 |
+
// <TERSE_COMMENT : ("<" | "[") "#--" > { noparseTag = "-->"; handleTagSyntaxAndSwitch(matchedToken, NO_PARSE); }
|
| 668 |
+
[
|
| 669 |
+
r(/(@open__id__)#--/),
|
| 670 |
+
ts.id === "auto" ? {
|
| 671 |
+
cases: {
|
| 672 |
+
"$1==<": { token: "@rematch", switchTo: `@default_angle_${is.id}` },
|
| 673 |
+
"$1==[": { token: "@rematch", switchTo: `@default_bracket_${is.id}` }
|
| 674 |
+
}
|
| 675 |
+
} : { token: "comment", next: s("@terseComment__id__") }
|
| 676 |
+
],
|
| 677 |
+
// <UNKNOWN_DIRECTIVE : ("[#" | "[/#" | "<#" | "</#") (["a"-"z", "A"-"Z", "_"])+>
|
| 678 |
+
[
|
| 679 |
+
r(/(?:@startOrEndTag__id__)([a-zA-Z_]+)/),
|
| 680 |
+
ts.id === "auto" ? {
|
| 681 |
+
cases: {
|
| 682 |
+
"$1==<": { token: "@rematch", switchTo: `@default_angle_${is.id}` },
|
| 683 |
+
"$1==[": { token: "@rematch", switchTo: `@default_bracket_${is.id}` }
|
| 684 |
+
}
|
| 685 |
+
} : [
|
| 686 |
+
{ token: "@brackets.directive" },
|
| 687 |
+
{ token: "delimiter.directive" },
|
| 688 |
+
{ token: "tag.invalid", next: s("@fmExpression__id__.directive") }
|
| 689 |
+
]
|
| 690 |
+
]
|
| 691 |
+
],
|
| 692 |
+
// <DEFAULT, NO_DIRECTIVE> TOKEN :
|
| 693 |
+
[s("interpolation_and_text_token__id__")]: [
|
| 694 |
+
// <DOLLAR_INTERPOLATION_OPENING : "${"> { startInterpolation(matchedToken); }
|
| 695 |
+
// <SQUARE_BRACKET_INTERPOLATION_OPENING : "[="> { startInterpolation(matchedToken); }
|
| 696 |
+
[
|
| 697 |
+
r(/(@iOpen1__id__)(@iOpen2__id__)/),
|
| 698 |
+
[
|
| 699 |
+
{ token: is.id === "bracket" ? "@brackets.interpolation" : "delimiter.interpolation" },
|
| 700 |
+
{
|
| 701 |
+
token: is.id === "bracket" ? "delimiter.interpolation" : "@brackets.interpolation",
|
| 702 |
+
next: s("@fmExpression__id__.interpolation")
|
| 703 |
+
}
|
| 704 |
+
]
|
| 705 |
+
],
|
| 706 |
+
// <STATIC_TEXT_FALSE_ALARM : "$" | "#" | "<" | "[" | "{"> // to handle a lone dollar sign or "<" or "# or <@ with whitespace after"
|
| 707 |
+
// <STATIC_TEXT_WS : ("\n" | "\r" | "\t" | " ")+>
|
| 708 |
+
// <STATIC_TEXT_NON_WS : (~["$", "<", "#", "[", "{", "\n", "\r", "\t", " "])+>
|
| 709 |
+
[/[\$#<\[\{]|(?:@blank)+|[^\$<#\[\{\n\r\t ]+/, { token: "source" }]
|
| 710 |
+
],
|
| 711 |
+
// <STRING_LITERAL :
|
| 712 |
+
// (
|
| 713 |
+
// "\""
|
| 714 |
+
// ((~["\"", "\\"]) | <ESCAPED_CHAR>)*
|
| 715 |
+
// "\""
|
| 716 |
+
// )
|
| 717 |
+
// |
|
| 718 |
+
// (
|
| 719 |
+
// "'"
|
| 720 |
+
// ((~["'", "\\"]) | <ESCAPED_CHAR>)*
|
| 721 |
+
// "'"
|
| 722 |
+
// )
|
| 723 |
+
// >
|
| 724 |
+
[s("string_single_token__id__")]: [
|
| 725 |
+
[/[^'\\]/, { token: "string" }],
|
| 726 |
+
[/@escapedChar/, { token: "string.escape" }],
|
| 727 |
+
[/'/, { token: "string", next: "@pop" }]
|
| 728 |
+
],
|
| 729 |
+
[s("string_double_token__id__")]: [
|
| 730 |
+
[/[^"\\]/, { token: "string" }],
|
| 731 |
+
[/@escapedChar/, { token: "string.escape" }],
|
| 732 |
+
[/"/, { token: "string", next: "@pop" }]
|
| 733 |
+
],
|
| 734 |
+
// <RAW_STRING : "r" (("\"" (~["\""])* "\"") | ("'" (~["'"])* "'"))>
|
| 735 |
+
[s("string_single_raw_token__id__")]: [
|
| 736 |
+
[/[^']+/, { token: "string.raw" }],
|
| 737 |
+
[/'/, { token: "string.raw", next: "@pop" }]
|
| 738 |
+
],
|
| 739 |
+
[s("string_double_raw_token__id__")]: [
|
| 740 |
+
[/[^"]+/, { token: "string.raw" }],
|
| 741 |
+
[/"/, { token: "string.raw", next: "@pop" }]
|
| 742 |
+
],
|
| 743 |
+
// <FM_EXPRESSION, IN_PAREN, NO_SPACE_EXPRESSION, NAMED_PARAMETER_EXPRESSION> TOKEN :
|
| 744 |
+
[s("expression_token__id__")]: [
|
| 745 |
+
// Strings
|
| 746 |
+
[
|
| 747 |
+
/(r?)(['"])/,
|
| 748 |
+
{
|
| 749 |
+
cases: {
|
| 750 |
+
"r'": [
|
| 751 |
+
{ token: "keyword" },
|
| 752 |
+
{ token: "string.raw", next: s("@rawSingleString__id__") }
|
| 753 |
+
],
|
| 754 |
+
'r"': [
|
| 755 |
+
{ token: "keyword" },
|
| 756 |
+
{ token: "string.raw", next: s("@rawDoubleString__id__") }
|
| 757 |
+
],
|
| 758 |
+
"'": [{ token: "source" }, { token: "string", next: s("@singleString__id__") }],
|
| 759 |
+
'"': [{ token: "source" }, { token: "string", next: s("@doubleString__id__") }]
|
| 760 |
+
}
|
| 761 |
+
}
|
| 762 |
+
],
|
| 763 |
+
// Numbers
|
| 764 |
+
// <INTEGER : (["0"-"9"])+>
|
| 765 |
+
// <DECIMAL : <INTEGER> "." <INTEGER>>
|
| 766 |
+
[
|
| 767 |
+
/(?:@integer)(?:\.(?:@integer))?/,
|
| 768 |
+
{
|
| 769 |
+
cases: {
|
| 770 |
+
"(?:@integer)": { token: "number" },
|
| 771 |
+
"@default": { token: "number.float" }
|
| 772 |
+
}
|
| 773 |
+
}
|
| 774 |
+
],
|
| 775 |
+
// Special hash keys that must not be treated as identifiers
|
| 776 |
+
// after a period, e.g. a.** is accessing the key "**" of a
|
| 777 |
+
[
|
| 778 |
+
/(\.)(@blank*)(@specialHashKeys)/,
|
| 779 |
+
[{ token: "delimiter" }, { token: "" }, { token: "identifier" }]
|
| 780 |
+
],
|
| 781 |
+
// Symbols / operators
|
| 782 |
+
[
|
| 783 |
+
/(?:@namedSymbols)/,
|
| 784 |
+
{
|
| 785 |
+
cases: {
|
| 786 |
+
"@arrows": { token: "meta.arrow" },
|
| 787 |
+
"@delimiters": { token: "delimiter" },
|
| 788 |
+
"@default": { token: "operators" }
|
| 789 |
+
}
|
| 790 |
+
}
|
| 791 |
+
],
|
| 792 |
+
// Identifiers
|
| 793 |
+
[
|
| 794 |
+
/@id/,
|
| 795 |
+
{
|
| 796 |
+
cases: {
|
| 797 |
+
"@keywords": { token: "keyword.$0" },
|
| 798 |
+
"@stringOperators": { token: "operators" },
|
| 799 |
+
"@default": { token: "identifier" }
|
| 800 |
+
}
|
| 801 |
+
}
|
| 802 |
+
],
|
| 803 |
+
// <OPEN_BRACKET : "[">
|
| 804 |
+
// <CLOSE_BRACKET : "]">
|
| 805 |
+
// <OPEN_PAREN : "(">
|
| 806 |
+
// <CLOSE_PAREN : ")">
|
| 807 |
+
// <OPENING_CURLY_BRACKET : "{">
|
| 808 |
+
// <CLOSING_CURLY_BRACKET : "}">
|
| 809 |
+
[
|
| 810 |
+
/[\[\]\(\)\{\}]/,
|
| 811 |
+
{
|
| 812 |
+
cases: {
|
| 813 |
+
"\\[": {
|
| 814 |
+
cases: {
|
| 815 |
+
"$S2==gt": { token: "@brackets", next: s("@inParen__id__.gt") },
|
| 816 |
+
"@default": { token: "@brackets", next: s("@inParen__id__.plain") }
|
| 817 |
+
}
|
| 818 |
+
},
|
| 819 |
+
"\\]": {
|
| 820 |
+
cases: {
|
| 821 |
+
...is.id === "bracket" ? {
|
| 822 |
+
"$S2==interpolation": { token: "@brackets.interpolation", next: "@popall" }
|
| 823 |
+
} : {},
|
| 824 |
+
// This cannot happen while in auto mode, since this applies only to an
|
| 825 |
+
// fmExpression inside a directive. But once we encounter the start of a
|
| 826 |
+
// directive, we can establish the tag syntax mode.
|
| 827 |
+
...ts.id === "bracket" ? {
|
| 828 |
+
"$S2==directive": { token: "@brackets.directive", next: "@popall" }
|
| 829 |
+
} : {},
|
| 830 |
+
// Ignore mismatched paren
|
| 831 |
+
[s("$S1==inParen__id__")]: { token: "@brackets", next: "@pop" },
|
| 832 |
+
"@default": { token: "@brackets" }
|
| 833 |
+
}
|
| 834 |
+
},
|
| 835 |
+
"\\(": { token: "@brackets", next: s("@inParen__id__.gt") },
|
| 836 |
+
"\\)": {
|
| 837 |
+
cases: {
|
| 838 |
+
[s("$S1==inParen__id__")]: { token: "@brackets", next: "@pop" },
|
| 839 |
+
"@default": { token: "@brackets" }
|
| 840 |
+
}
|
| 841 |
+
},
|
| 842 |
+
"\\{": {
|
| 843 |
+
cases: {
|
| 844 |
+
"$S2==gt": { token: "@brackets", next: s("@inParen__id__.gt") },
|
| 845 |
+
"@default": { token: "@brackets", next: s("@inParen__id__.plain") }
|
| 846 |
+
}
|
| 847 |
+
},
|
| 848 |
+
"\\}": {
|
| 849 |
+
cases: {
|
| 850 |
+
...is.id === "bracket" ? {} : {
|
| 851 |
+
"$S2==interpolation": { token: "@brackets.interpolation", next: "@popall" }
|
| 852 |
+
},
|
| 853 |
+
// Ignore mismatched paren
|
| 854 |
+
[s("$S1==inParen__id__")]: { token: "@brackets", next: "@pop" },
|
| 855 |
+
"@default": { token: "@brackets" }
|
| 856 |
+
}
|
| 857 |
+
}
|
| 858 |
+
}
|
| 859 |
+
}
|
| 860 |
+
],
|
| 861 |
+
// <OPEN_MISPLACED_INTERPOLATION : "${" | "#{" | "[=">
|
| 862 |
+
[/\$\{/, { token: "delimiter.invalid" }]
|
| 863 |
+
],
|
| 864 |
+
// <FM_EXPRESSION, IN_PAREN, NAMED_PARAMETER_EXPRESSION> SKIP :
|
| 865 |
+
[s("blank_and_expression_comment_token__id__")]: [
|
| 866 |
+
// < ( " " | "\t" | "\n" | "\r" )+ >
|
| 867 |
+
[/(?:@blank)+/, { token: "" }],
|
| 868 |
+
// < ("<" | "[") ("#" | "!") "--"> : EXPRESSION_COMMENT
|
| 869 |
+
[/[<\[][#!]--/, { token: "comment", next: s("@expressionComment__id__") }]
|
| 870 |
+
],
|
| 871 |
+
// <FM_EXPRESSION, NO_SPACE_EXPRESSION, NAMED_PARAMETER_EXPRESSION> TOKEN :
|
| 872 |
+
[s("directive_end_token__id__")]: [
|
| 873 |
+
// <DIRECTIVE_END : ">">
|
| 874 |
+
// {
|
| 875 |
+
// if (inFTLHeader) {
|
| 876 |
+
// eatNewline();
|
| 877 |
+
// inFTLHeader = false;
|
| 878 |
+
// }
|
| 879 |
+
// if (squBracTagSyntax || postInterpolationLexState != -1 /* We are in an interpolation */) {
|
| 880 |
+
// matchedToken.kind = NATURAL_GT;
|
| 881 |
+
// } else {
|
| 882 |
+
// SwitchTo(DEFAULT);
|
| 883 |
+
// }
|
| 884 |
+
// }
|
| 885 |
+
// This cannot happen while in auto mode, since this applies only to an
|
| 886 |
+
// fmExpression inside a directive. But once we encounter the start of a
|
| 887 |
+
// directive, we can establish the tag syntax mode.
|
| 888 |
+
[
|
| 889 |
+
/>/,
|
| 890 |
+
ts.id === "bracket" ? { token: "operators" } : { token: "@brackets.directive", next: "@popall" }
|
| 891 |
+
],
|
| 892 |
+
// <EMPTY_DIRECTIVE_END : "/>" | "/]">
|
| 893 |
+
// It is a syntax error to end a tag with the wrong close token
|
| 894 |
+
// Let's indicate that to the user by not closing the tag
|
| 895 |
+
[
|
| 896 |
+
r(/(\/)(@close__id__)/),
|
| 897 |
+
[{ token: "delimiter.directive" }, { token: "@brackets.directive", next: "@popall" }]
|
| 898 |
+
]
|
| 899 |
+
],
|
| 900 |
+
// <IN_PAREN> TOKEN :
|
| 901 |
+
[s("greater_operators_token__id__")]: [
|
| 902 |
+
// <NATURAL_GT : ">">
|
| 903 |
+
[/>/, { token: "operators" }],
|
| 904 |
+
// <NATURAL_GTE : ">=">
|
| 905 |
+
[/>=/, { token: "operators" }]
|
| 906 |
+
],
|
| 907 |
+
// <NO_SPACE_EXPRESSION> TOKEN :
|
| 908 |
+
[s("no_space_expression_end_token__id__")]: [
|
| 909 |
+
// <TERMINATING_WHITESPACE : (["\n", "\r", "\t", " "])+> : FM_EXPRESSION
|
| 910 |
+
[/(?:@blank)+/, { token: "", switchTo: s("@fmExpression__id__.directive") }]
|
| 911 |
+
],
|
| 912 |
+
[s("unified_call_token__id__")]: [
|
| 913 |
+
// Special case for a call where the expression is just an ID
|
| 914 |
+
// <UNIFIED_CALL> <ID> <BLANK>+
|
| 915 |
+
[
|
| 916 |
+
/(@id)((?:@blank)+)/,
|
| 917 |
+
[{ token: "tag" }, { token: "", next: s("@fmExpression__id__.directive") }]
|
| 918 |
+
],
|
| 919 |
+
[
|
| 920 |
+
r(/(@id)(\/?)(@close__id__)/),
|
| 921 |
+
[
|
| 922 |
+
{ token: "tag" },
|
| 923 |
+
{ token: "delimiter.directive" },
|
| 924 |
+
{ token: "@brackets.directive", next: "@popall" }
|
| 925 |
+
]
|
| 926 |
+
],
|
| 927 |
+
[/./, { token: "@rematch", next: s("@noSpaceExpression__id__") }]
|
| 928 |
+
],
|
| 929 |
+
// <NO_PARSE> TOKEN :
|
| 930 |
+
[s("no_parse_token__id__")]: [
|
| 931 |
+
// <MAYBE_END :
|
| 932 |
+
// ("<" | "[")
|
| 933 |
+
// "/"
|
| 934 |
+
// ("#")?
|
| 935 |
+
// (["a"-"z", "A"-"Z"])+
|
| 936 |
+
// ( " " | "\t" | "\n" | "\r" )*
|
| 937 |
+
// (">" | "]")
|
| 938 |
+
// >
|
| 939 |
+
[
|
| 940 |
+
r(/(@open__id__)(\/#?)([a-zA-Z]+)((?:@blank)*)(@close__id__)/),
|
| 941 |
+
{
|
| 942 |
+
cases: {
|
| 943 |
+
"$S2==$3": [
|
| 944 |
+
{ token: "@brackets.directive" },
|
| 945 |
+
{ token: "delimiter.directive" },
|
| 946 |
+
{ token: "tag" },
|
| 947 |
+
{ token: "" },
|
| 948 |
+
{ token: "@brackets.directive", next: "@popall" }
|
| 949 |
+
],
|
| 950 |
+
"$S2==comment": [
|
| 951 |
+
{ token: "comment" },
|
| 952 |
+
{ token: "comment" },
|
| 953 |
+
{ token: "comment" },
|
| 954 |
+
{ token: "comment" },
|
| 955 |
+
{ token: "comment" }
|
| 956 |
+
],
|
| 957 |
+
"@default": [
|
| 958 |
+
{ token: "source" },
|
| 959 |
+
{ token: "source" },
|
| 960 |
+
{ token: "source" },
|
| 961 |
+
{ token: "source" },
|
| 962 |
+
{ token: "source" }
|
| 963 |
+
]
|
| 964 |
+
}
|
| 965 |
+
}
|
| 966 |
+
],
|
| 967 |
+
// <KEEP_GOING : (~["<", "[", "-"])+>
|
| 968 |
+
// <LONE_LESS_THAN_OR_DASH : ["<", "[", "-"]>
|
| 969 |
+
[
|
| 970 |
+
/[^<\[\-]+|[<\[\-]/,
|
| 971 |
+
{
|
| 972 |
+
cases: {
|
| 973 |
+
"$S2==comment": { token: "comment" },
|
| 974 |
+
"@default": { token: "source" }
|
| 975 |
+
}
|
| 976 |
+
}
|
| 977 |
+
]
|
| 978 |
+
],
|
| 979 |
+
// <EXPRESSION_COMMENT> SKIP:
|
| 980 |
+
[s("expression_comment_token__id__")]: [
|
| 981 |
+
// < "-->" | "--]">
|
| 982 |
+
[
|
| 983 |
+
/--[>\]]/,
|
| 984 |
+
{
|
| 985 |
+
token: "comment",
|
| 986 |
+
next: "@pop"
|
| 987 |
+
}
|
| 988 |
+
],
|
| 989 |
+
// < (~["-", ">", "]"])+ >
|
| 990 |
+
// < ">">
|
| 991 |
+
// < "]">
|
| 992 |
+
// < "-">
|
| 993 |
+
[/[^\->\]]+|[>\]\-]/, { token: "comment" }]
|
| 994 |
+
],
|
| 995 |
+
[s("terse_comment_token__id__")]: [
|
| 996 |
+
// <TERSE_COMMENT_END : "-->" | "--]">
|
| 997 |
+
[r(/--(?:@close__id__)/), { token: "comment", next: "@popall" }],
|
| 998 |
+
// <KEEP_GOING : (~["<", "[", "-"])+>
|
| 999 |
+
// <LONE_LESS_THAN_OR_DASH : ["<", "[", "-"]>
|
| 1000 |
+
[/[^<\[\-]+|[<\[\-]/, { token: "comment" }]
|
| 1001 |
+
]
|
| 1002 |
+
}
|
| 1003 |
+
};
|
| 1004 |
+
}
|
| 1005 |
+
function createMonarchLanguageAuto(is) {
|
| 1006 |
+
const angle = createMonarchLanguage(TagSyntaxAngle, is);
|
| 1007 |
+
const bracket = createMonarchLanguage(TagSyntaxBracket, is);
|
| 1008 |
+
const auto = createMonarchLanguage(TagSyntaxAuto, is);
|
| 1009 |
+
return {
|
| 1010 |
+
// Angle and bracket syntax mode
|
| 1011 |
+
// We switch to one of these once we have determined the mode
|
| 1012 |
+
...angle,
|
| 1013 |
+
...bracket,
|
| 1014 |
+
...auto,
|
| 1015 |
+
// Settings
|
| 1016 |
+
unicode: true,
|
| 1017 |
+
includeLF: false,
|
| 1018 |
+
start: `default_auto_${is.id}`,
|
| 1019 |
+
ignoreCase: false,
|
| 1020 |
+
defaultToken: "invalid",
|
| 1021 |
+
tokenPostfix: `.freemarker2`,
|
| 1022 |
+
brackets: [
|
| 1023 |
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
| 1024 |
+
{ open: "[", close: "]", token: "delimiter.square" },
|
| 1025 |
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
| 1026 |
+
{ open: "<", close: ">", token: "delimiter.angle" }
|
| 1027 |
+
],
|
| 1028 |
+
tokenizer: {
|
| 1029 |
+
...angle.tokenizer,
|
| 1030 |
+
...bracket.tokenizer,
|
| 1031 |
+
...auto.tokenizer
|
| 1032 |
+
}
|
| 1033 |
+
};
|
| 1034 |
+
}
|
| 1035 |
+
var TagAngleInterpolationDollar = {
|
| 1036 |
+
conf: createLangConfiguration(TagSyntaxAngle),
|
| 1037 |
+
language: createMonarchLanguage(TagSyntaxAngle, InterpolationSyntaxDollar)
|
| 1038 |
+
};
|
| 1039 |
+
var TagBracketInterpolationDollar = {
|
| 1040 |
+
conf: createLangConfiguration(TagSyntaxBracket),
|
| 1041 |
+
language: createMonarchLanguage(TagSyntaxBracket, InterpolationSyntaxDollar)
|
| 1042 |
+
};
|
| 1043 |
+
var TagAngleInterpolationBracket = {
|
| 1044 |
+
conf: createLangConfiguration(TagSyntaxAngle),
|
| 1045 |
+
language: createMonarchLanguage(TagSyntaxAngle, InterpolationSyntaxBracket)
|
| 1046 |
+
};
|
| 1047 |
+
var TagBracketInterpolationBracket = {
|
| 1048 |
+
conf: createLangConfiguration(TagSyntaxBracket),
|
| 1049 |
+
language: createMonarchLanguage(TagSyntaxBracket, InterpolationSyntaxBracket)
|
| 1050 |
+
};
|
| 1051 |
+
var TagAutoInterpolationDollar = {
|
| 1052 |
+
conf: createLangConfigurationAuto(),
|
| 1053 |
+
language: createMonarchLanguageAuto(InterpolationSyntaxDollar)
|
| 1054 |
+
};
|
| 1055 |
+
var TagAutoInterpolationBracket = {
|
| 1056 |
+
conf: createLangConfigurationAuto(),
|
| 1057 |
+
language: createMonarchLanguageAuto(InterpolationSyntaxBracket)
|
| 1058 |
+
};
|
| 1059 |
+
return __toCommonJS(freemarker2_exports);
|
| 1060 |
+
})();
|
| 1061 |
+
return moduleExports;
|
| 1062 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/fsharp/fsharp.js
ADDED
|
@@ -0,0 +1,251 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/fsharp/fsharp", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/fsharp/fsharp.ts
|
| 29 |
+
var fsharp_exports = {};
|
| 30 |
+
__export(fsharp_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
comments: {
|
| 36 |
+
lineComment: "//",
|
| 37 |
+
blockComment: ["(*", "*)"]
|
| 38 |
+
},
|
| 39 |
+
brackets: [
|
| 40 |
+
["{", "}"],
|
| 41 |
+
["[", "]"],
|
| 42 |
+
["(", ")"]
|
| 43 |
+
],
|
| 44 |
+
autoClosingPairs: [
|
| 45 |
+
{ open: "{", close: "}" },
|
| 46 |
+
{ open: "[", close: "]" },
|
| 47 |
+
{ open: "(", close: ")" },
|
| 48 |
+
{ open: '"', close: '"' }
|
| 49 |
+
],
|
| 50 |
+
surroundingPairs: [
|
| 51 |
+
{ open: "{", close: "}" },
|
| 52 |
+
{ open: "[", close: "]" },
|
| 53 |
+
{ open: "(", close: ")" },
|
| 54 |
+
{ open: '"', close: '"' },
|
| 55 |
+
{ open: "'", close: "'" }
|
| 56 |
+
],
|
| 57 |
+
folding: {
|
| 58 |
+
markers: {
|
| 59 |
+
start: new RegExp("^\\s*//\\s*#region\\b|^\\s*\\(\\*\\s*#region(.*)\\*\\)"),
|
| 60 |
+
end: new RegExp("^\\s*//\\s*#endregion\\b|^\\s*\\(\\*\\s*#endregion\\s*\\*\\)")
|
| 61 |
+
}
|
| 62 |
+
}
|
| 63 |
+
};
|
| 64 |
+
var language = {
|
| 65 |
+
defaultToken: "",
|
| 66 |
+
tokenPostfix: ".fs",
|
| 67 |
+
keywords: [
|
| 68 |
+
"abstract",
|
| 69 |
+
"and",
|
| 70 |
+
"atomic",
|
| 71 |
+
"as",
|
| 72 |
+
"assert",
|
| 73 |
+
"asr",
|
| 74 |
+
"base",
|
| 75 |
+
"begin",
|
| 76 |
+
"break",
|
| 77 |
+
"checked",
|
| 78 |
+
"component",
|
| 79 |
+
"const",
|
| 80 |
+
"constraint",
|
| 81 |
+
"constructor",
|
| 82 |
+
"continue",
|
| 83 |
+
"class",
|
| 84 |
+
"default",
|
| 85 |
+
"delegate",
|
| 86 |
+
"do",
|
| 87 |
+
"done",
|
| 88 |
+
"downcast",
|
| 89 |
+
"downto",
|
| 90 |
+
"elif",
|
| 91 |
+
"else",
|
| 92 |
+
"end",
|
| 93 |
+
"exception",
|
| 94 |
+
"eager",
|
| 95 |
+
"event",
|
| 96 |
+
"external",
|
| 97 |
+
"extern",
|
| 98 |
+
"false",
|
| 99 |
+
"finally",
|
| 100 |
+
"for",
|
| 101 |
+
"fun",
|
| 102 |
+
"function",
|
| 103 |
+
"fixed",
|
| 104 |
+
"functor",
|
| 105 |
+
"global",
|
| 106 |
+
"if",
|
| 107 |
+
"in",
|
| 108 |
+
"include",
|
| 109 |
+
"inherit",
|
| 110 |
+
"inline",
|
| 111 |
+
"interface",
|
| 112 |
+
"internal",
|
| 113 |
+
"land",
|
| 114 |
+
"lor",
|
| 115 |
+
"lsl",
|
| 116 |
+
"lsr",
|
| 117 |
+
"lxor",
|
| 118 |
+
"lazy",
|
| 119 |
+
"let",
|
| 120 |
+
"match",
|
| 121 |
+
"member",
|
| 122 |
+
"mod",
|
| 123 |
+
"module",
|
| 124 |
+
"mutable",
|
| 125 |
+
"namespace",
|
| 126 |
+
"method",
|
| 127 |
+
"mixin",
|
| 128 |
+
"new",
|
| 129 |
+
"not",
|
| 130 |
+
"null",
|
| 131 |
+
"of",
|
| 132 |
+
"open",
|
| 133 |
+
"or",
|
| 134 |
+
"object",
|
| 135 |
+
"override",
|
| 136 |
+
"private",
|
| 137 |
+
"parallel",
|
| 138 |
+
"process",
|
| 139 |
+
"protected",
|
| 140 |
+
"pure",
|
| 141 |
+
"public",
|
| 142 |
+
"rec",
|
| 143 |
+
"return",
|
| 144 |
+
"static",
|
| 145 |
+
"sealed",
|
| 146 |
+
"struct",
|
| 147 |
+
"sig",
|
| 148 |
+
"then",
|
| 149 |
+
"to",
|
| 150 |
+
"true",
|
| 151 |
+
"tailcall",
|
| 152 |
+
"trait",
|
| 153 |
+
"try",
|
| 154 |
+
"type",
|
| 155 |
+
"upcast",
|
| 156 |
+
"use",
|
| 157 |
+
"val",
|
| 158 |
+
"void",
|
| 159 |
+
"virtual",
|
| 160 |
+
"volatile",
|
| 161 |
+
"when",
|
| 162 |
+
"while",
|
| 163 |
+
"with",
|
| 164 |
+
"yield"
|
| 165 |
+
],
|
| 166 |
+
// we include these common regular expressions
|
| 167 |
+
symbols: /[=><!~?:&|+\-*\^%;\.,\/]+/,
|
| 168 |
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
| 169 |
+
integersuffix: /[uU]?[yslnLI]?/,
|
| 170 |
+
floatsuffix: /[fFmM]?/,
|
| 171 |
+
// The main tokenizer for our languages
|
| 172 |
+
tokenizer: {
|
| 173 |
+
root: [
|
| 174 |
+
// identifiers and keywords
|
| 175 |
+
[
|
| 176 |
+
/[a-zA-Z_]\w*/,
|
| 177 |
+
{
|
| 178 |
+
cases: {
|
| 179 |
+
"@keywords": { token: "keyword.$0" },
|
| 180 |
+
"@default": "identifier"
|
| 181 |
+
}
|
| 182 |
+
}
|
| 183 |
+
],
|
| 184 |
+
// whitespace
|
| 185 |
+
{ include: "@whitespace" },
|
| 186 |
+
// [< attributes >].
|
| 187 |
+
[/\[<.*>\]/, "annotation"],
|
| 188 |
+
// Preprocessor directive
|
| 189 |
+
[/^#(if|else|endif)/, "keyword"],
|
| 190 |
+
// delimiters and operators
|
| 191 |
+
[/[{}()\[\]]/, "@brackets"],
|
| 192 |
+
[/[<>](?!@symbols)/, "@brackets"],
|
| 193 |
+
[/@symbols/, "delimiter"],
|
| 194 |
+
// numbers
|
| 195 |
+
[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/, "number.float"],
|
| 196 |
+
[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/, "number.float"],
|
| 197 |
+
[/0x[0-9a-fA-F]+LF/, "number.float"],
|
| 198 |
+
[/0x[0-9a-fA-F]+(@integersuffix)/, "number.hex"],
|
| 199 |
+
[/0b[0-1]+(@integersuffix)/, "number.bin"],
|
| 200 |
+
[/\d+(@integersuffix)/, "number"],
|
| 201 |
+
// delimiter: after number because of .\d floats
|
| 202 |
+
[/[;,.]/, "delimiter"],
|
| 203 |
+
// strings
|
| 204 |
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
| 205 |
+
// non-teminated string
|
| 206 |
+
[/"""/, "string", '@string."""'],
|
| 207 |
+
[/"/, "string", '@string."'],
|
| 208 |
+
// literal string
|
| 209 |
+
[/\@"/, { token: "string.quote", next: "@litstring" }],
|
| 210 |
+
// characters
|
| 211 |
+
[/'[^\\']'B?/, "string"],
|
| 212 |
+
[/(')(@escapes)(')/, ["string", "string.escape", "string"]],
|
| 213 |
+
[/'/, "string.invalid"]
|
| 214 |
+
],
|
| 215 |
+
whitespace: [
|
| 216 |
+
[/[ \t\r\n]+/, ""],
|
| 217 |
+
[/\(\*(?!\))/, "comment", "@comment"],
|
| 218 |
+
[/\/\/.*$/, "comment"]
|
| 219 |
+
],
|
| 220 |
+
comment: [
|
| 221 |
+
[/[^*(]+/, "comment"],
|
| 222 |
+
[/\*\)/, "comment", "@pop"],
|
| 223 |
+
[/\*/, "comment"],
|
| 224 |
+
[/\(\*\)/, "comment"],
|
| 225 |
+
[/\(/, "comment"]
|
| 226 |
+
],
|
| 227 |
+
string: [
|
| 228 |
+
[/[^\\"]+/, "string"],
|
| 229 |
+
[/@escapes/, "string.escape"],
|
| 230 |
+
[/\\./, "string.escape.invalid"],
|
| 231 |
+
[
|
| 232 |
+
/("""|"B?)/,
|
| 233 |
+
{
|
| 234 |
+
cases: {
|
| 235 |
+
"$#==$S2": { token: "string", next: "@pop" },
|
| 236 |
+
"@default": "string"
|
| 237 |
+
}
|
| 238 |
+
}
|
| 239 |
+
]
|
| 240 |
+
],
|
| 241 |
+
litstring: [
|
| 242 |
+
[/[^"]+/, "string"],
|
| 243 |
+
[/""/, "string.escape"],
|
| 244 |
+
[/"/, { token: "string.quote", next: "@pop" }]
|
| 245 |
+
]
|
| 246 |
+
}
|
| 247 |
+
};
|
| 248 |
+
return __toCommonJS(fsharp_exports);
|
| 249 |
+
})();
|
| 250 |
+
return moduleExports;
|
| 251 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/go/go.js
ADDED
|
@@ -0,0 +1,252 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/go/go", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/go/go.ts
|
| 29 |
+
var go_exports = {};
|
| 30 |
+
__export(go_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
comments: {
|
| 36 |
+
lineComment: "//",
|
| 37 |
+
blockComment: ["/*", "*/"]
|
| 38 |
+
},
|
| 39 |
+
brackets: [
|
| 40 |
+
["{", "}"],
|
| 41 |
+
["[", "]"],
|
| 42 |
+
["(", ")"]
|
| 43 |
+
],
|
| 44 |
+
autoClosingPairs: [
|
| 45 |
+
{ open: "{", close: "}" },
|
| 46 |
+
{ open: "[", close: "]" },
|
| 47 |
+
{ open: "(", close: ")" },
|
| 48 |
+
{ open: "`", close: "`", notIn: ["string"] },
|
| 49 |
+
{ open: '"', close: '"', notIn: ["string"] },
|
| 50 |
+
{ open: "'", close: "'", notIn: ["string", "comment"] }
|
| 51 |
+
],
|
| 52 |
+
surroundingPairs: [
|
| 53 |
+
{ open: "{", close: "}" },
|
| 54 |
+
{ open: "[", close: "]" },
|
| 55 |
+
{ open: "(", close: ")" },
|
| 56 |
+
{ open: "`", close: "`" },
|
| 57 |
+
{ open: '"', close: '"' },
|
| 58 |
+
{ open: "'", close: "'" }
|
| 59 |
+
]
|
| 60 |
+
};
|
| 61 |
+
var language = {
|
| 62 |
+
defaultToken: "",
|
| 63 |
+
tokenPostfix: ".go",
|
| 64 |
+
keywords: [
|
| 65 |
+
"break",
|
| 66 |
+
"case",
|
| 67 |
+
"chan",
|
| 68 |
+
"const",
|
| 69 |
+
"continue",
|
| 70 |
+
"default",
|
| 71 |
+
"defer",
|
| 72 |
+
"else",
|
| 73 |
+
"fallthrough",
|
| 74 |
+
"for",
|
| 75 |
+
"func",
|
| 76 |
+
"go",
|
| 77 |
+
"goto",
|
| 78 |
+
"if",
|
| 79 |
+
"import",
|
| 80 |
+
"interface",
|
| 81 |
+
"map",
|
| 82 |
+
"package",
|
| 83 |
+
"range",
|
| 84 |
+
"return",
|
| 85 |
+
"select",
|
| 86 |
+
"struct",
|
| 87 |
+
"switch",
|
| 88 |
+
"type",
|
| 89 |
+
"var",
|
| 90 |
+
"bool",
|
| 91 |
+
"true",
|
| 92 |
+
"false",
|
| 93 |
+
"uint8",
|
| 94 |
+
"uint16",
|
| 95 |
+
"uint32",
|
| 96 |
+
"uint64",
|
| 97 |
+
"int8",
|
| 98 |
+
"int16",
|
| 99 |
+
"int32",
|
| 100 |
+
"int64",
|
| 101 |
+
"float32",
|
| 102 |
+
"float64",
|
| 103 |
+
"complex64",
|
| 104 |
+
"complex128",
|
| 105 |
+
"byte",
|
| 106 |
+
"rune",
|
| 107 |
+
"uint",
|
| 108 |
+
"int",
|
| 109 |
+
"uintptr",
|
| 110 |
+
"string",
|
| 111 |
+
"nil"
|
| 112 |
+
],
|
| 113 |
+
operators: [
|
| 114 |
+
"+",
|
| 115 |
+
"-",
|
| 116 |
+
"*",
|
| 117 |
+
"/",
|
| 118 |
+
"%",
|
| 119 |
+
"&",
|
| 120 |
+
"|",
|
| 121 |
+
"^",
|
| 122 |
+
"<<",
|
| 123 |
+
">>",
|
| 124 |
+
"&^",
|
| 125 |
+
"+=",
|
| 126 |
+
"-=",
|
| 127 |
+
"*=",
|
| 128 |
+
"/=",
|
| 129 |
+
"%=",
|
| 130 |
+
"&=",
|
| 131 |
+
"|=",
|
| 132 |
+
"^=",
|
| 133 |
+
"<<=",
|
| 134 |
+
">>=",
|
| 135 |
+
"&^=",
|
| 136 |
+
"&&",
|
| 137 |
+
"||",
|
| 138 |
+
"<-",
|
| 139 |
+
"++",
|
| 140 |
+
"--",
|
| 141 |
+
"==",
|
| 142 |
+
"<",
|
| 143 |
+
">",
|
| 144 |
+
"=",
|
| 145 |
+
"!",
|
| 146 |
+
"!=",
|
| 147 |
+
"<=",
|
| 148 |
+
">=",
|
| 149 |
+
":=",
|
| 150 |
+
"...",
|
| 151 |
+
"(",
|
| 152 |
+
")",
|
| 153 |
+
"",
|
| 154 |
+
"]",
|
| 155 |
+
"{",
|
| 156 |
+
"}",
|
| 157 |
+
",",
|
| 158 |
+
";",
|
| 159 |
+
".",
|
| 160 |
+
":"
|
| 161 |
+
],
|
| 162 |
+
// we include these common regular expressions
|
| 163 |
+
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
| 164 |
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
| 165 |
+
// The main tokenizer for our languages
|
| 166 |
+
tokenizer: {
|
| 167 |
+
root: [
|
| 168 |
+
// identifiers and keywords
|
| 169 |
+
[
|
| 170 |
+
/[a-zA-Z_]\w*/,
|
| 171 |
+
{
|
| 172 |
+
cases: {
|
| 173 |
+
"@keywords": { token: "keyword.$0" },
|
| 174 |
+
"@default": "identifier"
|
| 175 |
+
}
|
| 176 |
+
}
|
| 177 |
+
],
|
| 178 |
+
// whitespace
|
| 179 |
+
{ include: "@whitespace" },
|
| 180 |
+
// [[ attributes ]].
|
| 181 |
+
[/\[\[.*\]\]/, "annotation"],
|
| 182 |
+
// Preprocessor directive
|
| 183 |
+
[/^\s*#\w+/, "keyword"],
|
| 184 |
+
// delimiters and operators
|
| 185 |
+
[/[{}()\[\]]/, "@brackets"],
|
| 186 |
+
[/[<>](?!@symbols)/, "@brackets"],
|
| 187 |
+
[
|
| 188 |
+
/@symbols/,
|
| 189 |
+
{
|
| 190 |
+
cases: {
|
| 191 |
+
"@operators": "delimiter",
|
| 192 |
+
"@default": ""
|
| 193 |
+
}
|
| 194 |
+
}
|
| 195 |
+
],
|
| 196 |
+
// numbers
|
| 197 |
+
[/\d*\d+[eE]([\-+]?\d+)?/, "number.float"],
|
| 198 |
+
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
| 199 |
+
[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/, "number.hex"],
|
| 200 |
+
[/0[0-7']*[0-7]/, "number.octal"],
|
| 201 |
+
[/0[bB][0-1']*[0-1]/, "number.binary"],
|
| 202 |
+
[/\d[\d']*/, "number"],
|
| 203 |
+
[/\d/, "number"],
|
| 204 |
+
// delimiter: after number because of .\d floats
|
| 205 |
+
[/[;,.]/, "delimiter"],
|
| 206 |
+
// strings
|
| 207 |
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
| 208 |
+
// non-teminated string
|
| 209 |
+
[/"/, "string", "@string"],
|
| 210 |
+
[/`/, "string", "@rawstring"],
|
| 211 |
+
// characters
|
| 212 |
+
[/'[^\\']'/, "string"],
|
| 213 |
+
[/(')(@escapes)(')/, ["string", "string.escape", "string"]],
|
| 214 |
+
[/'/, "string.invalid"]
|
| 215 |
+
],
|
| 216 |
+
whitespace: [
|
| 217 |
+
[/[ \t\r\n]+/, ""],
|
| 218 |
+
[/\/\*\*(?!\/)/, "comment.doc", "@doccomment"],
|
| 219 |
+
[/\/\*/, "comment", "@comment"],
|
| 220 |
+
[/\/\/.*$/, "comment"]
|
| 221 |
+
],
|
| 222 |
+
comment: [
|
| 223 |
+
[/[^\/*]+/, "comment"],
|
| 224 |
+
// [/\/\*/, 'comment', '@push' ], // nested comment not allowed :-(
|
| 225 |
+
// [/\/\*/, 'comment.invalid' ], // this breaks block comments in the shape of /* //*/
|
| 226 |
+
[/\*\//, "comment", "@pop"],
|
| 227 |
+
[/[\/*]/, "comment"]
|
| 228 |
+
],
|
| 229 |
+
//Identical copy of comment above, except for the addition of .doc
|
| 230 |
+
doccomment: [
|
| 231 |
+
[/[^\/*]+/, "comment.doc"],
|
| 232 |
+
// [/\/\*/, 'comment.doc', '@push' ], // nested comment not allowed :-(
|
| 233 |
+
[/\/\*/, "comment.doc.invalid"],
|
| 234 |
+
[/\*\//, "comment.doc", "@pop"],
|
| 235 |
+
[/[\/*]/, "comment.doc"]
|
| 236 |
+
],
|
| 237 |
+
string: [
|
| 238 |
+
[/[^\\"]+/, "string"],
|
| 239 |
+
[/@escapes/, "string.escape"],
|
| 240 |
+
[/\\./, "string.escape.invalid"],
|
| 241 |
+
[/"/, "string", "@pop"]
|
| 242 |
+
],
|
| 243 |
+
rawstring: [
|
| 244 |
+
[/[^\`]/, "string"],
|
| 245 |
+
[/`/, "string", "@pop"]
|
| 246 |
+
]
|
| 247 |
+
}
|
| 248 |
+
};
|
| 249 |
+
return __toCommonJS(go_exports);
|
| 250 |
+
})();
|
| 251 |
+
return moduleExports;
|
| 252 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/graphql/graphql.js
ADDED
|
@@ -0,0 +1,185 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/graphql/graphql", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/graphql/graphql.ts
|
| 29 |
+
var graphql_exports = {};
|
| 30 |
+
__export(graphql_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
comments: {
|
| 36 |
+
lineComment: "#"
|
| 37 |
+
},
|
| 38 |
+
brackets: [
|
| 39 |
+
["{", "}"],
|
| 40 |
+
["[", "]"],
|
| 41 |
+
["(", ")"]
|
| 42 |
+
],
|
| 43 |
+
autoClosingPairs: [
|
| 44 |
+
{ open: "{", close: "}" },
|
| 45 |
+
{ open: "[", close: "]" },
|
| 46 |
+
{ open: "(", close: ")" },
|
| 47 |
+
{ open: '"""', close: '"""', notIn: ["string", "comment"] },
|
| 48 |
+
{ open: '"', close: '"', notIn: ["string", "comment"] }
|
| 49 |
+
],
|
| 50 |
+
surroundingPairs: [
|
| 51 |
+
{ open: "{", close: "}" },
|
| 52 |
+
{ open: "[", close: "]" },
|
| 53 |
+
{ open: "(", close: ")" },
|
| 54 |
+
{ open: '"""', close: '"""' },
|
| 55 |
+
{ open: '"', close: '"' }
|
| 56 |
+
],
|
| 57 |
+
folding: {
|
| 58 |
+
offSide: true
|
| 59 |
+
}
|
| 60 |
+
};
|
| 61 |
+
var language = {
|
| 62 |
+
// Set defaultToken to invalid to see what you do not tokenize yet
|
| 63 |
+
defaultToken: "invalid",
|
| 64 |
+
tokenPostfix: ".gql",
|
| 65 |
+
keywords: [
|
| 66 |
+
"null",
|
| 67 |
+
"true",
|
| 68 |
+
"false",
|
| 69 |
+
"query",
|
| 70 |
+
"mutation",
|
| 71 |
+
"subscription",
|
| 72 |
+
"extend",
|
| 73 |
+
"schema",
|
| 74 |
+
"directive",
|
| 75 |
+
"scalar",
|
| 76 |
+
"type",
|
| 77 |
+
"interface",
|
| 78 |
+
"union",
|
| 79 |
+
"enum",
|
| 80 |
+
"input",
|
| 81 |
+
"implements",
|
| 82 |
+
"fragment",
|
| 83 |
+
"on"
|
| 84 |
+
],
|
| 85 |
+
typeKeywords: ["Int", "Float", "String", "Boolean", "ID"],
|
| 86 |
+
directiveLocations: [
|
| 87 |
+
"SCHEMA",
|
| 88 |
+
"SCALAR",
|
| 89 |
+
"OBJECT",
|
| 90 |
+
"FIELD_DEFINITION",
|
| 91 |
+
"ARGUMENT_DEFINITION",
|
| 92 |
+
"INTERFACE",
|
| 93 |
+
"UNION",
|
| 94 |
+
"ENUM",
|
| 95 |
+
"ENUM_VALUE",
|
| 96 |
+
"INPUT_OBJECT",
|
| 97 |
+
"INPUT_FIELD_DEFINITION",
|
| 98 |
+
"QUERY",
|
| 99 |
+
"MUTATION",
|
| 100 |
+
"SUBSCRIPTION",
|
| 101 |
+
"FIELD",
|
| 102 |
+
"FRAGMENT_DEFINITION",
|
| 103 |
+
"FRAGMENT_SPREAD",
|
| 104 |
+
"INLINE_FRAGMENT",
|
| 105 |
+
"VARIABLE_DEFINITION"
|
| 106 |
+
],
|
| 107 |
+
operators: ["=", "!", "?", ":", "&", "|"],
|
| 108 |
+
// we include these common regular expressions
|
| 109 |
+
symbols: /[=!?:&|]+/,
|
| 110 |
+
// https://facebook.github.io/graphql/draft/#sec-String-Value
|
| 111 |
+
escapes: /\\(?:["\\\/bfnrt]|u[0-9A-Fa-f]{4})/,
|
| 112 |
+
// The main tokenizer for our languages
|
| 113 |
+
tokenizer: {
|
| 114 |
+
root: [
|
| 115 |
+
// fields and argument names
|
| 116 |
+
[
|
| 117 |
+
/[a-z_][\w$]*/,
|
| 118 |
+
{
|
| 119 |
+
cases: {
|
| 120 |
+
"@keywords": "keyword",
|
| 121 |
+
"@default": "key.identifier"
|
| 122 |
+
}
|
| 123 |
+
}
|
| 124 |
+
],
|
| 125 |
+
// identify typed input variables
|
| 126 |
+
[
|
| 127 |
+
/[$][\w$]*/,
|
| 128 |
+
{
|
| 129 |
+
cases: {
|
| 130 |
+
"@keywords": "keyword",
|
| 131 |
+
"@default": "argument.identifier"
|
| 132 |
+
}
|
| 133 |
+
}
|
| 134 |
+
],
|
| 135 |
+
// to show class names nicely
|
| 136 |
+
[
|
| 137 |
+
/[A-Z][\w\$]*/,
|
| 138 |
+
{
|
| 139 |
+
cases: {
|
| 140 |
+
"@typeKeywords": "keyword",
|
| 141 |
+
"@default": "type.identifier"
|
| 142 |
+
}
|
| 143 |
+
}
|
| 144 |
+
],
|
| 145 |
+
// whitespace
|
| 146 |
+
{ include: "@whitespace" },
|
| 147 |
+
// delimiters and operators
|
| 148 |
+
[/[{}()\[\]]/, "@brackets"],
|
| 149 |
+
[/@symbols/, { cases: { "@operators": "operator", "@default": "" } }],
|
| 150 |
+
// @ annotations.
|
| 151 |
+
// As an example, we emit a debugging log message on these tokens.
|
| 152 |
+
// Note: message are supressed during the first load -- change some lines to see them.
|
| 153 |
+
[/@\s*[a-zA-Z_\$][\w\$]*/, { token: "annotation", log: "annotation token: $0" }],
|
| 154 |
+
// numbers
|
| 155 |
+
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
| 156 |
+
[/0[xX][0-9a-fA-F]+/, "number.hex"],
|
| 157 |
+
[/\d+/, "number"],
|
| 158 |
+
// delimiter: after number because of .\d floats
|
| 159 |
+
[/[;,.]/, "delimiter"],
|
| 160 |
+
[/"""/, { token: "string", next: "@mlstring", nextEmbedded: "markdown" }],
|
| 161 |
+
// strings
|
| 162 |
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
| 163 |
+
// non-teminated string
|
| 164 |
+
[/"/, { token: "string.quote", bracket: "@open", next: "@string" }]
|
| 165 |
+
],
|
| 166 |
+
mlstring: [
|
| 167 |
+
[/[^"]+/, "string"],
|
| 168 |
+
['"""', { token: "string", next: "@pop", nextEmbedded: "@pop" }]
|
| 169 |
+
],
|
| 170 |
+
string: [
|
| 171 |
+
[/[^\\"]+/, "string"],
|
| 172 |
+
[/@escapes/, "string.escape"],
|
| 173 |
+
[/\\./, "string.escape.invalid"],
|
| 174 |
+
[/"/, { token: "string.quote", bracket: "@close", next: "@pop" }]
|
| 175 |
+
],
|
| 176 |
+
whitespace: [
|
| 177 |
+
[/[ \t\r\n]+/, ""],
|
| 178 |
+
[/#.*$/, "comment"]
|
| 179 |
+
]
|
| 180 |
+
}
|
| 181 |
+
};
|
| 182 |
+
return __toCommonJS(graphql_exports);
|
| 183 |
+
})();
|
| 184 |
+
return moduleExports;
|
| 185 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/handleb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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/handlebars/handlebars", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __create = Object.create;
|
| 11 |
+
var __defProp = Object.defineProperty;
|
| 12 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 13 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 14 |
+
var __getProtoOf = Object.getPrototypeOf;
|
| 15 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 16 |
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
| 17 |
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
| 18 |
+
}) : x)(function(x) {
|
| 19 |
+
if (typeof require !== "undefined")
|
| 20 |
+
return require.apply(this, arguments);
|
| 21 |
+
throw Error('Dynamic require of "' + x + '" is not supported');
|
| 22 |
+
});
|
| 23 |
+
var __commonJS = (cb, mod) => function __require2() {
|
| 24 |
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
| 25 |
+
};
|
| 26 |
+
var __export = (target, all) => {
|
| 27 |
+
for (var name in all)
|
| 28 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 29 |
+
};
|
| 30 |
+
var __copyProps = (to, from, except, desc) => {
|
| 31 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 32 |
+
for (let key of __getOwnPropNames(from))
|
| 33 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 34 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 35 |
+
}
|
| 36 |
+
return to;
|
| 37 |
+
};
|
| 38 |
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
| 39 |
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
| 40 |
+
// If the importer is in node compatibility mode or this is not an ESM
|
| 41 |
+
// file that has been converted to a CommonJS file using a Babel-
|
| 42 |
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
| 43 |
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
| 44 |
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
| 45 |
+
mod
|
| 46 |
+
));
|
| 47 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 48 |
+
|
| 49 |
+
// src/fillers/monaco-editor-core-amd.ts
|
| 50 |
+
var require_monaco_editor_core_amd = __commonJS({
|
| 51 |
+
"src/fillers/monaco-editor-core-amd.ts"(exports, module) {
|
| 52 |
+
var api = __toESM(__require("vs/editor/editor.api"));
|
| 53 |
+
module.exports = api;
|
| 54 |
+
}
|
| 55 |
+
});
|
| 56 |
+
|
| 57 |
+
// src/basic-languages/handlebars/handlebars.ts
|
| 58 |
+
var handlebars_exports = {};
|
| 59 |
+
__export(handlebars_exports, {
|
| 60 |
+
conf: () => conf,
|
| 61 |
+
language: () => language
|
| 62 |
+
});
|
| 63 |
+
|
| 64 |
+
// src/fillers/monaco-editor-core.ts
|
| 65 |
+
var monaco_editor_core_exports = {};
|
| 66 |
+
__reExport(monaco_editor_core_exports, __toESM(require_monaco_editor_core_amd()));
|
| 67 |
+
|
| 68 |
+
// src/basic-languages/handlebars/handlebars.ts
|
| 69 |
+
var EMPTY_ELEMENTS = [
|
| 70 |
+
"area",
|
| 71 |
+
"base",
|
| 72 |
+
"br",
|
| 73 |
+
"col",
|
| 74 |
+
"embed",
|
| 75 |
+
"hr",
|
| 76 |
+
"img",
|
| 77 |
+
"input",
|
| 78 |
+
"keygen",
|
| 79 |
+
"link",
|
| 80 |
+
"menuitem",
|
| 81 |
+
"meta",
|
| 82 |
+
"param",
|
| 83 |
+
"source",
|
| 84 |
+
"track",
|
| 85 |
+
"wbr"
|
| 86 |
+
];
|
| 87 |
+
var conf = {
|
| 88 |
+
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,
|
| 89 |
+
comments: {
|
| 90 |
+
blockComment: ["{{!--", "--}}"]
|
| 91 |
+
},
|
| 92 |
+
brackets: [
|
| 93 |
+
["<!--", "-->"],
|
| 94 |
+
["<", ">"],
|
| 95 |
+
["{{", "}}"],
|
| 96 |
+
["{", "}"],
|
| 97 |
+
["(", ")"]
|
| 98 |
+
],
|
| 99 |
+
autoClosingPairs: [
|
| 100 |
+
{ open: "{", close: "}" },
|
| 101 |
+
{ open: "[", close: "]" },
|
| 102 |
+
{ open: "(", close: ")" },
|
| 103 |
+
{ open: '"', close: '"' },
|
| 104 |
+
{ open: "'", close: "'" }
|
| 105 |
+
],
|
| 106 |
+
surroundingPairs: [
|
| 107 |
+
{ open: "<", close: ">" },
|
| 108 |
+
{ open: '"', close: '"' },
|
| 109 |
+
{ open: "'", close: "'" }
|
| 110 |
+
],
|
| 111 |
+
onEnterRules: [
|
| 112 |
+
{
|
| 113 |
+
beforeText: new RegExp(
|
| 114 |
+
`<(?!(?:${EMPTY_ELEMENTS.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,
|
| 115 |
+
"i"
|
| 116 |
+
),
|
| 117 |
+
afterText: /^<\/(\w[\w\d]*)\s*>$/i,
|
| 118 |
+
action: {
|
| 119 |
+
indentAction: monaco_editor_core_exports.languages.IndentAction.IndentOutdent
|
| 120 |
+
}
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
beforeText: new RegExp(
|
| 124 |
+
`<(?!(?:${EMPTY_ELEMENTS.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,
|
| 125 |
+
"i"
|
| 126 |
+
),
|
| 127 |
+
action: { indentAction: monaco_editor_core_exports.languages.IndentAction.Indent }
|
| 128 |
+
}
|
| 129 |
+
]
|
| 130 |
+
};
|
| 131 |
+
var language = {
|
| 132 |
+
defaultToken: "",
|
| 133 |
+
tokenPostfix: "",
|
| 134 |
+
// ignoreCase: true,
|
| 135 |
+
// The main tokenizer for our languages
|
| 136 |
+
tokenizer: {
|
| 137 |
+
root: [
|
| 138 |
+
[/\{\{!--/, "comment.block.start.handlebars", "@commentBlock"],
|
| 139 |
+
[/\{\{!/, "comment.start.handlebars", "@comment"],
|
| 140 |
+
[/\{\{/, { token: "@rematch", switchTo: "@handlebarsInSimpleState.root" }],
|
| 141 |
+
[/<!DOCTYPE/, "metatag.html", "@doctype"],
|
| 142 |
+
[/<!--/, "comment.html", "@commentHtml"],
|
| 143 |
+
[/(<)(\w+)(\/>)/, ["delimiter.html", "tag.html", "delimiter.html"]],
|
| 144 |
+
[/(<)(script)/, ["delimiter.html", { token: "tag.html", next: "@script" }]],
|
| 145 |
+
[/(<)(style)/, ["delimiter.html", { token: "tag.html", next: "@style" }]],
|
| 146 |
+
[/(<)([:\w]+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
|
| 147 |
+
[/(<\/)(\w+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
|
| 148 |
+
[/</, "delimiter.html"],
|
| 149 |
+
[/\{/, "delimiter.html"],
|
| 150 |
+
[/[^<{]+/]
|
| 151 |
+
// text
|
| 152 |
+
],
|
| 153 |
+
doctype: [
|
| 154 |
+
[
|
| 155 |
+
/\{\{/,
|
| 156 |
+
{
|
| 157 |
+
token: "@rematch",
|
| 158 |
+
switchTo: "@handlebarsInSimpleState.comment"
|
| 159 |
+
}
|
| 160 |
+
],
|
| 161 |
+
[/[^>]+/, "metatag.content.html"],
|
| 162 |
+
[/>/, "metatag.html", "@pop"]
|
| 163 |
+
],
|
| 164 |
+
comment: [
|
| 165 |
+
[/\}\}/, "comment.end.handlebars", "@pop"],
|
| 166 |
+
[/./, "comment.content.handlebars"]
|
| 167 |
+
],
|
| 168 |
+
commentBlock: [
|
| 169 |
+
[/--\}\}/, "comment.block.end.handlebars", "@pop"],
|
| 170 |
+
[/./, "comment.content.handlebars"]
|
| 171 |
+
],
|
| 172 |
+
commentHtml: [
|
| 173 |
+
[
|
| 174 |
+
/\{\{/,
|
| 175 |
+
{
|
| 176 |
+
token: "@rematch",
|
| 177 |
+
switchTo: "@handlebarsInSimpleState.comment"
|
| 178 |
+
}
|
| 179 |
+
],
|
| 180 |
+
[/-->/, "comment.html", "@pop"],
|
| 181 |
+
[/[^-]+/, "comment.content.html"],
|
| 182 |
+
[/./, "comment.content.html"]
|
| 183 |
+
],
|
| 184 |
+
otherTag: [
|
| 185 |
+
[
|
| 186 |
+
/\{\{/,
|
| 187 |
+
{
|
| 188 |
+
token: "@rematch",
|
| 189 |
+
switchTo: "@handlebarsInSimpleState.otherTag"
|
| 190 |
+
}
|
| 191 |
+
],
|
| 192 |
+
[/\/?>/, "delimiter.html", "@pop"],
|
| 193 |
+
[/"([^"]*)"/, "attribute.value"],
|
| 194 |
+
[/'([^']*)'/, "attribute.value"],
|
| 195 |
+
[/[\w\-]+/, "attribute.name"],
|
| 196 |
+
[/=/, "delimiter"],
|
| 197 |
+
[/[ \t\r\n]+/]
|
| 198 |
+
// whitespace
|
| 199 |
+
],
|
| 200 |
+
// -- BEGIN <script> tags handling
|
| 201 |
+
// After <script
|
| 202 |
+
script: [
|
| 203 |
+
[
|
| 204 |
+
/\{\{/,
|
| 205 |
+
{
|
| 206 |
+
token: "@rematch",
|
| 207 |
+
switchTo: "@handlebarsInSimpleState.script"
|
| 208 |
+
}
|
| 209 |
+
],
|
| 210 |
+
[/type/, "attribute.name", "@scriptAfterType"],
|
| 211 |
+
[/"([^"]*)"/, "attribute.value"],
|
| 212 |
+
[/'([^']*)'/, "attribute.value"],
|
| 213 |
+
[/[\w\-]+/, "attribute.name"],
|
| 214 |
+
[/=/, "delimiter"],
|
| 215 |
+
[
|
| 216 |
+
/>/,
|
| 217 |
+
{
|
| 218 |
+
token: "delimiter.html",
|
| 219 |
+
next: "@scriptEmbedded.text/javascript",
|
| 220 |
+
nextEmbedded: "text/javascript"
|
| 221 |
+
}
|
| 222 |
+
],
|
| 223 |
+
[/[ \t\r\n]+/],
|
| 224 |
+
// whitespace
|
| 225 |
+
[
|
| 226 |
+
/(<\/)(script\s*)(>)/,
|
| 227 |
+
["delimiter.html", "tag.html", { token: "delimiter.html", next: "@pop" }]
|
| 228 |
+
]
|
| 229 |
+
],
|
| 230 |
+
// After <script ... type
|
| 231 |
+
scriptAfterType: [
|
| 232 |
+
[
|
| 233 |
+
/\{\{/,
|
| 234 |
+
{
|
| 235 |
+
token: "@rematch",
|
| 236 |
+
switchTo: "@handlebarsInSimpleState.scriptAfterType"
|
| 237 |
+
}
|
| 238 |
+
],
|
| 239 |
+
[/=/, "delimiter", "@scriptAfterTypeEquals"],
|
| 240 |
+
[
|
| 241 |
+
/>/,
|
| 242 |
+
{
|
| 243 |
+
token: "delimiter.html",
|
| 244 |
+
next: "@scriptEmbedded.text/javascript",
|
| 245 |
+
nextEmbedded: "text/javascript"
|
| 246 |
+
}
|
| 247 |
+
],
|
| 248 |
+
// cover invalid e.g. <script type>
|
| 249 |
+
[/[ \t\r\n]+/],
|
| 250 |
+
// whitespace
|
| 251 |
+
[/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
|
| 252 |
+
],
|
| 253 |
+
// After <script ... type =
|
| 254 |
+
scriptAfterTypeEquals: [
|
| 255 |
+
[
|
| 256 |
+
/\{\{/,
|
| 257 |
+
{
|
| 258 |
+
token: "@rematch",
|
| 259 |
+
switchTo: "@handlebarsInSimpleState.scriptAfterTypeEquals"
|
| 260 |
+
}
|
| 261 |
+
],
|
| 262 |
+
[
|
| 263 |
+
/"([^"]*)"/,
|
| 264 |
+
{
|
| 265 |
+
token: "attribute.value",
|
| 266 |
+
switchTo: "@scriptWithCustomType.$1"
|
| 267 |
+
}
|
| 268 |
+
],
|
| 269 |
+
[
|
| 270 |
+
/'([^']*)'/,
|
| 271 |
+
{
|
| 272 |
+
token: "attribute.value",
|
| 273 |
+
switchTo: "@scriptWithCustomType.$1"
|
| 274 |
+
}
|
| 275 |
+
],
|
| 276 |
+
[
|
| 277 |
+
/>/,
|
| 278 |
+
{
|
| 279 |
+
token: "delimiter.html",
|
| 280 |
+
next: "@scriptEmbedded.text/javascript",
|
| 281 |
+
nextEmbedded: "text/javascript"
|
| 282 |
+
}
|
| 283 |
+
],
|
| 284 |
+
// cover invalid e.g. <script type=>
|
| 285 |
+
[/[ \t\r\n]+/],
|
| 286 |
+
// whitespace
|
| 287 |
+
[/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
|
| 288 |
+
],
|
| 289 |
+
// After <script ... type = $S2
|
| 290 |
+
scriptWithCustomType: [
|
| 291 |
+
[
|
| 292 |
+
/\{\{/,
|
| 293 |
+
{
|
| 294 |
+
token: "@rematch",
|
| 295 |
+
switchTo: "@handlebarsInSimpleState.scriptWithCustomType.$S2"
|
| 296 |
+
}
|
| 297 |
+
],
|
| 298 |
+
[
|
| 299 |
+
/>/,
|
| 300 |
+
{
|
| 301 |
+
token: "delimiter.html",
|
| 302 |
+
next: "@scriptEmbedded.$S2",
|
| 303 |
+
nextEmbedded: "$S2"
|
| 304 |
+
}
|
| 305 |
+
],
|
| 306 |
+
[/"([^"]*)"/, "attribute.value"],
|
| 307 |
+
[/'([^']*)'/, "attribute.value"],
|
| 308 |
+
[/[\w\-]+/, "attribute.name"],
|
| 309 |
+
[/=/, "delimiter"],
|
| 310 |
+
[/[ \t\r\n]+/],
|
| 311 |
+
// whitespace
|
| 312 |
+
[/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
|
| 313 |
+
],
|
| 314 |
+
scriptEmbedded: [
|
| 315 |
+
[
|
| 316 |
+
/\{\{/,
|
| 317 |
+
{
|
| 318 |
+
token: "@rematch",
|
| 319 |
+
switchTo: "@handlebarsInEmbeddedState.scriptEmbedded.$S2",
|
| 320 |
+
nextEmbedded: "@pop"
|
| 321 |
+
}
|
| 322 |
+
],
|
| 323 |
+
[/<\/script/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }]
|
| 324 |
+
],
|
| 325 |
+
// -- END <script> tags handling
|
| 326 |
+
// -- BEGIN <style> tags handling
|
| 327 |
+
// After <style
|
| 328 |
+
style: [
|
| 329 |
+
[
|
| 330 |
+
/\{\{/,
|
| 331 |
+
{
|
| 332 |
+
token: "@rematch",
|
| 333 |
+
switchTo: "@handlebarsInSimpleState.style"
|
| 334 |
+
}
|
| 335 |
+
],
|
| 336 |
+
[/type/, "attribute.name", "@styleAfterType"],
|
| 337 |
+
[/"([^"]*)"/, "attribute.value"],
|
| 338 |
+
[/'([^']*)'/, "attribute.value"],
|
| 339 |
+
[/[\w\-]+/, "attribute.name"],
|
| 340 |
+
[/=/, "delimiter"],
|
| 341 |
+
[
|
| 342 |
+
/>/,
|
| 343 |
+
{
|
| 344 |
+
token: "delimiter.html",
|
| 345 |
+
next: "@styleEmbedded.text/css",
|
| 346 |
+
nextEmbedded: "text/css"
|
| 347 |
+
}
|
| 348 |
+
],
|
| 349 |
+
[/[ \t\r\n]+/],
|
| 350 |
+
// whitespace
|
| 351 |
+
[
|
| 352 |
+
/(<\/)(style\s*)(>)/,
|
| 353 |
+
["delimiter.html", "tag.html", { token: "delimiter.html", next: "@pop" }]
|
| 354 |
+
]
|
| 355 |
+
],
|
| 356 |
+
// After <style ... type
|
| 357 |
+
styleAfterType: [
|
| 358 |
+
[
|
| 359 |
+
/\{\{/,
|
| 360 |
+
{
|
| 361 |
+
token: "@rematch",
|
| 362 |
+
switchTo: "@handlebarsInSimpleState.styleAfterType"
|
| 363 |
+
}
|
| 364 |
+
],
|
| 365 |
+
[/=/, "delimiter", "@styleAfterTypeEquals"],
|
| 366 |
+
[
|
| 367 |
+
/>/,
|
| 368 |
+
{
|
| 369 |
+
token: "delimiter.html",
|
| 370 |
+
next: "@styleEmbedded.text/css",
|
| 371 |
+
nextEmbedded: "text/css"
|
| 372 |
+
}
|
| 373 |
+
],
|
| 374 |
+
// cover invalid e.g. <style type>
|
| 375 |
+
[/[ \t\r\n]+/],
|
| 376 |
+
// whitespace
|
| 377 |
+
[/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
|
| 378 |
+
],
|
| 379 |
+
// After <style ... type =
|
| 380 |
+
styleAfterTypeEquals: [
|
| 381 |
+
[
|
| 382 |
+
/\{\{/,
|
| 383 |
+
{
|
| 384 |
+
token: "@rematch",
|
| 385 |
+
switchTo: "@handlebarsInSimpleState.styleAfterTypeEquals"
|
| 386 |
+
}
|
| 387 |
+
],
|
| 388 |
+
[
|
| 389 |
+
/"([^"]*)"/,
|
| 390 |
+
{
|
| 391 |
+
token: "attribute.value",
|
| 392 |
+
switchTo: "@styleWithCustomType.$1"
|
| 393 |
+
}
|
| 394 |
+
],
|
| 395 |
+
[
|
| 396 |
+
/'([^']*)'/,
|
| 397 |
+
{
|
| 398 |
+
token: "attribute.value",
|
| 399 |
+
switchTo: "@styleWithCustomType.$1"
|
| 400 |
+
}
|
| 401 |
+
],
|
| 402 |
+
[
|
| 403 |
+
/>/,
|
| 404 |
+
{
|
| 405 |
+
token: "delimiter.html",
|
| 406 |
+
next: "@styleEmbedded.text/css",
|
| 407 |
+
nextEmbedded: "text/css"
|
| 408 |
+
}
|
| 409 |
+
],
|
| 410 |
+
// cover invalid e.g. <style type=>
|
| 411 |
+
[/[ \t\r\n]+/],
|
| 412 |
+
// whitespace
|
| 413 |
+
[/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
|
| 414 |
+
],
|
| 415 |
+
// After <style ... type = $S2
|
| 416 |
+
styleWithCustomType: [
|
| 417 |
+
[
|
| 418 |
+
/\{\{/,
|
| 419 |
+
{
|
| 420 |
+
token: "@rematch",
|
| 421 |
+
switchTo: "@handlebarsInSimpleState.styleWithCustomType.$S2"
|
| 422 |
+
}
|
| 423 |
+
],
|
| 424 |
+
[
|
| 425 |
+
/>/,
|
| 426 |
+
{
|
| 427 |
+
token: "delimiter.html",
|
| 428 |
+
next: "@styleEmbedded.$S2",
|
| 429 |
+
nextEmbedded: "$S2"
|
| 430 |
+
}
|
| 431 |
+
],
|
| 432 |
+
[/"([^"]*)"/, "attribute.value"],
|
| 433 |
+
[/'([^']*)'/, "attribute.value"],
|
| 434 |
+
[/[\w\-]+/, "attribute.name"],
|
| 435 |
+
[/=/, "delimiter"],
|
| 436 |
+
[/[ \t\r\n]+/],
|
| 437 |
+
// whitespace
|
| 438 |
+
[/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
|
| 439 |
+
],
|
| 440 |
+
styleEmbedded: [
|
| 441 |
+
[
|
| 442 |
+
/\{\{/,
|
| 443 |
+
{
|
| 444 |
+
token: "@rematch",
|
| 445 |
+
switchTo: "@handlebarsInEmbeddedState.styleEmbedded.$S2",
|
| 446 |
+
nextEmbedded: "@pop"
|
| 447 |
+
}
|
| 448 |
+
],
|
| 449 |
+
[/<\/style/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }]
|
| 450 |
+
],
|
| 451 |
+
// -- END <style> tags handling
|
| 452 |
+
handlebarsInSimpleState: [
|
| 453 |
+
[/\{\{\{?/, "delimiter.handlebars"],
|
| 454 |
+
[/\}\}\}?/, { token: "delimiter.handlebars", switchTo: "@$S2.$S3" }],
|
| 455 |
+
{ include: "handlebarsRoot" }
|
| 456 |
+
],
|
| 457 |
+
handlebarsInEmbeddedState: [
|
| 458 |
+
[/\{\{\{?/, "delimiter.handlebars"],
|
| 459 |
+
[
|
| 460 |
+
/\}\}\}?/,
|
| 461 |
+
{
|
| 462 |
+
token: "delimiter.handlebars",
|
| 463 |
+
switchTo: "@$S2.$S3",
|
| 464 |
+
nextEmbedded: "$S3"
|
| 465 |
+
}
|
| 466 |
+
],
|
| 467 |
+
{ include: "handlebarsRoot" }
|
| 468 |
+
],
|
| 469 |
+
handlebarsRoot: [
|
| 470 |
+
[/"[^"]*"/, "string.handlebars"],
|
| 471 |
+
[/[#/][^\s}]+/, "keyword.helper.handlebars"],
|
| 472 |
+
[/else\b/, "keyword.helper.handlebars"],
|
| 473 |
+
[/[\s]+/],
|
| 474 |
+
[/[^}]/, "variable.parameter.handlebars"]
|
| 475 |
+
]
|
| 476 |
+
}
|
| 477 |
+
};
|
| 478 |
+
return __toCommonJS(handlebars_exports);
|
| 479 |
+
})();
|
| 480 |
+
return moduleExports;
|
| 481 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/hcl/hcl.js
ADDED
|
@@ -0,0 +1,217 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/hcl/hcl", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/hcl/hcl.ts
|
| 29 |
+
var hcl_exports = {};
|
| 30 |
+
__export(hcl_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
comments: {
|
| 36 |
+
lineComment: "#",
|
| 37 |
+
blockComment: ["/*", "*/"]
|
| 38 |
+
},
|
| 39 |
+
brackets: [
|
| 40 |
+
["{", "}"],
|
| 41 |
+
["[", "]"],
|
| 42 |
+
["(", ")"]
|
| 43 |
+
],
|
| 44 |
+
autoClosingPairs: [
|
| 45 |
+
{ open: "{", close: "}" },
|
| 46 |
+
{ open: "[", close: "]" },
|
| 47 |
+
{ open: "(", close: ")" },
|
| 48 |
+
{ open: '"', close: '"', notIn: ["string"] }
|
| 49 |
+
],
|
| 50 |
+
surroundingPairs: [
|
| 51 |
+
{ open: "{", close: "}" },
|
| 52 |
+
{ open: "[", close: "]" },
|
| 53 |
+
{ open: "(", close: ")" },
|
| 54 |
+
{ open: '"', close: '"' }
|
| 55 |
+
]
|
| 56 |
+
};
|
| 57 |
+
var language = {
|
| 58 |
+
defaultToken: "",
|
| 59 |
+
tokenPostfix: ".hcl",
|
| 60 |
+
keywords: [
|
| 61 |
+
"var",
|
| 62 |
+
"local",
|
| 63 |
+
"path",
|
| 64 |
+
"for_each",
|
| 65 |
+
"any",
|
| 66 |
+
"string",
|
| 67 |
+
"number",
|
| 68 |
+
"bool",
|
| 69 |
+
"true",
|
| 70 |
+
"false",
|
| 71 |
+
"null",
|
| 72 |
+
"if ",
|
| 73 |
+
"else ",
|
| 74 |
+
"endif ",
|
| 75 |
+
"for ",
|
| 76 |
+
"in",
|
| 77 |
+
"endfor"
|
| 78 |
+
],
|
| 79 |
+
operators: [
|
| 80 |
+
"=",
|
| 81 |
+
">=",
|
| 82 |
+
"<=",
|
| 83 |
+
"==",
|
| 84 |
+
"!=",
|
| 85 |
+
"+",
|
| 86 |
+
"-",
|
| 87 |
+
"*",
|
| 88 |
+
"/",
|
| 89 |
+
"%",
|
| 90 |
+
"&&",
|
| 91 |
+
"||",
|
| 92 |
+
"!",
|
| 93 |
+
"<",
|
| 94 |
+
">",
|
| 95 |
+
"?",
|
| 96 |
+
"...",
|
| 97 |
+
":"
|
| 98 |
+
],
|
| 99 |
+
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
| 100 |
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
| 101 |
+
terraformFunctions: /(abs|ceil|floor|log|max|min|pow|signum|chomp|format|formatlist|indent|join|lower|regex|regexall|replace|split|strrev|substr|title|trimspace|upper|chunklist|coalesce|coalescelist|compact|concat|contains|distinct|element|flatten|index|keys|length|list|lookup|map|matchkeys|merge|range|reverse|setintersection|setproduct|setunion|slice|sort|transpose|values|zipmap|base64decode|base64encode|base64gzip|csvdecode|jsondecode|jsonencode|urlencode|yamldecode|yamlencode|abspath|dirname|pathexpand|basename|file|fileexists|fileset|filebase64|templatefile|formatdate|timeadd|timestamp|base64sha256|base64sha512|bcrypt|filebase64sha256|filebase64sha512|filemd5|filemd1|filesha256|filesha512|md5|rsadecrypt|sha1|sha256|sha512|uuid|uuidv5|cidrhost|cidrnetmask|cidrsubnet|tobool|tolist|tomap|tonumber|toset|tostring)/,
|
| 102 |
+
terraformMainBlocks: /(module|data|terraform|resource|provider|variable|output|locals)/,
|
| 103 |
+
tokenizer: {
|
| 104 |
+
root: [
|
| 105 |
+
// highlight main blocks
|
| 106 |
+
[
|
| 107 |
+
/^@terraformMainBlocks([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)(\{)/,
|
| 108 |
+
["type", "", "string", "", "string", "", "@brackets"]
|
| 109 |
+
],
|
| 110 |
+
// highlight all the remaining blocks
|
| 111 |
+
[
|
| 112 |
+
/(\w+[ \t]+)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)(\{)/,
|
| 113 |
+
["identifier", "", "string", "", "string", "", "@brackets"]
|
| 114 |
+
],
|
| 115 |
+
// highlight block
|
| 116 |
+
[
|
| 117 |
+
/(\w+[ \t]+)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)([\w-]+|"[\w-]+"|)(=)(\{)/,
|
| 118 |
+
["identifier", "", "string", "", "operator", "", "@brackets"]
|
| 119 |
+
],
|
| 120 |
+
// terraform general highlight - shared with expressions
|
| 121 |
+
{ include: "@terraform" }
|
| 122 |
+
],
|
| 123 |
+
terraform: [
|
| 124 |
+
// highlight terraform functions
|
| 125 |
+
[/@terraformFunctions(\()/, ["type", "@brackets"]],
|
| 126 |
+
// all other words are variables or keywords
|
| 127 |
+
[
|
| 128 |
+
/[a-zA-Z_]\w*-*/,
|
| 129 |
+
// must work with variables such as foo-bar and also with negative numbers
|
| 130 |
+
{
|
| 131 |
+
cases: {
|
| 132 |
+
"@keywords": { token: "keyword.$0" },
|
| 133 |
+
"@default": "variable"
|
| 134 |
+
}
|
| 135 |
+
}
|
| 136 |
+
],
|
| 137 |
+
{ include: "@whitespace" },
|
| 138 |
+
{ include: "@heredoc" },
|
| 139 |
+
// delimiters and operators
|
| 140 |
+
[/[{}()\[\]]/, "@brackets"],
|
| 141 |
+
[/[<>](?!@symbols)/, "@brackets"],
|
| 142 |
+
[
|
| 143 |
+
/@symbols/,
|
| 144 |
+
{
|
| 145 |
+
cases: {
|
| 146 |
+
"@operators": "operator",
|
| 147 |
+
"@default": ""
|
| 148 |
+
}
|
| 149 |
+
}
|
| 150 |
+
],
|
| 151 |
+
// numbers
|
| 152 |
+
[/\d*\d+[eE]([\-+]?\d+)?/, "number.float"],
|
| 153 |
+
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
| 154 |
+
[/\d[\d']*/, "number"],
|
| 155 |
+
[/\d/, "number"],
|
| 156 |
+
[/[;,.]/, "delimiter"],
|
| 157 |
+
// delimiter: after number because of .\d floats
|
| 158 |
+
// strings
|
| 159 |
+
[/"/, "string", "@string"],
|
| 160 |
+
// this will include expressions
|
| 161 |
+
[/'/, "invalid"]
|
| 162 |
+
],
|
| 163 |
+
heredoc: [
|
| 164 |
+
[/<<[-]*\s*["]?([\w\-]+)["]?/, { token: "string.heredoc.delimiter", next: "@heredocBody.$1" }]
|
| 165 |
+
],
|
| 166 |
+
heredocBody: [
|
| 167 |
+
[
|
| 168 |
+
/([\w\-]+)$/,
|
| 169 |
+
{
|
| 170 |
+
cases: {
|
| 171 |
+
"$1==$S2": [
|
| 172 |
+
{
|
| 173 |
+
token: "string.heredoc.delimiter",
|
| 174 |
+
next: "@popall"
|
| 175 |
+
}
|
| 176 |
+
],
|
| 177 |
+
"@default": "string.heredoc"
|
| 178 |
+
}
|
| 179 |
+
}
|
| 180 |
+
],
|
| 181 |
+
[/./, "string.heredoc"]
|
| 182 |
+
],
|
| 183 |
+
whitespace: [
|
| 184 |
+
[/[ \t\r\n]+/, ""],
|
| 185 |
+
[/\/\*/, "comment", "@comment"],
|
| 186 |
+
[/\/\/.*$/, "comment"],
|
| 187 |
+
[/#.*$/, "comment"]
|
| 188 |
+
],
|
| 189 |
+
comment: [
|
| 190 |
+
[/[^\/*]+/, "comment"],
|
| 191 |
+
[/\*\//, "comment", "@pop"],
|
| 192 |
+
[/[\/*]/, "comment"]
|
| 193 |
+
],
|
| 194 |
+
string: [
|
| 195 |
+
[/\$\{/, { token: "delimiter", next: "@stringExpression" }],
|
| 196 |
+
[/[^\\"\$]+/, "string"],
|
| 197 |
+
[/@escapes/, "string.escape"],
|
| 198 |
+
[/\\./, "string.escape.invalid"],
|
| 199 |
+
[/"/, "string", "@popall"]
|
| 200 |
+
],
|
| 201 |
+
stringInsideExpression: [
|
| 202 |
+
[/[^\\"]+/, "string"],
|
| 203 |
+
[/@escapes/, "string.escape"],
|
| 204 |
+
[/\\./, "string.escape.invalid"],
|
| 205 |
+
[/"/, "string", "@pop"]
|
| 206 |
+
],
|
| 207 |
+
stringExpression: [
|
| 208 |
+
[/\}/, { token: "delimiter", next: "@pop" }],
|
| 209 |
+
[/"/, "string", "@stringInsideExpression"],
|
| 210 |
+
{ include: "@terraform" }
|
| 211 |
+
]
|
| 212 |
+
}
|
| 213 |
+
};
|
| 214 |
+
return __toCommonJS(hcl_exports);
|
| 215 |
+
})();
|
| 216 |
+
return moduleExports;
|
| 217 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/html/html.js
ADDED
|
@@ -0,0 +1,370 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/html/html", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __create = Object.create;
|
| 11 |
+
var __defProp = Object.defineProperty;
|
| 12 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 13 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 14 |
+
var __getProtoOf = Object.getPrototypeOf;
|
| 15 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 16 |
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
| 17 |
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
| 18 |
+
}) : x)(function(x) {
|
| 19 |
+
if (typeof require !== "undefined")
|
| 20 |
+
return require.apply(this, arguments);
|
| 21 |
+
throw Error('Dynamic require of "' + x + '" is not supported');
|
| 22 |
+
});
|
| 23 |
+
var __commonJS = (cb, mod) => function __require2() {
|
| 24 |
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
| 25 |
+
};
|
| 26 |
+
var __export = (target, all) => {
|
| 27 |
+
for (var name in all)
|
| 28 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 29 |
+
};
|
| 30 |
+
var __copyProps = (to, from, except, desc) => {
|
| 31 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 32 |
+
for (let key of __getOwnPropNames(from))
|
| 33 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 34 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 35 |
+
}
|
| 36 |
+
return to;
|
| 37 |
+
};
|
| 38 |
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
| 39 |
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
| 40 |
+
// If the importer is in node compatibility mode or this is not an ESM
|
| 41 |
+
// file that has been converted to a CommonJS file using a Babel-
|
| 42 |
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
| 43 |
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
| 44 |
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
| 45 |
+
mod
|
| 46 |
+
));
|
| 47 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 48 |
+
|
| 49 |
+
// src/fillers/monaco-editor-core-amd.ts
|
| 50 |
+
var require_monaco_editor_core_amd = __commonJS({
|
| 51 |
+
"src/fillers/monaco-editor-core-amd.ts"(exports, module) {
|
| 52 |
+
var api = __toESM(__require("vs/editor/editor.api"));
|
| 53 |
+
module.exports = api;
|
| 54 |
+
}
|
| 55 |
+
});
|
| 56 |
+
|
| 57 |
+
// src/basic-languages/html/html.ts
|
| 58 |
+
var html_exports = {};
|
| 59 |
+
__export(html_exports, {
|
| 60 |
+
conf: () => conf,
|
| 61 |
+
language: () => language
|
| 62 |
+
});
|
| 63 |
+
|
| 64 |
+
// src/fillers/monaco-editor-core.ts
|
| 65 |
+
var monaco_editor_core_exports = {};
|
| 66 |
+
__reExport(monaco_editor_core_exports, __toESM(require_monaco_editor_core_amd()));
|
| 67 |
+
|
| 68 |
+
// src/basic-languages/html/html.ts
|
| 69 |
+
var EMPTY_ELEMENTS = [
|
| 70 |
+
"area",
|
| 71 |
+
"base",
|
| 72 |
+
"br",
|
| 73 |
+
"col",
|
| 74 |
+
"embed",
|
| 75 |
+
"hr",
|
| 76 |
+
"img",
|
| 77 |
+
"input",
|
| 78 |
+
"keygen",
|
| 79 |
+
"link",
|
| 80 |
+
"menuitem",
|
| 81 |
+
"meta",
|
| 82 |
+
"param",
|
| 83 |
+
"source",
|
| 84 |
+
"track",
|
| 85 |
+
"wbr"
|
| 86 |
+
];
|
| 87 |
+
var conf = {
|
| 88 |
+
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,
|
| 89 |
+
comments: {
|
| 90 |
+
blockComment: ["<!--", "-->"]
|
| 91 |
+
},
|
| 92 |
+
brackets: [
|
| 93 |
+
["<!--", "-->"],
|
| 94 |
+
["<", ">"],
|
| 95 |
+
["{", "}"],
|
| 96 |
+
["(", ")"]
|
| 97 |
+
],
|
| 98 |
+
autoClosingPairs: [
|
| 99 |
+
{ open: "{", close: "}" },
|
| 100 |
+
{ open: "[", close: "]" },
|
| 101 |
+
{ open: "(", close: ")" },
|
| 102 |
+
{ open: '"', close: '"' },
|
| 103 |
+
{ open: "'", close: "'" }
|
| 104 |
+
],
|
| 105 |
+
surroundingPairs: [
|
| 106 |
+
{ open: '"', close: '"' },
|
| 107 |
+
{ open: "'", close: "'" },
|
| 108 |
+
{ open: "{", close: "}" },
|
| 109 |
+
{ open: "[", close: "]" },
|
| 110 |
+
{ open: "(", close: ")" },
|
| 111 |
+
{ open: "<", close: ">" }
|
| 112 |
+
],
|
| 113 |
+
onEnterRules: [
|
| 114 |
+
{
|
| 115 |
+
beforeText: new RegExp(
|
| 116 |
+
`<(?!(?:${EMPTY_ELEMENTS.join("|")}))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`,
|
| 117 |
+
"i"
|
| 118 |
+
),
|
| 119 |
+
afterText: /^<\/([_:\w][_:\w-.\d]*)\s*>$/i,
|
| 120 |
+
action: {
|
| 121 |
+
indentAction: monaco_editor_core_exports.languages.IndentAction.IndentOutdent
|
| 122 |
+
}
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
beforeText: new RegExp(
|
| 126 |
+
`<(?!(?:${EMPTY_ELEMENTS.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,
|
| 127 |
+
"i"
|
| 128 |
+
),
|
| 129 |
+
action: { indentAction: monaco_editor_core_exports.languages.IndentAction.Indent }
|
| 130 |
+
}
|
| 131 |
+
],
|
| 132 |
+
folding: {
|
| 133 |
+
markers: {
|
| 134 |
+
start: new RegExp("^\\s*<!--\\s*#region\\b.*-->"),
|
| 135 |
+
end: new RegExp("^\\s*<!--\\s*#endregion\\b.*-->")
|
| 136 |
+
}
|
| 137 |
+
}
|
| 138 |
+
};
|
| 139 |
+
var language = {
|
| 140 |
+
defaultToken: "",
|
| 141 |
+
tokenPostfix: ".html",
|
| 142 |
+
ignoreCase: true,
|
| 143 |
+
// The main tokenizer for our languages
|
| 144 |
+
tokenizer: {
|
| 145 |
+
root: [
|
| 146 |
+
[/<!DOCTYPE/, "metatag", "@doctype"],
|
| 147 |
+
[/<!--/, "comment", "@comment"],
|
| 148 |
+
[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/, ["delimiter", "tag", "", "delimiter"]],
|
| 149 |
+
[/(<)(script)/, ["delimiter", { token: "tag", next: "@script" }]],
|
| 150 |
+
[/(<)(style)/, ["delimiter", { token: "tag", next: "@style" }]],
|
| 151 |
+
[/(<)((?:[\w\-]+:)?[\w\-]+)/, ["delimiter", { token: "tag", next: "@otherTag" }]],
|
| 152 |
+
[/(<\/)((?:[\w\-]+:)?[\w\-]+)/, ["delimiter", { token: "tag", next: "@otherTag" }]],
|
| 153 |
+
[/</, "delimiter"],
|
| 154 |
+
[/[^<]+/]
|
| 155 |
+
// text
|
| 156 |
+
],
|
| 157 |
+
doctype: [
|
| 158 |
+
[/[^>]+/, "metatag.content"],
|
| 159 |
+
[/>/, "metatag", "@pop"]
|
| 160 |
+
],
|
| 161 |
+
comment: [
|
| 162 |
+
[/-->/, "comment", "@pop"],
|
| 163 |
+
[/[^-]+/, "comment.content"],
|
| 164 |
+
[/./, "comment.content"]
|
| 165 |
+
],
|
| 166 |
+
otherTag: [
|
| 167 |
+
[/\/?>/, "delimiter", "@pop"],
|
| 168 |
+
[/"([^"]*)"/, "attribute.value"],
|
| 169 |
+
[/'([^']*)'/, "attribute.value"],
|
| 170 |
+
[/[\w\-]+/, "attribute.name"],
|
| 171 |
+
[/=/, "delimiter"],
|
| 172 |
+
[/[ \t\r\n]+/]
|
| 173 |
+
// whitespace
|
| 174 |
+
],
|
| 175 |
+
// -- BEGIN <script> tags handling
|
| 176 |
+
// After <script
|
| 177 |
+
script: [
|
| 178 |
+
[/type/, "attribute.name", "@scriptAfterType"],
|
| 179 |
+
[/"([^"]*)"/, "attribute.value"],
|
| 180 |
+
[/'([^']*)'/, "attribute.value"],
|
| 181 |
+
[/[\w\-]+/, "attribute.name"],
|
| 182 |
+
[/=/, "delimiter"],
|
| 183 |
+
[
|
| 184 |
+
/>/,
|
| 185 |
+
{
|
| 186 |
+
token: "delimiter",
|
| 187 |
+
next: "@scriptEmbedded",
|
| 188 |
+
nextEmbedded: "text/javascript"
|
| 189 |
+
}
|
| 190 |
+
],
|
| 191 |
+
[/[ \t\r\n]+/],
|
| 192 |
+
// whitespace
|
| 193 |
+
[/(<\/)(script\s*)(>)/, ["delimiter", "tag", { token: "delimiter", next: "@pop" }]]
|
| 194 |
+
],
|
| 195 |
+
// After <script ... type
|
| 196 |
+
scriptAfterType: [
|
| 197 |
+
[/=/, "delimiter", "@scriptAfterTypeEquals"],
|
| 198 |
+
[
|
| 199 |
+
/>/,
|
| 200 |
+
{
|
| 201 |
+
token: "delimiter",
|
| 202 |
+
next: "@scriptEmbedded",
|
| 203 |
+
nextEmbedded: "text/javascript"
|
| 204 |
+
}
|
| 205 |
+
],
|
| 206 |
+
// cover invalid e.g. <script type>
|
| 207 |
+
[/[ \t\r\n]+/],
|
| 208 |
+
// whitespace
|
| 209 |
+
[/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
|
| 210 |
+
],
|
| 211 |
+
// After <script ... type =
|
| 212 |
+
scriptAfterTypeEquals: [
|
| 213 |
+
[
|
| 214 |
+
/"module"/,
|
| 215 |
+
{
|
| 216 |
+
token: "attribute.value",
|
| 217 |
+
switchTo: "@scriptWithCustomType.text/javascript"
|
| 218 |
+
}
|
| 219 |
+
],
|
| 220 |
+
[
|
| 221 |
+
/'module'/,
|
| 222 |
+
{
|
| 223 |
+
token: "attribute.value",
|
| 224 |
+
switchTo: "@scriptWithCustomType.text/javascript"
|
| 225 |
+
}
|
| 226 |
+
],
|
| 227 |
+
[
|
| 228 |
+
/"([^"]*)"/,
|
| 229 |
+
{
|
| 230 |
+
token: "attribute.value",
|
| 231 |
+
switchTo: "@scriptWithCustomType.$1"
|
| 232 |
+
}
|
| 233 |
+
],
|
| 234 |
+
[
|
| 235 |
+
/'([^']*)'/,
|
| 236 |
+
{
|
| 237 |
+
token: "attribute.value",
|
| 238 |
+
switchTo: "@scriptWithCustomType.$1"
|
| 239 |
+
}
|
| 240 |
+
],
|
| 241 |
+
[
|
| 242 |
+
/>/,
|
| 243 |
+
{
|
| 244 |
+
token: "delimiter",
|
| 245 |
+
next: "@scriptEmbedded",
|
| 246 |
+
nextEmbedded: "text/javascript"
|
| 247 |
+
}
|
| 248 |
+
],
|
| 249 |
+
// cover invalid e.g. <script type=>
|
| 250 |
+
[/[ \t\r\n]+/],
|
| 251 |
+
// whitespace
|
| 252 |
+
[/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
|
| 253 |
+
],
|
| 254 |
+
// After <script ... type = $S2
|
| 255 |
+
scriptWithCustomType: [
|
| 256 |
+
[
|
| 257 |
+
/>/,
|
| 258 |
+
{
|
| 259 |
+
token: "delimiter",
|
| 260 |
+
next: "@scriptEmbedded.$S2",
|
| 261 |
+
nextEmbedded: "$S2"
|
| 262 |
+
}
|
| 263 |
+
],
|
| 264 |
+
[/"([^"]*)"/, "attribute.value"],
|
| 265 |
+
[/'([^']*)'/, "attribute.value"],
|
| 266 |
+
[/[\w\-]+/, "attribute.name"],
|
| 267 |
+
[/=/, "delimiter"],
|
| 268 |
+
[/[ \t\r\n]+/],
|
| 269 |
+
// whitespace
|
| 270 |
+
[/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
|
| 271 |
+
],
|
| 272 |
+
scriptEmbedded: [
|
| 273 |
+
[/<\/script/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }],
|
| 274 |
+
[/[^<]+/, ""]
|
| 275 |
+
],
|
| 276 |
+
// -- END <script> tags handling
|
| 277 |
+
// -- BEGIN <style> tags handling
|
| 278 |
+
// After <style
|
| 279 |
+
style: [
|
| 280 |
+
[/type/, "attribute.name", "@styleAfterType"],
|
| 281 |
+
[/"([^"]*)"/, "attribute.value"],
|
| 282 |
+
[/'([^']*)'/, "attribute.value"],
|
| 283 |
+
[/[\w\-]+/, "attribute.name"],
|
| 284 |
+
[/=/, "delimiter"],
|
| 285 |
+
[
|
| 286 |
+
/>/,
|
| 287 |
+
{
|
| 288 |
+
token: "delimiter",
|
| 289 |
+
next: "@styleEmbedded",
|
| 290 |
+
nextEmbedded: "text/css"
|
| 291 |
+
}
|
| 292 |
+
],
|
| 293 |
+
[/[ \t\r\n]+/],
|
| 294 |
+
// whitespace
|
| 295 |
+
[/(<\/)(style\s*)(>)/, ["delimiter", "tag", { token: "delimiter", next: "@pop" }]]
|
| 296 |
+
],
|
| 297 |
+
// After <style ... type
|
| 298 |
+
styleAfterType: [
|
| 299 |
+
[/=/, "delimiter", "@styleAfterTypeEquals"],
|
| 300 |
+
[
|
| 301 |
+
/>/,
|
| 302 |
+
{
|
| 303 |
+
token: "delimiter",
|
| 304 |
+
next: "@styleEmbedded",
|
| 305 |
+
nextEmbedded: "text/css"
|
| 306 |
+
}
|
| 307 |
+
],
|
| 308 |
+
// cover invalid e.g. <style type>
|
| 309 |
+
[/[ \t\r\n]+/],
|
| 310 |
+
// whitespace
|
| 311 |
+
[/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
|
| 312 |
+
],
|
| 313 |
+
// After <style ... type =
|
| 314 |
+
styleAfterTypeEquals: [
|
| 315 |
+
[
|
| 316 |
+
/"([^"]*)"/,
|
| 317 |
+
{
|
| 318 |
+
token: "attribute.value",
|
| 319 |
+
switchTo: "@styleWithCustomType.$1"
|
| 320 |
+
}
|
| 321 |
+
],
|
| 322 |
+
[
|
| 323 |
+
/'([^']*)'/,
|
| 324 |
+
{
|
| 325 |
+
token: "attribute.value",
|
| 326 |
+
switchTo: "@styleWithCustomType.$1"
|
| 327 |
+
}
|
| 328 |
+
],
|
| 329 |
+
[
|
| 330 |
+
/>/,
|
| 331 |
+
{
|
| 332 |
+
token: "delimiter",
|
| 333 |
+
next: "@styleEmbedded",
|
| 334 |
+
nextEmbedded: "text/css"
|
| 335 |
+
}
|
| 336 |
+
],
|
| 337 |
+
// cover invalid e.g. <style type=>
|
| 338 |
+
[/[ \t\r\n]+/],
|
| 339 |
+
// whitespace
|
| 340 |
+
[/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
|
| 341 |
+
],
|
| 342 |
+
// After <style ... type = $S2
|
| 343 |
+
styleWithCustomType: [
|
| 344 |
+
[
|
| 345 |
+
/>/,
|
| 346 |
+
{
|
| 347 |
+
token: "delimiter",
|
| 348 |
+
next: "@styleEmbedded.$S2",
|
| 349 |
+
nextEmbedded: "$S2"
|
| 350 |
+
}
|
| 351 |
+
],
|
| 352 |
+
[/"([^"]*)"/, "attribute.value"],
|
| 353 |
+
[/'([^']*)'/, "attribute.value"],
|
| 354 |
+
[/[\w\-]+/, "attribute.name"],
|
| 355 |
+
[/=/, "delimiter"],
|
| 356 |
+
[/[ \t\r\n]+/],
|
| 357 |
+
// whitespace
|
| 358 |
+
[/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
|
| 359 |
+
],
|
| 360 |
+
styleEmbedded: [
|
| 361 |
+
[/<\/style/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }],
|
| 362 |
+
[/[^<]+/, ""]
|
| 363 |
+
]
|
| 364 |
+
// -- END <style> tags handling
|
| 365 |
+
}
|
| 366 |
+
};
|
| 367 |
+
return __toCommonJS(html_exports);
|
| 368 |
+
})();
|
| 369 |
+
return moduleExports;
|
| 370 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/ini/ini.js
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/ini/ini", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/ini/ini.ts
|
| 29 |
+
var ini_exports = {};
|
| 30 |
+
__export(ini_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
comments: {
|
| 36 |
+
lineComment: "#"
|
| 37 |
+
},
|
| 38 |
+
brackets: [
|
| 39 |
+
["{", "}"],
|
| 40 |
+
["[", "]"],
|
| 41 |
+
["(", ")"]
|
| 42 |
+
],
|
| 43 |
+
autoClosingPairs: [
|
| 44 |
+
{ open: "{", close: "}" },
|
| 45 |
+
{ open: "[", close: "]" },
|
| 46 |
+
{ open: "(", close: ")" },
|
| 47 |
+
{ open: '"', close: '"' },
|
| 48 |
+
{ open: "'", close: "'" }
|
| 49 |
+
],
|
| 50 |
+
surroundingPairs: [
|
| 51 |
+
{ open: "{", close: "}" },
|
| 52 |
+
{ open: "[", close: "]" },
|
| 53 |
+
{ open: "(", close: ")" },
|
| 54 |
+
{ open: '"', close: '"' },
|
| 55 |
+
{ open: "'", close: "'" }
|
| 56 |
+
]
|
| 57 |
+
};
|
| 58 |
+
var language = {
|
| 59 |
+
defaultToken: "",
|
| 60 |
+
tokenPostfix: ".ini",
|
| 61 |
+
// we include these common regular expressions
|
| 62 |
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
| 63 |
+
// The main tokenizer for our languages
|
| 64 |
+
tokenizer: {
|
| 65 |
+
root: [
|
| 66 |
+
// sections
|
| 67 |
+
[/^\[[^\]]*\]/, "metatag"],
|
| 68 |
+
// keys
|
| 69 |
+
[/(^\w+)(\s*)(\=)/, ["key", "", "delimiter"]],
|
| 70 |
+
// whitespace
|
| 71 |
+
{ include: "@whitespace" },
|
| 72 |
+
// numbers
|
| 73 |
+
[/\d+/, "number"],
|
| 74 |
+
// strings: recover on non-terminated strings
|
| 75 |
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
| 76 |
+
// non-teminated string
|
| 77 |
+
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
| 78 |
+
// non-teminated string
|
| 79 |
+
[/"/, "string", '@string."'],
|
| 80 |
+
[/'/, "string", "@string.'"]
|
| 81 |
+
],
|
| 82 |
+
whitespace: [
|
| 83 |
+
[/[ \t\r\n]+/, ""],
|
| 84 |
+
[/^\s*[#;].*$/, "comment"]
|
| 85 |
+
],
|
| 86 |
+
string: [
|
| 87 |
+
[/[^\\"']+/, "string"],
|
| 88 |
+
[/@escapes/, "string.escape"],
|
| 89 |
+
[/\\./, "string.escape.invalid"],
|
| 90 |
+
[
|
| 91 |
+
/["']/,
|
| 92 |
+
{
|
| 93 |
+
cases: {
|
| 94 |
+
"$#==$S2": { token: "string", next: "@pop" },
|
| 95 |
+
"@default": "string"
|
| 96 |
+
}
|
| 97 |
+
}
|
| 98 |
+
]
|
| 99 |
+
]
|
| 100 |
+
}
|
| 101 |
+
};
|
| 102 |
+
return __toCommonJS(ini_exports);
|
| 103 |
+
})();
|
| 104 |
+
return moduleExports;
|
| 105 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/java/java.js
ADDED
|
@@ -0,0 +1,266 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/java/java", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/java/java.ts
|
| 29 |
+
var java_exports = {};
|
| 30 |
+
__export(java_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
// the default separators except `@$`
|
| 36 |
+
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
|
| 37 |
+
comments: {
|
| 38 |
+
lineComment: "//",
|
| 39 |
+
blockComment: ["/*", "*/"]
|
| 40 |
+
},
|
| 41 |
+
brackets: [
|
| 42 |
+
["{", "}"],
|
| 43 |
+
["[", "]"],
|
| 44 |
+
["(", ")"]
|
| 45 |
+
],
|
| 46 |
+
autoClosingPairs: [
|
| 47 |
+
{ open: "{", close: "}" },
|
| 48 |
+
{ open: "[", close: "]" },
|
| 49 |
+
{ open: "(", close: ")" },
|
| 50 |
+
{ open: '"', close: '"' },
|
| 51 |
+
{ open: "'", close: "'" }
|
| 52 |
+
],
|
| 53 |
+
surroundingPairs: [
|
| 54 |
+
{ open: "{", close: "}" },
|
| 55 |
+
{ open: "[", close: "]" },
|
| 56 |
+
{ open: "(", close: ")" },
|
| 57 |
+
{ open: '"', close: '"' },
|
| 58 |
+
{ open: "'", close: "'" },
|
| 59 |
+
{ open: "<", close: ">" }
|
| 60 |
+
],
|
| 61 |
+
folding: {
|
| 62 |
+
markers: {
|
| 63 |
+
start: new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),
|
| 64 |
+
end: new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")
|
| 65 |
+
}
|
| 66 |
+
}
|
| 67 |
+
};
|
| 68 |
+
var language = {
|
| 69 |
+
defaultToken: "",
|
| 70 |
+
tokenPostfix: ".java",
|
| 71 |
+
keywords: [
|
| 72 |
+
"abstract",
|
| 73 |
+
"continue",
|
| 74 |
+
"for",
|
| 75 |
+
"new",
|
| 76 |
+
"switch",
|
| 77 |
+
"assert",
|
| 78 |
+
"default",
|
| 79 |
+
"goto",
|
| 80 |
+
"package",
|
| 81 |
+
"synchronized",
|
| 82 |
+
"boolean",
|
| 83 |
+
"do",
|
| 84 |
+
"if",
|
| 85 |
+
"private",
|
| 86 |
+
"this",
|
| 87 |
+
"break",
|
| 88 |
+
"double",
|
| 89 |
+
"implements",
|
| 90 |
+
"protected",
|
| 91 |
+
"throw",
|
| 92 |
+
"byte",
|
| 93 |
+
"else",
|
| 94 |
+
"import",
|
| 95 |
+
"public",
|
| 96 |
+
"throws",
|
| 97 |
+
"case",
|
| 98 |
+
"enum",
|
| 99 |
+
"instanceof",
|
| 100 |
+
"return",
|
| 101 |
+
"transient",
|
| 102 |
+
"catch",
|
| 103 |
+
"extends",
|
| 104 |
+
"int",
|
| 105 |
+
"short",
|
| 106 |
+
"try",
|
| 107 |
+
"char",
|
| 108 |
+
"final",
|
| 109 |
+
"interface",
|
| 110 |
+
"static",
|
| 111 |
+
"void",
|
| 112 |
+
"class",
|
| 113 |
+
"finally",
|
| 114 |
+
"long",
|
| 115 |
+
"strictfp",
|
| 116 |
+
"volatile",
|
| 117 |
+
"const",
|
| 118 |
+
"float",
|
| 119 |
+
"native",
|
| 120 |
+
"super",
|
| 121 |
+
"while",
|
| 122 |
+
"true",
|
| 123 |
+
"false",
|
| 124 |
+
"yield",
|
| 125 |
+
"record",
|
| 126 |
+
"sealed",
|
| 127 |
+
"non-sealed",
|
| 128 |
+
"permits"
|
| 129 |
+
],
|
| 130 |
+
operators: [
|
| 131 |
+
"=",
|
| 132 |
+
">",
|
| 133 |
+
"<",
|
| 134 |
+
"!",
|
| 135 |
+
"~",
|
| 136 |
+
"?",
|
| 137 |
+
":",
|
| 138 |
+
"==",
|
| 139 |
+
"<=",
|
| 140 |
+
">=",
|
| 141 |
+
"!=",
|
| 142 |
+
"&&",
|
| 143 |
+
"||",
|
| 144 |
+
"++",
|
| 145 |
+
"--",
|
| 146 |
+
"+",
|
| 147 |
+
"-",
|
| 148 |
+
"*",
|
| 149 |
+
"/",
|
| 150 |
+
"&",
|
| 151 |
+
"|",
|
| 152 |
+
"^",
|
| 153 |
+
"%",
|
| 154 |
+
"<<",
|
| 155 |
+
">>",
|
| 156 |
+
">>>",
|
| 157 |
+
"+=",
|
| 158 |
+
"-=",
|
| 159 |
+
"*=",
|
| 160 |
+
"/=",
|
| 161 |
+
"&=",
|
| 162 |
+
"|=",
|
| 163 |
+
"^=",
|
| 164 |
+
"%=",
|
| 165 |
+
"<<=",
|
| 166 |
+
">>=",
|
| 167 |
+
">>>="
|
| 168 |
+
],
|
| 169 |
+
// we include these common regular expressions
|
| 170 |
+
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
| 171 |
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
| 172 |
+
digits: /\d+(_+\d+)*/,
|
| 173 |
+
octaldigits: /[0-7]+(_+[0-7]+)*/,
|
| 174 |
+
binarydigits: /[0-1]+(_+[0-1]+)*/,
|
| 175 |
+
hexdigits: /[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,
|
| 176 |
+
// The main tokenizer for our languages
|
| 177 |
+
tokenizer: {
|
| 178 |
+
root: [
|
| 179 |
+
// Special keyword with a dash
|
| 180 |
+
["non-sealed", "keyword.non-sealed"],
|
| 181 |
+
// identifiers and keywords
|
| 182 |
+
[
|
| 183 |
+
/[a-zA-Z_$][\w$]*/,
|
| 184 |
+
{
|
| 185 |
+
cases: {
|
| 186 |
+
"@keywords": { token: "keyword.$0" },
|
| 187 |
+
"@default": "identifier"
|
| 188 |
+
}
|
| 189 |
+
}
|
| 190 |
+
],
|
| 191 |
+
// whitespace
|
| 192 |
+
{ include: "@whitespace" },
|
| 193 |
+
// delimiters and operators
|
| 194 |
+
[/[{}()\[\]]/, "@brackets"],
|
| 195 |
+
[/[<>](?!@symbols)/, "@brackets"],
|
| 196 |
+
[
|
| 197 |
+
/@symbols/,
|
| 198 |
+
{
|
| 199 |
+
cases: {
|
| 200 |
+
"@operators": "delimiter",
|
| 201 |
+
"@default": ""
|
| 202 |
+
}
|
| 203 |
+
}
|
| 204 |
+
],
|
| 205 |
+
// @ annotations.
|
| 206 |
+
[/@\s*[a-zA-Z_\$][\w\$]*/, "annotation"],
|
| 207 |
+
// numbers
|
| 208 |
+
[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/, "number.float"],
|
| 209 |
+
[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/, "number.float"],
|
| 210 |
+
[/0[xX](@hexdigits)[Ll]?/, "number.hex"],
|
| 211 |
+
[/0(@octaldigits)[Ll]?/, "number.octal"],
|
| 212 |
+
[/0[bB](@binarydigits)[Ll]?/, "number.binary"],
|
| 213 |
+
[/(@digits)[fFdD]/, "number.float"],
|
| 214 |
+
[/(@digits)[lL]?/, "number"],
|
| 215 |
+
// delimiter: after number because of .\d floats
|
| 216 |
+
[/[;,.]/, "delimiter"],
|
| 217 |
+
// strings
|
| 218 |
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
| 219 |
+
// non-teminated string
|
| 220 |
+
[/"""/, "string", "@multistring"],
|
| 221 |
+
[/"/, "string", "@string"],
|
| 222 |
+
// characters
|
| 223 |
+
[/'[^\\']'/, "string"],
|
| 224 |
+
[/(')(@escapes)(')/, ["string", "string.escape", "string"]],
|
| 225 |
+
[/'/, "string.invalid"]
|
| 226 |
+
],
|
| 227 |
+
whitespace: [
|
| 228 |
+
[/[ \t\r\n]+/, ""],
|
| 229 |
+
[/\/\*\*(?!\/)/, "comment.doc", "@javadoc"],
|
| 230 |
+
[/\/\*/, "comment", "@comment"],
|
| 231 |
+
[/\/\/.*$/, "comment"]
|
| 232 |
+
],
|
| 233 |
+
comment: [
|
| 234 |
+
[/[^\/*]+/, "comment"],
|
| 235 |
+
// [/\/\*/, 'comment', '@push' ], // nested comment not allowed :-(
|
| 236 |
+
// [/\/\*/, 'comment.invalid' ], // this breaks block comments in the shape of /* //*/
|
| 237 |
+
[/\*\//, "comment", "@pop"],
|
| 238 |
+
[/[\/*]/, "comment"]
|
| 239 |
+
],
|
| 240 |
+
//Identical copy of comment above, except for the addition of .doc
|
| 241 |
+
javadoc: [
|
| 242 |
+
[/[^\/*]+/, "comment.doc"],
|
| 243 |
+
// [/\/\*/, 'comment.doc', '@push' ], // nested comment not allowed :-(
|
| 244 |
+
[/\/\*/, "comment.doc.invalid"],
|
| 245 |
+
[/\*\//, "comment.doc", "@pop"],
|
| 246 |
+
[/[\/*]/, "comment.doc"]
|
| 247 |
+
],
|
| 248 |
+
string: [
|
| 249 |
+
[/[^\\"]+/, "string"],
|
| 250 |
+
[/@escapes/, "string.escape"],
|
| 251 |
+
[/\\./, "string.escape.invalid"],
|
| 252 |
+
[/"/, "string", "@pop"]
|
| 253 |
+
],
|
| 254 |
+
multistring: [
|
| 255 |
+
[/[^\\"]+/, "string"],
|
| 256 |
+
[/@escapes/, "string.escape"],
|
| 257 |
+
[/\\./, "string.escape.invalid"],
|
| 258 |
+
[/"""/, "string", "@pop"],
|
| 259 |
+
[/./, "string"]
|
| 260 |
+
]
|
| 261 |
+
}
|
| 262 |
+
};
|
| 263 |
+
return __toCommonJS(java_exports);
|
| 264 |
+
})();
|
| 265 |
+
return moduleExports;
|
| 266 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/javascript/javascript.js
ADDED
|
@@ -0,0 +1,472 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/javascript/javascript", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __create = Object.create;
|
| 11 |
+
var __defProp = Object.defineProperty;
|
| 12 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 13 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 14 |
+
var __getProtoOf = Object.getPrototypeOf;
|
| 15 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 16 |
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
| 17 |
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
| 18 |
+
}) : x)(function(x) {
|
| 19 |
+
if (typeof require !== "undefined")
|
| 20 |
+
return require.apply(this, arguments);
|
| 21 |
+
throw Error('Dynamic require of "' + x + '" is not supported');
|
| 22 |
+
});
|
| 23 |
+
var __commonJS = (cb, mod) => function __require2() {
|
| 24 |
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
| 25 |
+
};
|
| 26 |
+
var __export = (target, all) => {
|
| 27 |
+
for (var name in all)
|
| 28 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 29 |
+
};
|
| 30 |
+
var __copyProps = (to, from, except, desc) => {
|
| 31 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 32 |
+
for (let key of __getOwnPropNames(from))
|
| 33 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 34 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 35 |
+
}
|
| 36 |
+
return to;
|
| 37 |
+
};
|
| 38 |
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
| 39 |
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
| 40 |
+
// If the importer is in node compatibility mode or this is not an ESM
|
| 41 |
+
// file that has been converted to a CommonJS file using a Babel-
|
| 42 |
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
| 43 |
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
| 44 |
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
| 45 |
+
mod
|
| 46 |
+
));
|
| 47 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 48 |
+
|
| 49 |
+
// src/fillers/monaco-editor-core-amd.ts
|
| 50 |
+
var require_monaco_editor_core_amd = __commonJS({
|
| 51 |
+
"src/fillers/monaco-editor-core-amd.ts"(exports, module) {
|
| 52 |
+
var api = __toESM(__require("vs/editor/editor.api"));
|
| 53 |
+
module.exports = api;
|
| 54 |
+
}
|
| 55 |
+
});
|
| 56 |
+
|
| 57 |
+
// src/basic-languages/javascript/javascript.ts
|
| 58 |
+
var javascript_exports = {};
|
| 59 |
+
__export(javascript_exports, {
|
| 60 |
+
conf: () => conf2,
|
| 61 |
+
language: () => language2
|
| 62 |
+
});
|
| 63 |
+
|
| 64 |
+
// src/fillers/monaco-editor-core.ts
|
| 65 |
+
var monaco_editor_core_exports = {};
|
| 66 |
+
__reExport(monaco_editor_core_exports, __toESM(require_monaco_editor_core_amd()));
|
| 67 |
+
|
| 68 |
+
// src/basic-languages/typescript/typescript.ts
|
| 69 |
+
var conf = {
|
| 70 |
+
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
|
| 71 |
+
comments: {
|
| 72 |
+
lineComment: "//",
|
| 73 |
+
blockComment: ["/*", "*/"]
|
| 74 |
+
},
|
| 75 |
+
brackets: [
|
| 76 |
+
["{", "}"],
|
| 77 |
+
["[", "]"],
|
| 78 |
+
["(", ")"]
|
| 79 |
+
],
|
| 80 |
+
onEnterRules: [
|
| 81 |
+
{
|
| 82 |
+
// e.g. /** | */
|
| 83 |
+
beforeText: /^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,
|
| 84 |
+
afterText: /^\s*\*\/$/,
|
| 85 |
+
action: {
|
| 86 |
+
indentAction: monaco_editor_core_exports.languages.IndentAction.IndentOutdent,
|
| 87 |
+
appendText: " * "
|
| 88 |
+
}
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
// e.g. /** ...|
|
| 92 |
+
beforeText: /^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,
|
| 93 |
+
action: {
|
| 94 |
+
indentAction: monaco_editor_core_exports.languages.IndentAction.None,
|
| 95 |
+
appendText: " * "
|
| 96 |
+
}
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
// e.g. * ...|
|
| 100 |
+
beforeText: /^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,
|
| 101 |
+
action: {
|
| 102 |
+
indentAction: monaco_editor_core_exports.languages.IndentAction.None,
|
| 103 |
+
appendText: "* "
|
| 104 |
+
}
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
// e.g. */|
|
| 108 |
+
beforeText: /^(\t|(\ \ ))*\ \*\/\s*$/,
|
| 109 |
+
action: {
|
| 110 |
+
indentAction: monaco_editor_core_exports.languages.IndentAction.None,
|
| 111 |
+
removeText: 1
|
| 112 |
+
}
|
| 113 |
+
}
|
| 114 |
+
],
|
| 115 |
+
autoClosingPairs: [
|
| 116 |
+
{ open: "{", close: "}" },
|
| 117 |
+
{ open: "[", close: "]" },
|
| 118 |
+
{ open: "(", close: ")" },
|
| 119 |
+
{ open: '"', close: '"', notIn: ["string"] },
|
| 120 |
+
{ open: "'", close: "'", notIn: ["string", "comment"] },
|
| 121 |
+
{ open: "`", close: "`", notIn: ["string", "comment"] },
|
| 122 |
+
{ open: "/**", close: " */", notIn: ["string"] }
|
| 123 |
+
],
|
| 124 |
+
folding: {
|
| 125 |
+
markers: {
|
| 126 |
+
start: new RegExp("^\\s*//\\s*#?region\\b"),
|
| 127 |
+
end: new RegExp("^\\s*//\\s*#?endregion\\b")
|
| 128 |
+
}
|
| 129 |
+
}
|
| 130 |
+
};
|
| 131 |
+
var language = {
|
| 132 |
+
// Set defaultToken to invalid to see what you do not tokenize yet
|
| 133 |
+
defaultToken: "invalid",
|
| 134 |
+
tokenPostfix: ".ts",
|
| 135 |
+
keywords: [
|
| 136 |
+
// Should match the keys of textToKeywordObj in
|
| 137 |
+
// https://github.com/microsoft/TypeScript/blob/master/src/compiler/scanner.ts
|
| 138 |
+
"abstract",
|
| 139 |
+
"any",
|
| 140 |
+
"as",
|
| 141 |
+
"asserts",
|
| 142 |
+
"bigint",
|
| 143 |
+
"boolean",
|
| 144 |
+
"break",
|
| 145 |
+
"case",
|
| 146 |
+
"catch",
|
| 147 |
+
"class",
|
| 148 |
+
"continue",
|
| 149 |
+
"const",
|
| 150 |
+
"constructor",
|
| 151 |
+
"debugger",
|
| 152 |
+
"declare",
|
| 153 |
+
"default",
|
| 154 |
+
"delete",
|
| 155 |
+
"do",
|
| 156 |
+
"else",
|
| 157 |
+
"enum",
|
| 158 |
+
"export",
|
| 159 |
+
"extends",
|
| 160 |
+
"false",
|
| 161 |
+
"finally",
|
| 162 |
+
"for",
|
| 163 |
+
"from",
|
| 164 |
+
"function",
|
| 165 |
+
"get",
|
| 166 |
+
"if",
|
| 167 |
+
"implements",
|
| 168 |
+
"import",
|
| 169 |
+
"in",
|
| 170 |
+
"infer",
|
| 171 |
+
"instanceof",
|
| 172 |
+
"interface",
|
| 173 |
+
"is",
|
| 174 |
+
"keyof",
|
| 175 |
+
"let",
|
| 176 |
+
"module",
|
| 177 |
+
"namespace",
|
| 178 |
+
"never",
|
| 179 |
+
"new",
|
| 180 |
+
"null",
|
| 181 |
+
"number",
|
| 182 |
+
"object",
|
| 183 |
+
"out",
|
| 184 |
+
"package",
|
| 185 |
+
"private",
|
| 186 |
+
"protected",
|
| 187 |
+
"public",
|
| 188 |
+
"override",
|
| 189 |
+
"readonly",
|
| 190 |
+
"require",
|
| 191 |
+
"global",
|
| 192 |
+
"return",
|
| 193 |
+
"satisfies",
|
| 194 |
+
"set",
|
| 195 |
+
"static",
|
| 196 |
+
"string",
|
| 197 |
+
"super",
|
| 198 |
+
"switch",
|
| 199 |
+
"symbol",
|
| 200 |
+
"this",
|
| 201 |
+
"throw",
|
| 202 |
+
"true",
|
| 203 |
+
"try",
|
| 204 |
+
"type",
|
| 205 |
+
"typeof",
|
| 206 |
+
"undefined",
|
| 207 |
+
"unique",
|
| 208 |
+
"unknown",
|
| 209 |
+
"var",
|
| 210 |
+
"void",
|
| 211 |
+
"while",
|
| 212 |
+
"with",
|
| 213 |
+
"yield",
|
| 214 |
+
"async",
|
| 215 |
+
"await",
|
| 216 |
+
"of"
|
| 217 |
+
],
|
| 218 |
+
operators: [
|
| 219 |
+
"<=",
|
| 220 |
+
">=",
|
| 221 |
+
"==",
|
| 222 |
+
"!=",
|
| 223 |
+
"===",
|
| 224 |
+
"!==",
|
| 225 |
+
"=>",
|
| 226 |
+
"+",
|
| 227 |
+
"-",
|
| 228 |
+
"**",
|
| 229 |
+
"*",
|
| 230 |
+
"/",
|
| 231 |
+
"%",
|
| 232 |
+
"++",
|
| 233 |
+
"--",
|
| 234 |
+
"<<",
|
| 235 |
+
"</",
|
| 236 |
+
">>",
|
| 237 |
+
">>>",
|
| 238 |
+
"&",
|
| 239 |
+
"|",
|
| 240 |
+
"^",
|
| 241 |
+
"!",
|
| 242 |
+
"~",
|
| 243 |
+
"&&",
|
| 244 |
+
"||",
|
| 245 |
+
"??",
|
| 246 |
+
"?",
|
| 247 |
+
":",
|
| 248 |
+
"=",
|
| 249 |
+
"+=",
|
| 250 |
+
"-=",
|
| 251 |
+
"*=",
|
| 252 |
+
"**=",
|
| 253 |
+
"/=",
|
| 254 |
+
"%=",
|
| 255 |
+
"<<=",
|
| 256 |
+
">>=",
|
| 257 |
+
">>>=",
|
| 258 |
+
"&=",
|
| 259 |
+
"|=",
|
| 260 |
+
"^=",
|
| 261 |
+
"@"
|
| 262 |
+
],
|
| 263 |
+
// we include these common regular expressions
|
| 264 |
+
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
| 265 |
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
| 266 |
+
digits: /\d+(_+\d+)*/,
|
| 267 |
+
octaldigits: /[0-7]+(_+[0-7]+)*/,
|
| 268 |
+
binarydigits: /[0-1]+(_+[0-1]+)*/,
|
| 269 |
+
hexdigits: /[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,
|
| 270 |
+
regexpctl: /[(){}\[\]\$\^|\-*+?\.]/,
|
| 271 |
+
regexpesc: /\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,
|
| 272 |
+
// The main tokenizer for our languages
|
| 273 |
+
tokenizer: {
|
| 274 |
+
root: [[/[{}]/, "delimiter.bracket"], { include: "common" }],
|
| 275 |
+
common: [
|
| 276 |
+
// identifiers and keywords
|
| 277 |
+
[
|
| 278 |
+
/#?[a-z_$][\w$]*/,
|
| 279 |
+
{
|
| 280 |
+
cases: {
|
| 281 |
+
"@keywords": "keyword",
|
| 282 |
+
"@default": "identifier"
|
| 283 |
+
}
|
| 284 |
+
}
|
| 285 |
+
],
|
| 286 |
+
[/[A-Z][\w\$]*/, "type.identifier"],
|
| 287 |
+
// to show class names nicely
|
| 288 |
+
// [/[A-Z][\w\$]*/, 'identifier'],
|
| 289 |
+
// whitespace
|
| 290 |
+
{ include: "@whitespace" },
|
| 291 |
+
// regular expression: ensure it is terminated before beginning (otherwise it is an opeator)
|
| 292 |
+
[
|
| 293 |
+
/\/(?=([^\\\/]|\\.)+\/([dgimsuy]*)(\s*)(\.|;|,|\)|\]|\}|$))/,
|
| 294 |
+
{ token: "regexp", bracket: "@open", next: "@regexp" }
|
| 295 |
+
],
|
| 296 |
+
// delimiters and operators
|
| 297 |
+
[/[()\[\]]/, "@brackets"],
|
| 298 |
+
[/[<>](?!@symbols)/, "@brackets"],
|
| 299 |
+
[/!(?=([^=]|$))/, "delimiter"],
|
| 300 |
+
[
|
| 301 |
+
/@symbols/,
|
| 302 |
+
{
|
| 303 |
+
cases: {
|
| 304 |
+
"@operators": "delimiter",
|
| 305 |
+
"@default": ""
|
| 306 |
+
}
|
| 307 |
+
}
|
| 308 |
+
],
|
| 309 |
+
// numbers
|
| 310 |
+
[/(@digits)[eE]([\-+]?(@digits))?/, "number.float"],
|
| 311 |
+
[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/, "number.float"],
|
| 312 |
+
[/0[xX](@hexdigits)n?/, "number.hex"],
|
| 313 |
+
[/0[oO]?(@octaldigits)n?/, "number.octal"],
|
| 314 |
+
[/0[bB](@binarydigits)n?/, "number.binary"],
|
| 315 |
+
[/(@digits)n?/, "number"],
|
| 316 |
+
// delimiter: after number because of .\d floats
|
| 317 |
+
[/[;,.]/, "delimiter"],
|
| 318 |
+
// strings
|
| 319 |
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
| 320 |
+
// non-teminated string
|
| 321 |
+
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
| 322 |
+
// non-teminated string
|
| 323 |
+
[/"/, "string", "@string_double"],
|
| 324 |
+
[/'/, "string", "@string_single"],
|
| 325 |
+
[/`/, "string", "@string_backtick"]
|
| 326 |
+
],
|
| 327 |
+
whitespace: [
|
| 328 |
+
[/[ \t\r\n]+/, ""],
|
| 329 |
+
[/\/\*\*(?!\/)/, "comment.doc", "@jsdoc"],
|
| 330 |
+
[/\/\*/, "comment", "@comment"],
|
| 331 |
+
[/\/\/.*$/, "comment"]
|
| 332 |
+
],
|
| 333 |
+
comment: [
|
| 334 |
+
[/[^\/*]+/, "comment"],
|
| 335 |
+
[/\*\//, "comment", "@pop"],
|
| 336 |
+
[/[\/*]/, "comment"]
|
| 337 |
+
],
|
| 338 |
+
jsdoc: [
|
| 339 |
+
[/[^\/*]+/, "comment.doc"],
|
| 340 |
+
[/\*\//, "comment.doc", "@pop"],
|
| 341 |
+
[/[\/*]/, "comment.doc"]
|
| 342 |
+
],
|
| 343 |
+
// We match regular expression quite precisely
|
| 344 |
+
regexp: [
|
| 345 |
+
[
|
| 346 |
+
/(\{)(\d+(?:,\d*)?)(\})/,
|
| 347 |
+
["regexp.escape.control", "regexp.escape.control", "regexp.escape.control"]
|
| 348 |
+
],
|
| 349 |
+
[
|
| 350 |
+
/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,
|
| 351 |
+
["regexp.escape.control", { token: "regexp.escape.control", next: "@regexrange" }]
|
| 352 |
+
],
|
| 353 |
+
[/(\()(\?:|\?=|\?!)/, ["regexp.escape.control", "regexp.escape.control"]],
|
| 354 |
+
[/[()]/, "regexp.escape.control"],
|
| 355 |
+
[/@regexpctl/, "regexp.escape.control"],
|
| 356 |
+
[/[^\\\/]/, "regexp"],
|
| 357 |
+
[/@regexpesc/, "regexp.escape"],
|
| 358 |
+
[/\\\./, "regexp.invalid"],
|
| 359 |
+
[/(\/)([dgimsuy]*)/, [{ token: "regexp", bracket: "@close", next: "@pop" }, "keyword.other"]]
|
| 360 |
+
],
|
| 361 |
+
regexrange: [
|
| 362 |
+
[/-/, "regexp.escape.control"],
|
| 363 |
+
[/\^/, "regexp.invalid"],
|
| 364 |
+
[/@regexpesc/, "regexp.escape"],
|
| 365 |
+
[/[^\]]/, "regexp"],
|
| 366 |
+
[
|
| 367 |
+
/\]/,
|
| 368 |
+
{
|
| 369 |
+
token: "regexp.escape.control",
|
| 370 |
+
next: "@pop",
|
| 371 |
+
bracket: "@close"
|
| 372 |
+
}
|
| 373 |
+
]
|
| 374 |
+
],
|
| 375 |
+
string_double: [
|
| 376 |
+
[/[^\\"]+/, "string"],
|
| 377 |
+
[/@escapes/, "string.escape"],
|
| 378 |
+
[/\\./, "string.escape.invalid"],
|
| 379 |
+
[/"/, "string", "@pop"]
|
| 380 |
+
],
|
| 381 |
+
string_single: [
|
| 382 |
+
[/[^\\']+/, "string"],
|
| 383 |
+
[/@escapes/, "string.escape"],
|
| 384 |
+
[/\\./, "string.escape.invalid"],
|
| 385 |
+
[/'/, "string", "@pop"]
|
| 386 |
+
],
|
| 387 |
+
string_backtick: [
|
| 388 |
+
[/\$\{/, { token: "delimiter.bracket", next: "@bracketCounting" }],
|
| 389 |
+
[/[^\\`$]+/, "string"],
|
| 390 |
+
[/@escapes/, "string.escape"],
|
| 391 |
+
[/\\./, "string.escape.invalid"],
|
| 392 |
+
[/`/, "string", "@pop"]
|
| 393 |
+
],
|
| 394 |
+
bracketCounting: [
|
| 395 |
+
[/\{/, "delimiter.bracket", "@bracketCounting"],
|
| 396 |
+
[/\}/, "delimiter.bracket", "@pop"],
|
| 397 |
+
{ include: "common" }
|
| 398 |
+
]
|
| 399 |
+
}
|
| 400 |
+
};
|
| 401 |
+
|
| 402 |
+
// src/basic-languages/javascript/javascript.ts
|
| 403 |
+
var conf2 = conf;
|
| 404 |
+
var language2 = {
|
| 405 |
+
// Set defaultToken to invalid to see what you do not tokenize yet
|
| 406 |
+
defaultToken: "invalid",
|
| 407 |
+
tokenPostfix: ".js",
|
| 408 |
+
keywords: [
|
| 409 |
+
"break",
|
| 410 |
+
"case",
|
| 411 |
+
"catch",
|
| 412 |
+
"class",
|
| 413 |
+
"continue",
|
| 414 |
+
"const",
|
| 415 |
+
"constructor",
|
| 416 |
+
"debugger",
|
| 417 |
+
"default",
|
| 418 |
+
"delete",
|
| 419 |
+
"do",
|
| 420 |
+
"else",
|
| 421 |
+
"export",
|
| 422 |
+
"extends",
|
| 423 |
+
"false",
|
| 424 |
+
"finally",
|
| 425 |
+
"for",
|
| 426 |
+
"from",
|
| 427 |
+
"function",
|
| 428 |
+
"get",
|
| 429 |
+
"if",
|
| 430 |
+
"import",
|
| 431 |
+
"in",
|
| 432 |
+
"instanceof",
|
| 433 |
+
"let",
|
| 434 |
+
"new",
|
| 435 |
+
"null",
|
| 436 |
+
"return",
|
| 437 |
+
"set",
|
| 438 |
+
"static",
|
| 439 |
+
"super",
|
| 440 |
+
"switch",
|
| 441 |
+
"symbol",
|
| 442 |
+
"this",
|
| 443 |
+
"throw",
|
| 444 |
+
"true",
|
| 445 |
+
"try",
|
| 446 |
+
"typeof",
|
| 447 |
+
"undefined",
|
| 448 |
+
"var",
|
| 449 |
+
"void",
|
| 450 |
+
"while",
|
| 451 |
+
"with",
|
| 452 |
+
"yield",
|
| 453 |
+
"async",
|
| 454 |
+
"await",
|
| 455 |
+
"of"
|
| 456 |
+
],
|
| 457 |
+
typeKeywords: [],
|
| 458 |
+
operators: language.operators,
|
| 459 |
+
symbols: language.symbols,
|
| 460 |
+
escapes: language.escapes,
|
| 461 |
+
digits: language.digits,
|
| 462 |
+
octaldigits: language.octaldigits,
|
| 463 |
+
binarydigits: language.binarydigits,
|
| 464 |
+
hexdigits: language.hexdigits,
|
| 465 |
+
regexpctl: language.regexpctl,
|
| 466 |
+
regexpesc: language.regexpesc,
|
| 467 |
+
tokenizer: language.tokenizer
|
| 468 |
+
};
|
| 469 |
+
return __toCommonJS(javascript_exports);
|
| 470 |
+
})();
|
| 471 |
+
return modu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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/julia/julia", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/julia/julia.ts
|
| 29 |
+
var julia_exports = {};
|
| 30 |
+
__export(julia_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
brackets: [
|
| 36 |
+
["{", "}"],
|
| 37 |
+
["[", "]"],
|
| 38 |
+
["(", ")"]
|
| 39 |
+
],
|
| 40 |
+
autoClosingPairs: [
|
| 41 |
+
{ open: "{", close: "}" },
|
| 42 |
+
{ open: "[", close: "]" },
|
| 43 |
+
{ open: "(", close: ")" },
|
| 44 |
+
{ open: '"', close: '"' },
|
| 45 |
+
{ open: "'", close: "'" }
|
| 46 |
+
],
|
| 47 |
+
surroundingPairs: [
|
| 48 |
+
{ open: "{", close: "}" },
|
| 49 |
+
{ open: "[", close: "]" },
|
| 50 |
+
{ open: "(", close: ")" },
|
| 51 |
+
{ open: '"', close: '"' },
|
| 52 |
+
{ open: "'", close: "'" }
|
| 53 |
+
]
|
| 54 |
+
};
|
| 55 |
+
var language = {
|
| 56 |
+
tokenPostfix: ".julia",
|
| 57 |
+
keywords: [
|
| 58 |
+
"begin",
|
| 59 |
+
"while",
|
| 60 |
+
"if",
|
| 61 |
+
"for",
|
| 62 |
+
"try",
|
| 63 |
+
"return",
|
| 64 |
+
"break",
|
| 65 |
+
"continue",
|
| 66 |
+
"function",
|
| 67 |
+
"macro",
|
| 68 |
+
"quote",
|
| 69 |
+
"let",
|
| 70 |
+
"local",
|
| 71 |
+
"global",
|
| 72 |
+
"const",
|
| 73 |
+
"do",
|
| 74 |
+
"struct",
|
| 75 |
+
"module",
|
| 76 |
+
"baremodule",
|
| 77 |
+
"using",
|
| 78 |
+
"import",
|
| 79 |
+
"export",
|
| 80 |
+
"end",
|
| 81 |
+
"else",
|
| 82 |
+
"elseif",
|
| 83 |
+
"catch",
|
| 84 |
+
"finally",
|
| 85 |
+
"mutable",
|
| 86 |
+
"primitive",
|
| 87 |
+
"abstract",
|
| 88 |
+
"type",
|
| 89 |
+
"in",
|
| 90 |
+
"isa",
|
| 91 |
+
"where",
|
| 92 |
+
"new"
|
| 93 |
+
],
|
| 94 |
+
types: [
|
| 95 |
+
"LinRange",
|
| 96 |
+
"LineNumberNode",
|
| 97 |
+
"LinearIndices",
|
| 98 |
+
"LoadError",
|
| 99 |
+
"MIME",
|
| 100 |
+
"Matrix",
|
| 101 |
+
"Method",
|
| 102 |
+
"MethodError",
|
| 103 |
+
"Missing",
|
| 104 |
+
"MissingException",
|
| 105 |
+
"Module",
|
| 106 |
+
"NTuple",
|
| 107 |
+
"NamedTuple",
|
| 108 |
+
"Nothing",
|
| 109 |
+
"Number",
|
| 110 |
+
"OrdinalRange",
|
| 111 |
+
"OutOfMemoryError",
|
| 112 |
+
"OverflowError",
|
| 113 |
+
"Pair",
|
| 114 |
+
"PartialQuickSort",
|
| 115 |
+
"PermutedDimsArray",
|
| 116 |
+
"Pipe",
|
| 117 |
+
"Ptr",
|
| 118 |
+
"QuoteNode",
|
| 119 |
+
"Rational",
|
| 120 |
+
"RawFD",
|
| 121 |
+
"ReadOnlyMemoryError",
|
| 122 |
+
"Real",
|
| 123 |
+
"ReentrantLock",
|
| 124 |
+
"Ref",
|
| 125 |
+
"Regex",
|
| 126 |
+
"RegexMatch",
|
| 127 |
+
"RoundingMode",
|
| 128 |
+
"SegmentationFault",
|
| 129 |
+
"Set",
|
| 130 |
+
"Signed",
|
| 131 |
+
"Some",
|
| 132 |
+
"StackOverflowError",
|
| 133 |
+
"StepRange",
|
| 134 |
+
"StepRangeLen",
|
| 135 |
+
"StridedArray",
|
| 136 |
+
"StridedMatrix",
|
| 137 |
+
"StridedVecOrMat",
|
| 138 |
+
"StridedVector",
|
| 139 |
+
"String",
|
| 140 |
+
"StringIndexError",
|
| 141 |
+
"SubArray",
|
| 142 |
+
"SubString",
|
| 143 |
+
"SubstitutionString",
|
| 144 |
+
"Symbol",
|
| 145 |
+
"SystemError",
|
| 146 |
+
"Task",
|
| 147 |
+
"Text",
|
| 148 |
+
"TextDisplay",
|
| 149 |
+
"Timer",
|
| 150 |
+
"Tuple",
|
| 151 |
+
"Type",
|
| 152 |
+
"TypeError",
|
| 153 |
+
"TypeVar",
|
| 154 |
+
"UInt",
|
| 155 |
+
"UInt128",
|
| 156 |
+
"UInt16",
|
| 157 |
+
"UInt32",
|
| 158 |
+
"UInt64",
|
| 159 |
+
"UInt8",
|
| 160 |
+
"UndefInitializer",
|
| 161 |
+
"AbstractArray",
|
| 162 |
+
"UndefKeywordError",
|
| 163 |
+
"AbstractChannel",
|
| 164 |
+
"UndefRefError",
|
| 165 |
+
"AbstractChar",
|
| 166 |
+
"UndefVarError",
|
| 167 |
+
"AbstractDict",
|
| 168 |
+
"Union",
|
| 169 |
+
"AbstractDisplay",
|
| 170 |
+
"UnionAll",
|
| 171 |
+
"AbstractFloat",
|
| 172 |
+
"UnitRange",
|
| 173 |
+
"AbstractIrrational",
|
| 174 |
+
"Unsigned",
|
| 175 |
+
"AbstractMatrix",
|
| 176 |
+
"AbstractRange",
|
| 177 |
+
"Val",
|
| 178 |
+
"AbstractSet",
|
| 179 |
+
"Vararg",
|
| 180 |
+
"AbstractString",
|
| 181 |
+
"VecElement",
|
| 182 |
+
"AbstractUnitRange",
|
| 183 |
+
"VecOrMat",
|
| 184 |
+
"AbstractVecOrMat",
|
| 185 |
+
"Vector",
|
| 186 |
+
"AbstractVector",
|
| 187 |
+
"VersionNumber",
|
| 188 |
+
"Any",
|
| 189 |
+
"WeakKeyDict",
|
| 190 |
+
"ArgumentError",
|
| 191 |
+
"WeakRef",
|
| 192 |
+
"Array",
|
| 193 |
+
"AssertionError",
|
| 194 |
+
"BigFloat",
|
| 195 |
+
"BigInt",
|
| 196 |
+
"BitArray",
|
| 197 |
+
"BitMatrix",
|
| 198 |
+
"BitSet",
|
| 199 |
+
"BitVector",
|
| 200 |
+
"Bool",
|
| 201 |
+
"BoundsError",
|
| 202 |
+
"CapturedException",
|
| 203 |
+
"CartesianIndex",
|
| 204 |
+
"CartesianIndices",
|
| 205 |
+
"Cchar",
|
| 206 |
+
"Cdouble",
|
| 207 |
+
"Cfloat",
|
| 208 |
+
"Channel",
|
| 209 |
+
"Char",
|
| 210 |
+
"Cint",
|
| 211 |
+
"Cintmax_t",
|
| 212 |
+
"Clong",
|
| 213 |
+
"Clonglong",
|
| 214 |
+
"Cmd",
|
| 215 |
+
"Colon",
|
| 216 |
+
"Complex",
|
| 217 |
+
"ComplexF16",
|
| 218 |
+
"ComplexF32",
|
| 219 |
+
"ComplexF64",
|
| 220 |
+
"CompositeException",
|
| 221 |
+
"Condition",
|
| 222 |
+
"Cptrdiff_t",
|
| 223 |
+
"Cshort",
|
| 224 |
+
"Csize_t",
|
| 225 |
+
"Cssize_t",
|
| 226 |
+
"Cstring",
|
| 227 |
+
"Cuchar",
|
| 228 |
+
"Cuint",
|
| 229 |
+
"Cuintmax_t",
|
| 230 |
+
"Culong",
|
| 231 |
+
"Culonglong",
|
| 232 |
+
"Cushort",
|
| 233 |
+
"Cvoid",
|
| 234 |
+
"Cwchar_t",
|
| 235 |
+
"Cwstring",
|
| 236 |
+
"DataType",
|
| 237 |
+
"DenseArray",
|
| 238 |
+
"DenseMatrix",
|
| 239 |
+
"DenseVecOrMat",
|
| 240 |
+
"DenseVector",
|
| 241 |
+
"Dict",
|
| 242 |
+
"DimensionMismatch",
|
| 243 |
+
"Dims",
|
| 244 |
+
"DivideError",
|
| 245 |
+
"DomainError",
|
| 246 |
+
"EOFError",
|
| 247 |
+
"Enum",
|
| 248 |
+
"ErrorException",
|
| 249 |
+
"Exception",
|
| 250 |
+
"ExponentialBackOff",
|
| 251 |
+
"Expr",
|
| 252 |
+
"Float16",
|
| 253 |
+
"Float32",
|
| 254 |
+
"Float64",
|
| 255 |
+
"Function",
|
| 256 |
+
"GlobalRef",
|
| 257 |
+
"HTML",
|
| 258 |
+
"IO",
|
| 259 |
+
"IOBuffer",
|
| 260 |
+
"IOContext",
|
| 261 |
+
"IOStream",
|
| 262 |
+
"IdDict",
|
| 263 |
+
"IndexCartesian",
|
| 264 |
+
"IndexLinear",
|
| 265 |
+
"IndexStyle",
|
| 266 |
+
"InexactError",
|
| 267 |
+
"InitError",
|
| 268 |
+
"Int",
|
| 269 |
+
"Int128",
|
| 270 |
+
"Int16",
|
| 271 |
+
"Int32",
|
| 272 |
+
"Int64",
|
| 273 |
+
"Int8",
|
| 274 |
+
"Integer",
|
| 275 |
+
"InterruptException",
|
| 276 |
+
"InvalidStateException",
|
| 277 |
+
"Irrational",
|
| 278 |
+
"KeyError"
|
| 279 |
+
],
|
| 280 |
+
keywordops: ["<:", ">:", ":", "=>", "...", ".", "->", "?"],
|
| 281 |
+
allops: /[^\w\d\s()\[\]{}"'#]+/,
|
| 282 |
+
constants: [
|
| 283 |
+
"true",
|
| 284 |
+
"false",
|
| 285 |
+
"nothing",
|
| 286 |
+
"missing",
|
| 287 |
+
"undef",
|
| 288 |
+
"Inf",
|
| 289 |
+
"pi",
|
| 290 |
+
"NaN",
|
| 291 |
+
"\u03C0",
|
| 292 |
+
"\u212F",
|
| 293 |
+
"ans",
|
| 294 |
+
"PROGRAM_FILE",
|
| 295 |
+
"ARGS",
|
| 296 |
+
"C_NULL",
|
| 297 |
+
"VERSION",
|
| 298 |
+
"DEPOT_PATH",
|
| 299 |
+
"LOAD_PATH"
|
| 300 |
+
],
|
| 301 |
+
operators: [
|
| 302 |
+
"!",
|
| 303 |
+
"!=",
|
| 304 |
+
"!==",
|
| 305 |
+
"%",
|
| 306 |
+
"&",
|
| 307 |
+
"*",
|
| 308 |
+
"+",
|
| 309 |
+
"-",
|
| 310 |
+
"/",
|
| 311 |
+
"//",
|
| 312 |
+
"<",
|
| 313 |
+
"<<",
|
| 314 |
+
"<=",
|
| 315 |
+
"==",
|
| 316 |
+
"===",
|
| 317 |
+
"=>",
|
| 318 |
+
">",
|
| 319 |
+
">=",
|
| 320 |
+
">>",
|
| 321 |
+
">>>",
|
| 322 |
+
"\\",
|
| 323 |
+
"^",
|
| 324 |
+
"|",
|
| 325 |
+
"|>",
|
| 326 |
+
"~",
|
| 327 |
+
"\xF7",
|
| 328 |
+
"\u2208",
|
| 329 |
+
"\u2209",
|
| 330 |
+
"\u220B",
|
| 331 |
+
"\u220C",
|
| 332 |
+
"\u2218",
|
| 333 |
+
"\u221A",
|
| 334 |
+
"\u221B",
|
| 335 |
+
"\u2229",
|
| 336 |
+
"\u222A",
|
| 337 |
+
"\u2248",
|
| 338 |
+
"\u2249",
|
| 339 |
+
"\u2260",
|
| 340 |
+
"\u2261",
|
| 341 |
+
"\u2262",
|
| 342 |
+
"\u2264",
|
| 343 |
+
"\u2265",
|
| 344 |
+
"\u2286",
|
| 345 |
+
"\u2287",
|
| 346 |
+
"\u2288",
|
| 347 |
+
"\u2289",
|
| 348 |
+
"\u228A",
|
| 349 |
+
"\u228B",
|
| 350 |
+
"\u22BB"
|
| 351 |
+
],
|
| 352 |
+
brackets: [
|
| 353 |
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
| 354 |
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
| 355 |
+
{ open: "[", close: "]", token: "delimiter.square" }
|
| 356 |
+
],
|
| 357 |
+
ident: /π|ℯ|\b(?!\d)\w+\b/,
|
| 358 |
+
// escape sequences
|
| 359 |
+
escape: /(?:[abefnrstv\\"'\n\r]|[0-7]{1,3}|x[0-9A-Fa-f]{1,2}|u[0-9A-Fa-f]{4})/,
|
| 360 |
+
escapes: /\\(?:C\-(@escape|.)|c(@escape|.)|@escape)/,
|
| 361 |
+
// The main tokenizer for our languages
|
| 362 |
+
tokenizer: {
|
| 363 |
+
root: [
|
| 364 |
+
[/(::)\s*|\b(isa)\s+/, "keyword", "@typeanno"],
|
| 365 |
+
[/\b(isa)(\s*\(@ident\s*,\s*)/, ["keyword", { token: "", next: "@typeanno" }]],
|
| 366 |
+
[/\b(type|struct)[ \t]+/, "keyword", "@typeanno"],
|
| 367 |
+
// symbols
|
| 368 |
+
[/^\s*:@ident[!?]?/, "metatag"],
|
| 369 |
+
[/(return)(\s*:@ident[!?]?)/, ["keyword", "metatag"]],
|
| 370 |
+
[/(\(|\[|\{|@allops)(\s*:@ident[!?]?)/, ["", "metatag"]],
|
| 371 |
+
[/:\(/, "metatag", "@quote"],
|
| 372 |
+
// regular expressions
|
| 373 |
+
[/r"""/, "regexp.delim", "@tregexp"],
|
| 374 |
+
[/r"/, "regexp.delim", "@sregexp"],
|
| 375 |
+
// strings
|
| 376 |
+
[/raw"""/, "string.delim", "@rtstring"],
|
| 377 |
+
[/[bv]?"""/, "string.delim", "@dtstring"],
|
| 378 |
+
[/raw"/, "string.delim", "@rsstring"],
|
| 379 |
+
[/[bv]?"/, "string.delim", "@dsstring"],
|
| 380 |
+
[
|
| 381 |
+
/(@ident)\{/,
|
| 382 |
+
{
|
| 383 |
+
cases: {
|
| 384 |
+
"$1@types": { token: "type", next: "@gen" },
|
| 385 |
+
"@default": { token: "type", next: "@gen" }
|
| 386 |
+
}
|
| 387 |
+
}
|
| 388 |
+
],
|
| 389 |
+
[
|
| 390 |
+
/@ident[!?'']?(?=\.?\()/,
|
| 391 |
+
{
|
| 392 |
+
cases: {
|
| 393 |
+
"@types": "type",
|
| 394 |
+
"@keywords": "keyword",
|
| 395 |
+
"@constants": "variable",
|
| 396 |
+
"@default": "keyword.flow"
|
| 397 |
+
}
|
| 398 |
+
}
|
| 399 |
+
],
|
| 400 |
+
[
|
| 401 |
+
/@ident[!?']?/,
|
| 402 |
+
{
|
| 403 |
+
cases: {
|
| 404 |
+
"@types": "type",
|
| 405 |
+
"@keywords": "keyword",
|
| 406 |
+
"@constants": "variable",
|
| 407 |
+
"@default": "identifier"
|
| 408 |
+
}
|
| 409 |
+
}
|
| 410 |
+
],
|
| 411 |
+
[/\$\w+/, "key"],
|
| 412 |
+
[/\$\(/, "key", "@paste"],
|
| 413 |
+
[/@@@ident/, "annotation"],
|
| 414 |
+
// whitespace
|
| 415 |
+
{ include: "@whitespace" },
|
| 416 |
+
// characters
|
| 417 |
+
[/'(?:@escapes|.)'/, "string.character"],
|
| 418 |
+
// delimiters and operators
|
| 419 |
+
[/[()\[\]{}]/, "@brackets"],
|
| 420 |
+
[
|
| 421 |
+
/@allops/,
|
| 422 |
+
{
|
| 423 |
+
cases: {
|
| 424 |
+
"@keywordops": "keyword",
|
| 425 |
+
"@operators": "operator"
|
| 426 |
+
}
|
| 427 |
+
}
|
| 428 |
+
],
|
| 429 |
+
[/[;,]/, "delimiter"],
|
| 430 |
+
// numbers
|
| 431 |
+
[/0[xX][0-9a-fA-F](_?[0-9a-fA-F])*/, "number.hex"],
|
| 432 |
+
[/0[_oO][0-7](_?[0-7])*/, "number.octal"],
|
| 433 |
+
[/0[bB][01](_?[01])*/, "number.binary"],
|
| 434 |
+
[/[+\-]?\d+(\.\d+)?(im?|[eE][+\-]?\d+(\.\d+)?)?/, "number"]
|
| 435 |
+
],
|
| 436 |
+
// type
|
| 437 |
+
typeanno: [
|
| 438 |
+
[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/, "type", "@gen"],
|
| 439 |
+
[/([a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*)(\s*<:\s*)/, ["type", "keyword"]],
|
| 440 |
+
[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/, "type", "@pop"],
|
| 441 |
+
["", "", "@pop"]
|
| 442 |
+
],
|
| 443 |
+
// generic type
|
| 444 |
+
gen: [
|
| 445 |
+
[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/, "type", "@push"],
|
| 446 |
+
[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/, "type"],
|
| 447 |
+
[/<:/, "keyword"],
|
| 448 |
+
[/(\})(\s*<:\s*)/, ["type", { token: "keyword", next: "@pop" }]],
|
| 449 |
+
[/\}/, "type", "@pop"],
|
| 450 |
+
{ include: "@root" }
|
| 451 |
+
],
|
| 452 |
+
// $(...)
|
| 453 |
+
quote: [
|
| 454 |
+
[/\$\(/, "key", "@paste"],
|
| 455 |
+
[/\(/, "@brackets", "@paren"],
|
| 456 |
+
[/\)/, "metatag", "@pop"],
|
| 457 |
+
{ include: "@root" }
|
| 458 |
+
],
|
| 459 |
+
// :(...)
|
| 460 |
+
paste: [
|
| 461 |
+
[/:\(/, "metatag", "@quote"],
|
| 462 |
+
[/\(/, "@brackets", "@paren"],
|
| 463 |
+
[/\)/, "key", "@pop"],
|
| 464 |
+
{ include: "@root" }
|
| 465 |
+
],
|
| 466 |
+
// (...)
|
| 467 |
+
paren: [
|
| 468 |
+
[/\$\(/, "key", "@paste"],
|
| 469 |
+
[/:\(/, "metatag", "@quote"],
|
| 470 |
+
[/\(/, "@brackets", "@push"],
|
| 471 |
+
[/\)/, "@brackets", "@pop"],
|
| 472 |
+
{ include: "@root" }
|
| 473 |
+
],
|
| 474 |
+
// r"egex string"
|
| 475 |
+
sregexp: [
|
| 476 |
+
[/^.*/, "invalid"],
|
| 477 |
+
[/[^\\"()\[\]{}]/, "regexp"],
|
| 478 |
+
[/[()\[\]{}]/, "@brackets"],
|
| 479 |
+
[/\\./, "operator.scss"],
|
| 480 |
+
[/"[imsx]*/, "regexp.delim", "@pop"]
|
| 481 |
+
],
|
| 482 |
+
tregexp: [
|
| 483 |
+
[/[^\\"()\[\]{}]/, "regexp"],
|
| 484 |
+
[/[()\[\]{}]/, "@brackets"],
|
| 485 |
+
[/\\./, "operator.scss"],
|
| 486 |
+
[/"(?!"")/, "string"],
|
| 487 |
+
[/"""[imsx]*/, "regexp.delim", "@pop"]
|
| 488 |
+
],
|
| 489 |
+
// raw"string"
|
| 490 |
+
rsstring: [
|
| 491 |
+
[/^.*/, "invalid"],
|
| 492 |
+
[/[^\\"]/, "string"],
|
| 493 |
+
[/\\./, "string.escape"],
|
| 494 |
+
[/"/, "string.delim", "@pop"]
|
| 495 |
+
],
|
| 496 |
+
rtstring: [
|
| 497 |
+
[/[^\\"]/, "string"],
|
| 498 |
+
[/\\./, "string.escape"],
|
| 499 |
+
[/"(?!"")/, "string"],
|
| 500 |
+
[/"""/, "string.delim", "@pop"]
|
| 501 |
+
],
|
| 502 |
+
// "string".
|
| 503 |
+
dsstring: [
|
| 504 |
+
[/^.*/, "invalid"],
|
| 505 |
+
[/[^\\"\$]/, "string"],
|
| 506 |
+
[/\$/, "", "@interpolated"],
|
| 507 |
+
[/@escapes/, "string.escape"],
|
| 508 |
+
[/\\./, "string.escape.invalid"],
|
| 509 |
+
[/"/, "string.delim", "@pop"]
|
| 510 |
+
],
|
| 511 |
+
dtstring: [
|
| 512 |
+
[/[^\\"\$]/, "string"],
|
| 513 |
+
[/\$/, "", "@interpolated"],
|
| 514 |
+
[/@escapes/, "string.escape"],
|
| 515 |
+
[/\\./, "string.escape.invalid"],
|
| 516 |
+
[/"(?!"")/, "string"],
|
| 517 |
+
[/"""/, "string.delim", "@pop"]
|
| 518 |
+
],
|
| 519 |
+
// interpolated sequence
|
| 520 |
+
interpolated: [
|
| 521 |
+
[/\(/, { token: "", switchTo: "@interpolated_compound" }],
|
| 522 |
+
[/[a-zA-Z_]\w*/, "identifier"],
|
| 523 |
+
["", "", "@pop"]
|
| 524 |
+
// just a $ is interpreted as a $
|
| 525 |
+
],
|
| 526 |
+
// any code
|
| 527 |
+
interpolated_compound: [[/\)/, "", "@pop"], { include: "@root" }],
|
| 528 |
+
// whitespace & comments
|
| 529 |
+
whitespace: [
|
| 530 |
+
[/[ \t\r\n]+/, ""],
|
| 531 |
+
[/#=/, "comment", "@multi_comment"],
|
| 532 |
+
[/#.*$/, "comment"]
|
| 533 |
+
],
|
| 534 |
+
multi_comment: [
|
| 535 |
+
[/#=/, "comment", "@push"],
|
| 536 |
+
[/=#/, "comment", "@pop"],
|
| 537 |
+
[/=(?!#)|#(?!=)/, "comment"],
|
| 538 |
+
[/[^#=]+/, "comment"]
|
| 539 |
+
]
|
| 540 |
+
}
|
| 541 |
+
};
|
| 542 |
+
return __toCommonJS(julia_exports);
|
| 543 |
+
})();
|
| 544 |
+
return moduleExports;
|
| 545 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/kotlin/kotlin.js
ADDED
|
@@ -0,0 +1,287 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/kotlin/kotlin", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/kotlin/kotlin.ts
|
| 29 |
+
var kotlin_exports = {};
|
| 30 |
+
__export(kotlin_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
// the default separators except `@$`
|
| 36 |
+
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
|
| 37 |
+
comments: {
|
| 38 |
+
lineComment: "//",
|
| 39 |
+
blockComment: ["/*", "*/"]
|
| 40 |
+
},
|
| 41 |
+
brackets: [
|
| 42 |
+
["{", "}"],
|
| 43 |
+
["[", "]"],
|
| 44 |
+
["(", ")"]
|
| 45 |
+
],
|
| 46 |
+
autoClosingPairs: [
|
| 47 |
+
{ open: "{", close: "}" },
|
| 48 |
+
{ open: "[", close: "]" },
|
| 49 |
+
{ open: "(", close: ")" },
|
| 50 |
+
{ open: '"', close: '"' },
|
| 51 |
+
{ open: "'", close: "'" }
|
| 52 |
+
],
|
| 53 |
+
surroundingPairs: [
|
| 54 |
+
{ open: "{", close: "}" },
|
| 55 |
+
{ open: "[", close: "]" },
|
| 56 |
+
{ open: "(", close: ")" },
|
| 57 |
+
{ open: '"', close: '"' },
|
| 58 |
+
{ open: "'", close: "'" },
|
| 59 |
+
{ open: "<", close: ">" }
|
| 60 |
+
],
|
| 61 |
+
folding: {
|
| 62 |
+
markers: {
|
| 63 |
+
start: new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),
|
| 64 |
+
end: new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")
|
| 65 |
+
}
|
| 66 |
+
}
|
| 67 |
+
};
|
| 68 |
+
var language = {
|
| 69 |
+
defaultToken: "",
|
| 70 |
+
tokenPostfix: ".kt",
|
| 71 |
+
keywords: [
|
| 72 |
+
"as",
|
| 73 |
+
"as?",
|
| 74 |
+
"break",
|
| 75 |
+
"class",
|
| 76 |
+
"continue",
|
| 77 |
+
"do",
|
| 78 |
+
"else",
|
| 79 |
+
"false",
|
| 80 |
+
"for",
|
| 81 |
+
"fun",
|
| 82 |
+
"if",
|
| 83 |
+
"in",
|
| 84 |
+
"!in",
|
| 85 |
+
"interface",
|
| 86 |
+
"is",
|
| 87 |
+
"!is",
|
| 88 |
+
"null",
|
| 89 |
+
"object",
|
| 90 |
+
"package",
|
| 91 |
+
"return",
|
| 92 |
+
"super",
|
| 93 |
+
"this",
|
| 94 |
+
"throw",
|
| 95 |
+
"true",
|
| 96 |
+
"try",
|
| 97 |
+
"typealias",
|
| 98 |
+
"val",
|
| 99 |
+
"var",
|
| 100 |
+
"when",
|
| 101 |
+
"while",
|
| 102 |
+
"by",
|
| 103 |
+
"catch",
|
| 104 |
+
"constructor",
|
| 105 |
+
"delegate",
|
| 106 |
+
"dynamic",
|
| 107 |
+
"field",
|
| 108 |
+
"file",
|
| 109 |
+
"finally",
|
| 110 |
+
"get",
|
| 111 |
+
"import",
|
| 112 |
+
"init",
|
| 113 |
+
"param",
|
| 114 |
+
"property",
|
| 115 |
+
"receiver",
|
| 116 |
+
"set",
|
| 117 |
+
"setparam",
|
| 118 |
+
"where",
|
| 119 |
+
"actual",
|
| 120 |
+
"abstract",
|
| 121 |
+
"annotation",
|
| 122 |
+
"companion",
|
| 123 |
+
"const",
|
| 124 |
+
"crossinline",
|
| 125 |
+
"data",
|
| 126 |
+
"enum",
|
| 127 |
+
"expect",
|
| 128 |
+
"external",
|
| 129 |
+
"final",
|
| 130 |
+
"infix",
|
| 131 |
+
"inline",
|
| 132 |
+
"inner",
|
| 133 |
+
"internal",
|
| 134 |
+
"lateinit",
|
| 135 |
+
"noinline",
|
| 136 |
+
"open",
|
| 137 |
+
"operator",
|
| 138 |
+
"out",
|
| 139 |
+
"override",
|
| 140 |
+
"private",
|
| 141 |
+
"protected",
|
| 142 |
+
"public",
|
| 143 |
+
"reified",
|
| 144 |
+
"sealed",
|
| 145 |
+
"suspend",
|
| 146 |
+
"tailrec",
|
| 147 |
+
"vararg",
|
| 148 |
+
"field",
|
| 149 |
+
"it"
|
| 150 |
+
],
|
| 151 |
+
operators: [
|
| 152 |
+
"+",
|
| 153 |
+
"-",
|
| 154 |
+
"*",
|
| 155 |
+
"/",
|
| 156 |
+
"%",
|
| 157 |
+
"=",
|
| 158 |
+
"+=",
|
| 159 |
+
"-=",
|
| 160 |
+
"*=",
|
| 161 |
+
"/=",
|
| 162 |
+
"%=",
|
| 163 |
+
"++",
|
| 164 |
+
"--",
|
| 165 |
+
"&&",
|
| 166 |
+
"||",
|
| 167 |
+
"!",
|
| 168 |
+
"==",
|
| 169 |
+
"!=",
|
| 170 |
+
"===",
|
| 171 |
+
"!==",
|
| 172 |
+
">",
|
| 173 |
+
"<",
|
| 174 |
+
"<=",
|
| 175 |
+
">=",
|
| 176 |
+
"[",
|
| 177 |
+
"]",
|
| 178 |
+
"!!",
|
| 179 |
+
"?.",
|
| 180 |
+
"?:",
|
| 181 |
+
"::",
|
| 182 |
+
"..",
|
| 183 |
+
":",
|
| 184 |
+
"?",
|
| 185 |
+
"->",
|
| 186 |
+
"@",
|
| 187 |
+
";",
|
| 188 |
+
"$",
|
| 189 |
+
"_"
|
| 190 |
+
],
|
| 191 |
+
// we include these common regular expressions
|
| 192 |
+
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
| 193 |
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
| 194 |
+
digits: /\d+(_+\d+)*/,
|
| 195 |
+
octaldigits: /[0-7]+(_+[0-7]+)*/,
|
| 196 |
+
binarydigits: /[0-1]+(_+[0-1]+)*/,
|
| 197 |
+
hexdigits: /[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,
|
| 198 |
+
// The main tokenizer for our languages
|
| 199 |
+
tokenizer: {
|
| 200 |
+
root: [
|
| 201 |
+
// class name highlighting
|
| 202 |
+
[/[A-Z][\w\$]*/, "type.identifier"],
|
| 203 |
+
// identifiers and keywords
|
| 204 |
+
[
|
| 205 |
+
/[a-zA-Z_$][\w$]*/,
|
| 206 |
+
{
|
| 207 |
+
cases: {
|
| 208 |
+
"@keywords": { token: "keyword.$0" },
|
| 209 |
+
"@default": "identifier"
|
| 210 |
+
}
|
| 211 |
+
}
|
| 212 |
+
],
|
| 213 |
+
// whitespace
|
| 214 |
+
{ include: "@whitespace" },
|
| 215 |
+
// delimiters and operators
|
| 216 |
+
[/[{}()\[\]]/, "@brackets"],
|
| 217 |
+
[/[<>](?!@symbols)/, "@brackets"],
|
| 218 |
+
[
|
| 219 |
+
/@symbols/,
|
| 220 |
+
{
|
| 221 |
+
cases: {
|
| 222 |
+
"@operators": "delimiter",
|
| 223 |
+
"@default": ""
|
| 224 |
+
}
|
| 225 |
+
}
|
| 226 |
+
],
|
| 227 |
+
// @ annotations.
|
| 228 |
+
[/@\s*[a-zA-Z_\$][\w\$]*/, "annotation"],
|
| 229 |
+
// numbers
|
| 230 |
+
[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/, "number.float"],
|
| 231 |
+
[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/, "number.float"],
|
| 232 |
+
[/0[xX](@hexdigits)[Ll]?/, "number.hex"],
|
| 233 |
+
[/0(@octaldigits)[Ll]?/, "number.octal"],
|
| 234 |
+
[/0[bB](@binarydigits)[Ll]?/, "number.binary"],
|
| 235 |
+
[/(@digits)[fFdD]/, "number.float"],
|
| 236 |
+
[/(@digits)[lL]?/, "number"],
|
| 237 |
+
// delimiter: after number because of .\d floats
|
| 238 |
+
[/[;,.]/, "delimiter"],
|
| 239 |
+
// strings
|
| 240 |
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
| 241 |
+
// non-teminated string
|
| 242 |
+
[/"""/, "string", "@multistring"],
|
| 243 |
+
[/"/, "string", "@string"],
|
| 244 |
+
// characters
|
| 245 |
+
[/'[^\\']'/, "string"],
|
| 246 |
+
[/(')(@escapes)(')/, ["string", "string.escape", "string"]],
|
| 247 |
+
[/'/, "string.invalid"]
|
| 248 |
+
],
|
| 249 |
+
whitespace: [
|
| 250 |
+
[/[ \t\r\n]+/, ""],
|
| 251 |
+
[/\/\*\*(?!\/)/, "comment.doc", "@javadoc"],
|
| 252 |
+
[/\/\*/, "comment", "@comment"],
|
| 253 |
+
[/\/\/.*$/, "comment"]
|
| 254 |
+
],
|
| 255 |
+
comment: [
|
| 256 |
+
[/[^\/*]+/, "comment"],
|
| 257 |
+
[/\/\*/, "comment", "@comment"],
|
| 258 |
+
[/\*\//, "comment", "@pop"],
|
| 259 |
+
[/[\/*]/, "comment"]
|
| 260 |
+
],
|
| 261 |
+
//Identical copy of comment above, except for the addition of .doc
|
| 262 |
+
javadoc: [
|
| 263 |
+
[/[^\/*]+/, "comment.doc"],
|
| 264 |
+
[/\/\*/, "comment.doc", "@push"],
|
| 265 |
+
[/\/\*/, "comment.doc.invalid"],
|
| 266 |
+
[/\*\//, "comment.doc", "@pop"],
|
| 267 |
+
[/[\/*]/, "comment.doc"]
|
| 268 |
+
],
|
| 269 |
+
string: [
|
| 270 |
+
[/[^\\"]+/, "string"],
|
| 271 |
+
[/@escapes/, "string.escape"],
|
| 272 |
+
[/\\./, "string.escape.invalid"],
|
| 273 |
+
[/"/, "string", "@pop"]
|
| 274 |
+
],
|
| 275 |
+
multistring: [
|
| 276 |
+
[/[^\\"]+/, "string"],
|
| 277 |
+
[/@escapes/, "string.escape"],
|
| 278 |
+
[/\\./, "string.escape.invalid"],
|
| 279 |
+
[/"""/, "string", "@pop"],
|
| 280 |
+
[/./, "string"]
|
| 281 |
+
]
|
| 282 |
+
}
|
| 283 |
+
};
|
| 284 |
+
return __toCommonJS(kotlin_exports);
|
| 285 |
+
})();
|
| 286 |
+
return moduleExports;
|
| 287 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/less/less.js
ADDED
|
@@ -0,0 +1,195 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/less/less", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/less/less.ts
|
| 29 |
+
var less_exports = {};
|
| 30 |
+
__export(less_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
wordPattern: /(#?-?\d*\.\d\w*%?)|([@#!.:]?[\w-?]+%?)|[@#!.]/g,
|
| 36 |
+
comments: {
|
| 37 |
+
blockComment: ["/*", "*/"],
|
| 38 |
+
lineComment: "//"
|
| 39 |
+
},
|
| 40 |
+
brackets: [
|
| 41 |
+
["{", "}"],
|
| 42 |
+
["[", "]"],
|
| 43 |
+
["(", ")"]
|
| 44 |
+
],
|
| 45 |
+
autoClosingPairs: [
|
| 46 |
+
{ open: "{", close: "}", notIn: ["string", "comment"] },
|
| 47 |
+
{ open: "[", close: "]", notIn: ["string", "comment"] },
|
| 48 |
+
{ open: "(", close: ")", notIn: ["string", "comment"] },
|
| 49 |
+
{ open: '"', close: '"', notIn: ["string", "comment"] },
|
| 50 |
+
{ open: "'", close: "'", notIn: ["string", "comment"] }
|
| 51 |
+
],
|
| 52 |
+
surroundingPairs: [
|
| 53 |
+
{ open: "{", close: "}" },
|
| 54 |
+
{ open: "[", close: "]" },
|
| 55 |
+
{ open: "(", close: ")" },
|
| 56 |
+
{ open: '"', close: '"' },
|
| 57 |
+
{ open: "'", close: "'" }
|
| 58 |
+
],
|
| 59 |
+
folding: {
|
| 60 |
+
markers: {
|
| 61 |
+
start: new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),
|
| 62 |
+
end: new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")
|
| 63 |
+
}
|
| 64 |
+
}
|
| 65 |
+
};
|
| 66 |
+
var language = {
|
| 67 |
+
defaultToken: "",
|
| 68 |
+
tokenPostfix: ".less",
|
| 69 |
+
identifier: "-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",
|
| 70 |
+
identifierPlus: "-?-?([a-zA-Z:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",
|
| 71 |
+
brackets: [
|
| 72 |
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
| 73 |
+
{ open: "[", close: "]", token: "delimiter.bracket" },
|
| 74 |
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
| 75 |
+
{ open: "<", close: ">", token: "delimiter.angle" }
|
| 76 |
+
],
|
| 77 |
+
tokenizer: {
|
| 78 |
+
root: [
|
| 79 |
+
{ include: "@nestedJSBegin" },
|
| 80 |
+
["[ \\t\\r\\n]+", ""],
|
| 81 |
+
{ include: "@comments" },
|
| 82 |
+
{ include: "@keyword" },
|
| 83 |
+
{ include: "@strings" },
|
| 84 |
+
{ include: "@numbers" },
|
| 85 |
+
["[*_]?[a-zA-Z\\-\\s]+(?=:.*(;|(\\\\$)))", "attribute.name", "@attribute"],
|
| 86 |
+
["url(\\-prefix)?\\(", { token: "tag", next: "@urldeclaration" }],
|
| 87 |
+
["[{}()\\[\\]]", "@brackets"],
|
| 88 |
+
["[,:;]", "delimiter"],
|
| 89 |
+
["#@identifierPlus", "tag.id"],
|
| 90 |
+
["&", "tag"],
|
| 91 |
+
["\\.@identifierPlus(?=\\()", "tag.class", "@attribute"],
|
| 92 |
+
["\\.@identifierPlus", "tag.class"],
|
| 93 |
+
["@identifierPlus", "tag"],
|
| 94 |
+
{ include: "@operators" },
|
| 95 |
+
["@(@identifier(?=[:,\\)]))", "variable", "@attribute"],
|
| 96 |
+
["@(@identifier)", "variable"],
|
| 97 |
+
["@", "key", "@atRules"]
|
| 98 |
+
],
|
| 99 |
+
nestedJSBegin: [
|
| 100 |
+
["``", "delimiter.backtick"],
|
| 101 |
+
[
|
| 102 |
+
"`",
|
| 103 |
+
{
|
| 104 |
+
token: "delimiter.backtick",
|
| 105 |
+
next: "@nestedJSEnd",
|
| 106 |
+
nextEmbedded: "text/javascript"
|
| 107 |
+
}
|
| 108 |
+
]
|
| 109 |
+
],
|
| 110 |
+
nestedJSEnd: [
|
| 111 |
+
[
|
| 112 |
+
"`",
|
| 113 |
+
{
|
| 114 |
+
token: "delimiter.backtick",
|
| 115 |
+
next: "@pop",
|
| 116 |
+
nextEmbedded: "@pop"
|
| 117 |
+
}
|
| 118 |
+
]
|
| 119 |
+
],
|
| 120 |
+
operators: [["[<>=\\+\\-\\*\\/\\^\\|\\~]", "operator"]],
|
| 121 |
+
keyword: [
|
| 122 |
+
[
|
| 123 |
+
"(@[\\s]*import|![\\s]*important|true|false|when|iscolor|isnumber|isstring|iskeyword|isurl|ispixel|ispercentage|isem|hue|saturation|lightness|alpha|lighten|darken|saturate|desaturate|fadein|fadeout|fade|spin|mix|round|ceil|floor|percentage)\\b",
|
| 124 |
+
"keyword"
|
| 125 |
+
]
|
| 126 |
+
],
|
| 127 |
+
urldeclaration: [
|
| 128 |
+
{ include: "@strings" },
|
| 129 |
+
["[^)\r\n]+", "string"],
|
| 130 |
+
["\\)", { token: "tag", next: "@pop" }]
|
| 131 |
+
],
|
| 132 |
+
attribute: [
|
| 133 |
+
{ include: "@nestedJSBegin" },
|
| 134 |
+
{ include: "@comments" },
|
| 135 |
+
{ include: "@strings" },
|
| 136 |
+
{ include: "@numbers" },
|
| 137 |
+
{ include: "@keyword" },
|
| 138 |
+
["[a-zA-Z\\-]+(?=\\()", "attribute.value", "@attribute"],
|
| 139 |
+
[">", "operator", "@pop"],
|
| 140 |
+
["@identifier", "attribute.value"],
|
| 141 |
+
{ include: "@operators" },
|
| 142 |
+
["@(@identifier)", "variable"],
|
| 143 |
+
["[)\\}]", "@brackets", "@pop"],
|
| 144 |
+
["[{}()\\[\\]>]", "@brackets"],
|
| 145 |
+
["[;]", "delimiter", "@pop"],
|
| 146 |
+
["[,=:]", "delimiter"],
|
| 147 |
+
["\\s", ""],
|
| 148 |
+
[".", "attribute.value"]
|
| 149 |
+
],
|
| 150 |
+
comments: [
|
| 151 |
+
["\\/\\*", "comment", "@comment"],
|
| 152 |
+
["\\/\\/+.*", "comment"]
|
| 153 |
+
],
|
| 154 |
+
comment: [
|
| 155 |
+
["\\*\\/", "comment", "@pop"],
|
| 156 |
+
[".", "comment"]
|
| 157 |
+
],
|
| 158 |
+
numbers: [
|
| 159 |
+
["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?", { token: "attribute.value.number", next: "@units" }],
|
| 160 |
+
["#[0-9a-fA-F_]+(?!\\w)", "attribute.value.hex"]
|
| 161 |
+
],
|
| 162 |
+
units: [
|
| 163 |
+
[
|
| 164 |
+
"(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?",
|
| 165 |
+
"attribute.value.unit",
|
| 166 |
+
"@pop"
|
| 167 |
+
]
|
| 168 |
+
],
|
| 169 |
+
strings: [
|
| 170 |
+
['~?"', { token: "string.delimiter", next: "@stringsEndDoubleQuote" }],
|
| 171 |
+
["~?'", { token: "string.delimiter", next: "@stringsEndQuote" }]
|
| 172 |
+
],
|
| 173 |
+
stringsEndDoubleQuote: [
|
| 174 |
+
['\\\\"', "string"],
|
| 175 |
+
['"', { token: "string.delimiter", next: "@popall" }],
|
| 176 |
+
[".", "string"]
|
| 177 |
+
],
|
| 178 |
+
stringsEndQuote: [
|
| 179 |
+
["\\\\'", "string"],
|
| 180 |
+
["'", { token: "string.delimiter", next: "@popall" }],
|
| 181 |
+
[".", "string"]
|
| 182 |
+
],
|
| 183 |
+
atRules: [
|
| 184 |
+
{ include: "@comments" },
|
| 185 |
+
{ include: "@strings" },
|
| 186 |
+
["[()]", "delimiter"],
|
| 187 |
+
["[\\{;]", "delimiter", "@pop"],
|
| 188 |
+
[".", "key"]
|
| 189 |
+
]
|
| 190 |
+
}
|
| 191 |
+
};
|
| 192 |
+
return __toCommonJS(less_exports);
|
| 193 |
+
})();
|
| 194 |
+
return moduleExports;
|
| 195 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/lexon/lexon.js
ADDED
|
@@ -0,0 +1,191 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/lexon/lexon", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/lexon/lexon.ts
|
| 29 |
+
var lexon_exports = {};
|
| 30 |
+
__export(lexon_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
comments: {
|
| 36 |
+
lineComment: "COMMENT"
|
| 37 |
+
// blockComment: ['COMMENT', '.'],
|
| 38 |
+
},
|
| 39 |
+
brackets: [["(", ")"]],
|
| 40 |
+
autoClosingPairs: [
|
| 41 |
+
{ open: "{", close: "}" },
|
| 42 |
+
{ open: "[", close: "]" },
|
| 43 |
+
{ open: "(", close: ")" },
|
| 44 |
+
{ open: '"', close: '"' },
|
| 45 |
+
{ open: ":", close: "." }
|
| 46 |
+
],
|
| 47 |
+
surroundingPairs: [
|
| 48 |
+
{ open: "{", close: "}" },
|
| 49 |
+
{ open: "[", close: "]" },
|
| 50 |
+
{ open: "(", close: ")" },
|
| 51 |
+
{ open: "`", close: "`" },
|
| 52 |
+
{ open: '"', close: '"' },
|
| 53 |
+
{ open: "'", close: "'" },
|
| 54 |
+
{ open: ":", close: "." }
|
| 55 |
+
],
|
| 56 |
+
folding: {
|
| 57 |
+
markers: {
|
| 58 |
+
start: new RegExp("^\\s*(::\\s*|COMMENT\\s+)#region"),
|
| 59 |
+
end: new RegExp("^\\s*(::\\s*|COMMENT\\s+)#endregion")
|
| 60 |
+
}
|
| 61 |
+
}
|
| 62 |
+
};
|
| 63 |
+
var language = {
|
| 64 |
+
// Set defaultToken to invalid to see what you do not tokenize yet
|
| 65 |
+
// defaultToken: 'invalid',
|
| 66 |
+
tokenPostfix: ".lexon",
|
| 67 |
+
ignoreCase: true,
|
| 68 |
+
keywords: [
|
| 69 |
+
"lexon",
|
| 70 |
+
"lex",
|
| 71 |
+
"clause",
|
| 72 |
+
"terms",
|
| 73 |
+
"contracts",
|
| 74 |
+
"may",
|
| 75 |
+
"pay",
|
| 76 |
+
"pays",
|
| 77 |
+
"appoints",
|
| 78 |
+
"into",
|
| 79 |
+
"to"
|
| 80 |
+
],
|
| 81 |
+
typeKeywords: ["amount", "person", "key", "time", "date", "asset", "text"],
|
| 82 |
+
operators: [
|
| 83 |
+
"less",
|
| 84 |
+
"greater",
|
| 85 |
+
"equal",
|
| 86 |
+
"le",
|
| 87 |
+
"gt",
|
| 88 |
+
"or",
|
| 89 |
+
"and",
|
| 90 |
+
"add",
|
| 91 |
+
"added",
|
| 92 |
+
"subtract",
|
| 93 |
+
"subtracted",
|
| 94 |
+
"multiply",
|
| 95 |
+
"multiplied",
|
| 96 |
+
"times",
|
| 97 |
+
"divide",
|
| 98 |
+
"divided",
|
| 99 |
+
"is",
|
| 100 |
+
"be",
|
| 101 |
+
"certified"
|
| 102 |
+
],
|
| 103 |
+
// we include these common regular expressions
|
| 104 |
+
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
| 105 |
+
// The main tokenizer for our languages
|
| 106 |
+
tokenizer: {
|
| 107 |
+
root: [
|
| 108 |
+
// comment
|
| 109 |
+
[/^(\s*)(comment:?(?:\s.*|))$/, ["", "comment"]],
|
| 110 |
+
// special identifier cases
|
| 111 |
+
[
|
| 112 |
+
/"/,
|
| 113 |
+
{
|
| 114 |
+
token: "identifier.quote",
|
| 115 |
+
bracket: "@open",
|
| 116 |
+
next: "@quoted_identifier"
|
| 117 |
+
}
|
| 118 |
+
],
|
| 119 |
+
[
|
| 120 |
+
"LEX$",
|
| 121 |
+
{
|
| 122 |
+
token: "keyword",
|
| 123 |
+
bracket: "@open",
|
| 124 |
+
next: "@identifier_until_period"
|
| 125 |
+
}
|
| 126 |
+
],
|
| 127 |
+
["LEXON", { token: "keyword", bracket: "@open", next: "@semver" }],
|
| 128 |
+
[
|
| 129 |
+
":",
|
| 130 |
+
{
|
| 131 |
+
token: "delimiter",
|
| 132 |
+
bracket: "@open",
|
| 133 |
+
next: "@identifier_until_period"
|
| 134 |
+
}
|
| 135 |
+
],
|
| 136 |
+
// identifiers and keywords
|
| 137 |
+
[
|
| 138 |
+
/[a-z_$][\w$]*/,
|
| 139 |
+
{
|
| 140 |
+
cases: {
|
| 141 |
+
"@operators": "operator",
|
| 142 |
+
"@typeKeywords": "keyword.type",
|
| 143 |
+
"@keywords": "keyword",
|
| 144 |
+
"@default": "identifier"
|
| 145 |
+
}
|
| 146 |
+
}
|
| 147 |
+
],
|
| 148 |
+
// whitespace
|
| 149 |
+
{ include: "@whitespace" },
|
| 150 |
+
// delimiters and operators
|
| 151 |
+
[/[{}()\[\]]/, "@brackets"],
|
| 152 |
+
[/[<>](?!@symbols)/, "@brackets"],
|
| 153 |
+
[/@symbols/, "delimiter"],
|
| 154 |
+
// numbers
|
| 155 |
+
[/\d*\.\d*\.\d*/, "number.semver"],
|
| 156 |
+
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
| 157 |
+
[/0[xX][0-9a-fA-F]+/, "number.hex"],
|
| 158 |
+
[/\d+/, "number"],
|
| 159 |
+
// delimiter: after number because of .\d floats
|
| 160 |
+
[/[;,.]/, "delimiter"]
|
| 161 |
+
],
|
| 162 |
+
quoted_identifier: [
|
| 163 |
+
[/[^\\"]+/, "identifier"],
|
| 164 |
+
[/"/, { token: "identifier.quote", bracket: "@close", next: "@pop" }]
|
| 165 |
+
],
|
| 166 |
+
space_identifier_until_period: [
|
| 167 |
+
[":", "delimiter"],
|
| 168 |
+
[" ", { token: "white", next: "@identifier_rest" }]
|
| 169 |
+
],
|
| 170 |
+
identifier_until_period: [
|
| 171 |
+
{ include: "@whitespace" },
|
| 172 |
+
[":", { token: "delimiter", next: "@identifier_rest" }],
|
| 173 |
+
[/[^\\.]+/, "identifier"],
|
| 174 |
+
[/\./, { token: "delimiter", bracket: "@close", next: "@pop" }]
|
| 175 |
+
],
|
| 176 |
+
identifier_rest: [
|
| 177 |
+
[/[^\\.]+/, "identifier"],
|
| 178 |
+
[/\./, { token: "delimiter", bracket: "@close", next: "@pop" }]
|
| 179 |
+
],
|
| 180 |
+
semver: [
|
| 181 |
+
{ include: "@whitespace" },
|
| 182 |
+
[":", "delimiter"],
|
| 183 |
+
[/\d*\.\d*\.\d*/, { token: "number.semver", bracket: "@close", next: "@pop" }]
|
| 184 |
+
],
|
| 185 |
+
whitespace: [[/[ \t\r\n]+/, "white"]]
|
| 186 |
+
}
|
| 187 |
+
};
|
| 188 |
+
return __toCommonJS(lexon_exports);
|
| 189 |
+
})();
|
| 190 |
+
return moduleExports;
|
| 191 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/liquid/liquid.js
ADDED
|
@@ -0,0 +1,302 @@
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/liquid/liquid", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __create = Object.create;
|
| 11 |
+
var __defProp = Object.defineProperty;
|
| 12 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 13 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 14 |
+
var __getProtoOf = Object.getPrototypeOf;
|
| 15 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 16 |
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
| 17 |
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
| 18 |
+
}) : x)(function(x) {
|
| 19 |
+
if (typeof require !== "undefined")
|
| 20 |
+
return require.apply(this, arguments);
|
| 21 |
+
throw Error('Dynamic require of "' + x + '" is not supported');
|
| 22 |
+
});
|
| 23 |
+
var __commonJS = (cb, mod) => function __require2() {
|
| 24 |
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
| 25 |
+
};
|
| 26 |
+
var __export = (target, all) => {
|
| 27 |
+
for (var name in all)
|
| 28 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 29 |
+
};
|
| 30 |
+
var __copyProps = (to, from, except, desc) => {
|
| 31 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 32 |
+
for (let key of __getOwnPropNames(from))
|
| 33 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 34 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 35 |
+
}
|
| 36 |
+
return to;
|
| 37 |
+
};
|
| 38 |
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
| 39 |
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
| 40 |
+
// If the importer is in node compatibility mode or this is not an ESM
|
| 41 |
+
// file that has been converted to a CommonJS file using a Babel-
|
| 42 |
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
| 43 |
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
| 44 |
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
| 45 |
+
mod
|
| 46 |
+
));
|
| 47 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 48 |
+
|
| 49 |
+
// src/fillers/monaco-editor-core-amd.ts
|
| 50 |
+
var require_monaco_editor_core_amd = __commonJS({
|
| 51 |
+
"src/fillers/monaco-editor-core-amd.ts"(exports, module) {
|
| 52 |
+
var api = __toESM(__require("vs/editor/editor.api"));
|
| 53 |
+
module.exports = api;
|
| 54 |
+
}
|
| 55 |
+
});
|
| 56 |
+
|
| 57 |
+
// src/basic-languages/liquid/liquid.ts
|
| 58 |
+
var liquid_exports = {};
|
| 59 |
+
__export(liquid_exports, {
|
| 60 |
+
conf: () => conf,
|
| 61 |
+
language: () => language
|
| 62 |
+
});
|
| 63 |
+
|
| 64 |
+
// src/fillers/monaco-editor-core.ts
|
| 65 |
+
var monaco_editor_core_exports = {};
|
| 66 |
+
__reExport(monaco_editor_core_exports, __toESM(require_monaco_editor_core_amd()));
|
| 67 |
+
|
| 68 |
+
// src/basic-languages/liquid/liquid.ts
|
| 69 |
+
var EMPTY_ELEMENTS = [
|
| 70 |
+
"area",
|
| 71 |
+
"base",
|
| 72 |
+
"br",
|
| 73 |
+
"col",
|
| 74 |
+
"embed",
|
| 75 |
+
"hr",
|
| 76 |
+
"img",
|
| 77 |
+
"input",
|
| 78 |
+
"keygen",
|
| 79 |
+
"link",
|
| 80 |
+
"menuitem",
|
| 81 |
+
"meta",
|
| 82 |
+
"param",
|
| 83 |
+
"source",
|
| 84 |
+
"track",
|
| 85 |
+
"wbr"
|
| 86 |
+
];
|
| 87 |
+
var conf = {
|
| 88 |
+
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,
|
| 89 |
+
brackets: [
|
| 90 |
+
["<!--", "-->"],
|
| 91 |
+
["<", ">"],
|
| 92 |
+
["{{", "}}"],
|
| 93 |
+
["{%", "%}"],
|
| 94 |
+
["{", "}"],
|
| 95 |
+
["(", ")"]
|
| 96 |
+
],
|
| 97 |
+
autoClosingPairs: [
|
| 98 |
+
{ open: "{", close: "}" },
|
| 99 |
+
{ open: "%", close: "%" },
|
| 100 |
+
{ open: "[", close: "]" },
|
| 101 |
+
{ open: "(", close: ")" },
|
| 102 |
+
{ open: '"', close: '"' },
|
| 103 |
+
{ open: "'", close: "'" }
|
| 104 |
+
],
|
| 105 |
+
surroundingPairs: [
|
| 106 |
+
{ open: "<", close: ">" },
|
| 107 |
+
{ open: '"', close: '"' },
|
| 108 |
+
{ open: "'", close: "'" }
|
| 109 |
+
],
|
| 110 |
+
onEnterRules: [
|
| 111 |
+
{
|
| 112 |
+
beforeText: new RegExp(
|
| 113 |
+
`<(?!(?:${EMPTY_ELEMENTS.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,
|
| 114 |
+
"i"
|
| 115 |
+
),
|
| 116 |
+
afterText: /^<\/(\w[\w\d]*)\s*>$/i,
|
| 117 |
+
action: {
|
| 118 |
+
indentAction: monaco_editor_core_exports.languages.IndentAction.IndentOutdent
|
| 119 |
+
}
|
| 120 |
+
},
|
| 121 |
+
{
|
| 122 |
+
beforeText: new RegExp(
|
| 123 |
+
`<(?!(?:${EMPTY_ELEMENTS.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,
|
| 124 |
+
"i"
|
| 125 |
+
),
|
| 126 |
+
action: { indentAction: monaco_editor_core_exports.languages.IndentAction.Indent }
|
| 127 |
+
}
|
| 128 |
+
]
|
| 129 |
+
};
|
| 130 |
+
var language = {
|
| 131 |
+
defaultToken: "",
|
| 132 |
+
tokenPostfix: "",
|
| 133 |
+
builtinTags: [
|
| 134 |
+
"if",
|
| 135 |
+
"else",
|
| 136 |
+
"elseif",
|
| 137 |
+
"endif",
|
| 138 |
+
"render",
|
| 139 |
+
"assign",
|
| 140 |
+
"capture",
|
| 141 |
+
"endcapture",
|
| 142 |
+
"case",
|
| 143 |
+
"endcase",
|
| 144 |
+
"comment",
|
| 145 |
+
"endcomment",
|
| 146 |
+
"cycle",
|
| 147 |
+
"decrement",
|
| 148 |
+
"for",
|
| 149 |
+
"endfor",
|
| 150 |
+
"include",
|
| 151 |
+
"increment",
|
| 152 |
+
"layout",
|
| 153 |
+
"raw",
|
| 154 |
+
"endraw",
|
| 155 |
+
"render",
|
| 156 |
+
"tablerow",
|
| 157 |
+
"endtablerow",
|
| 158 |
+
"unless",
|
| 159 |
+
"endunless"
|
| 160 |
+
],
|
| 161 |
+
builtinFilters: [
|
| 162 |
+
"abs",
|
| 163 |
+
"append",
|
| 164 |
+
"at_least",
|
| 165 |
+
"at_most",
|
| 166 |
+
"capitalize",
|
| 167 |
+
"ceil",
|
| 168 |
+
"compact",
|
| 169 |
+
"date",
|
| 170 |
+
"default",
|
| 171 |
+
"divided_by",
|
| 172 |
+
"downcase",
|
| 173 |
+
"escape",
|
| 174 |
+
"escape_once",
|
| 175 |
+
"first",
|
| 176 |
+
"floor",
|
| 177 |
+
"join",
|
| 178 |
+
"json",
|
| 179 |
+
"last",
|
| 180 |
+
"lstrip",
|
| 181 |
+
"map",
|
| 182 |
+
"minus",
|
| 183 |
+
"modulo",
|
| 184 |
+
"newline_to_br",
|
| 185 |
+
"plus",
|
| 186 |
+
"prepend",
|
| 187 |
+
"remove",
|
| 188 |
+
"remove_first",
|
| 189 |
+
"replace",
|
| 190 |
+
"replace_first",
|
| 191 |
+
"reverse",
|
| 192 |
+
"round",
|
| 193 |
+
"rstrip",
|
| 194 |
+
"size",
|
| 195 |
+
"slice",
|
| 196 |
+
"sort",
|
| 197 |
+
"sort_natural",
|
| 198 |
+
"split",
|
| 199 |
+
"strip",
|
| 200 |
+
"strip_html",
|
| 201 |
+
"strip_newlines",
|
| 202 |
+
"times",
|
| 203 |
+
"truncate",
|
| 204 |
+
"truncatewords",
|
| 205 |
+
"uniq",
|
| 206 |
+
"upcase",
|
| 207 |
+
"url_decode",
|
| 208 |
+
"url_encode",
|
| 209 |
+
"where"
|
| 210 |
+
],
|
| 211 |
+
constants: ["true", "false"],
|
| 212 |
+
operators: ["==", "!=", ">", "<", ">=", "<="],
|
| 213 |
+
symbol: /[=><!]+/,
|
| 214 |
+
identifier: /[a-zA-Z_][\w]*/,
|
| 215 |
+
tokenizer: {
|
| 216 |
+
root: [
|
| 217 |
+
[/\{\%\s*comment\s*\%\}/, "comment.start.liquid", "@comment"],
|
| 218 |
+
[/\{\{/, { token: "@rematch", switchTo: "@liquidState.root" }],
|
| 219 |
+
[/\{\%/, { token: "@rematch", switchTo: "@liquidState.root" }],
|
| 220 |
+
[/(<)([\w\-]+)(\/>)/, ["delimiter.html", "tag.html", "delimiter.html"]],
|
| 221 |
+
[/(<)([:\w]+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
|
| 222 |
+
[/(<\/)([\w\-]+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
|
| 223 |
+
[/</, "delimiter.html"],
|
| 224 |
+
[/\{/, "delimiter.html"],
|
| 225 |
+
[/[^<{]+/]
|
| 226 |
+
// text
|
| 227 |
+
],
|
| 228 |
+
comment: [
|
| 229 |
+
[/\{\%\s*endcomment\s*\%\}/, "comment.end.liquid", "@pop"],
|
| 230 |
+
[/./, "comment.content.liquid"]
|
| 231 |
+
],
|
| 232 |
+
otherTag: [
|
| 233 |
+
[
|
| 234 |
+
/\{\{/,
|
| 235 |
+
{
|
| 236 |
+
token: "@rematch",
|
| 237 |
+
switchTo: "@liquidState.otherTag"
|
| 238 |
+
}
|
| 239 |
+
],
|
| 240 |
+
[
|
| 241 |
+
/\{\%/,
|
| 242 |
+
{
|
| 243 |
+
token: "@rematch",
|
| 244 |
+
switchTo: "@liquidState.otherTag"
|
| 245 |
+
}
|
| 246 |
+
],
|
| 247 |
+
[/\/?>/, "delimiter.html", "@pop"],
|
| 248 |
+
[/"([^"]*)"/, "attribute.value"],
|
| 249 |
+
[/'([^']*)'/, "attribute.value"],
|
| 250 |
+
[/[\w\-]+/, "attribute.name"],
|
| 251 |
+
[/=/, "delimiter"],
|
| 252 |
+
[/[ \t\r\n]+/]
|
| 253 |
+
// whitespace
|
| 254 |
+
],
|
| 255 |
+
liquidState: [
|
| 256 |
+
[/\{\{/, "delimiter.output.liquid"],
|
| 257 |
+
[/\}\}/, { token: "delimiter.output.liquid", switchTo: "@$S2.$S3" }],
|
| 258 |
+
[/\{\%/, "delimiter.tag.liquid"],
|
| 259 |
+
[/raw\s*\%\}/, "delimiter.tag.liquid", "@liquidRaw"],
|
| 260 |
+
[/\%\}/, { token: "delimiter.tag.liquid", switchTo: "@$S2.$S3" }],
|
| 261 |
+
{ include: "liquidRoot" }
|
| 262 |
+
],
|
| 263 |
+
liquidRaw: [
|
| 264 |
+
[/^(?!\{\%\s*endraw\s*\%\}).+/],
|
| 265 |
+
[/\{\%/, "delimiter.tag.liquid"],
|
| 266 |
+
[/@identifier/],
|
| 267 |
+
[/\%\}/, { token: "delimiter.tag.liquid", next: "@root" }]
|
| 268 |
+
],
|
| 269 |
+
liquidRoot: [
|
| 270 |
+
[/\d+(\.\d+)?/, "number.liquid"],
|
| 271 |
+
[/"[^"]*"/, "string.liquid"],
|
| 272 |
+
[/'[^']*'/, "string.liquid"],
|
| 273 |
+
[/\s+/],
|
| 274 |
+
[
|
| 275 |
+
/@symbol/,
|
| 276 |
+
{
|
| 277 |
+
cases: {
|
| 278 |
+
"@operators": "operator.liquid",
|
| 279 |
+
"@default": ""
|
| 280 |
+
}
|
| 281 |
+
}
|
| 282 |
+
],
|
| 283 |
+
[/\./],
|
| 284 |
+
[
|
| 285 |
+
/@identifier/,
|
| 286 |
+
{
|
| 287 |
+
cases: {
|
| 288 |
+
"@constants": "keyword.liquid",
|
| 289 |
+
"@builtinFilters": "predefined.liquid",
|
| 290 |
+
"@builtinTags": "predefined.liquid",
|
| 291 |
+
"@default": "variable.liquid"
|
| 292 |
+
}
|
| 293 |
+
}
|
| 294 |
+
],
|
| 295 |
+
[/[^}|%]/, "variable.liquid"]
|
| 296 |
+
]
|
| 297 |
+
}
|
| 298 |
+
};
|
| 299 |
+
return __toCommonJS(liquid_exports);
|
| 300 |
+
})();
|
| 301 |
+
return moduleExports;
|
| 302 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/lua/lua.js
ADDED
|
@@ -0,0 +1,196 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/lua/lua", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/lua/lua.ts
|
| 29 |
+
var lua_exports = {};
|
| 30 |
+
__export(lua_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
comments: {
|
| 36 |
+
lineComment: "--",
|
| 37 |
+
blockComment: ["--[[", "]]"]
|
| 38 |
+
},
|
| 39 |
+
brackets: [
|
| 40 |
+
["{", "}"],
|
| 41 |
+
["[", "]"],
|
| 42 |
+
["(", ")"]
|
| 43 |
+
],
|
| 44 |
+
autoClosingPairs: [
|
| 45 |
+
{ open: "{", close: "}" },
|
| 46 |
+
{ open: "[", close: "]" },
|
| 47 |
+
{ open: "(", close: ")" },
|
| 48 |
+
{ open: '"', close: '"' },
|
| 49 |
+
{ open: "'", close: "'" }
|
| 50 |
+
],
|
| 51 |
+
surroundingPairs: [
|
| 52 |
+
{ open: "{", close: "}" },
|
| 53 |
+
{ open: "[", close: "]" },
|
| 54 |
+
{ open: "(", close: ")" },
|
| 55 |
+
{ open: '"', close: '"' },
|
| 56 |
+
{ open: "'", close: "'" }
|
| 57 |
+
]
|
| 58 |
+
};
|
| 59 |
+
var language = {
|
| 60 |
+
defaultToken: "",
|
| 61 |
+
tokenPostfix: ".lua",
|
| 62 |
+
keywords: [
|
| 63 |
+
"and",
|
| 64 |
+
"break",
|
| 65 |
+
"do",
|
| 66 |
+
"else",
|
| 67 |
+
"elseif",
|
| 68 |
+
"end",
|
| 69 |
+
"false",
|
| 70 |
+
"for",
|
| 71 |
+
"function",
|
| 72 |
+
"goto",
|
| 73 |
+
"if",
|
| 74 |
+
"in",
|
| 75 |
+
"local",
|
| 76 |
+
"nil",
|
| 77 |
+
"not",
|
| 78 |
+
"or",
|
| 79 |
+
"repeat",
|
| 80 |
+
"return",
|
| 81 |
+
"then",
|
| 82 |
+
"true",
|
| 83 |
+
"until",
|
| 84 |
+
"while"
|
| 85 |
+
],
|
| 86 |
+
brackets: [
|
| 87 |
+
{ token: "delimiter.bracket", open: "{", close: "}" },
|
| 88 |
+
{ token: "delimiter.array", open: "[", close: "]" },
|
| 89 |
+
{ token: "delimiter.parenthesis", open: "(", close: ")" }
|
| 90 |
+
],
|
| 91 |
+
operators: [
|
| 92 |
+
"+",
|
| 93 |
+
"-",
|
| 94 |
+
"*",
|
| 95 |
+
"/",
|
| 96 |
+
"%",
|
| 97 |
+
"^",
|
| 98 |
+
"#",
|
| 99 |
+
"==",
|
| 100 |
+
"~=",
|
| 101 |
+
"<=",
|
| 102 |
+
">=",
|
| 103 |
+
"<",
|
| 104 |
+
">",
|
| 105 |
+
"=",
|
| 106 |
+
";",
|
| 107 |
+
":",
|
| 108 |
+
",",
|
| 109 |
+
".",
|
| 110 |
+
"..",
|
| 111 |
+
"..."
|
| 112 |
+
],
|
| 113 |
+
// we include these common regular expressions
|
| 114 |
+
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
| 115 |
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
| 116 |
+
// The main tokenizer for our languages
|
| 117 |
+
tokenizer: {
|
| 118 |
+
root: [
|
| 119 |
+
// identifiers and keywords
|
| 120 |
+
[
|
| 121 |
+
/[a-zA-Z_]\w*/,
|
| 122 |
+
{
|
| 123 |
+
cases: {
|
| 124 |
+
"@keywords": { token: "keyword.$0" },
|
| 125 |
+
"@default": "identifier"
|
| 126 |
+
}
|
| 127 |
+
}
|
| 128 |
+
],
|
| 129 |
+
// whitespace
|
| 130 |
+
{ include: "@whitespace" },
|
| 131 |
+
// keys
|
| 132 |
+
[/(,)(\s*)([a-zA-Z_]\w*)(\s*)(:)(?!:)/, ["delimiter", "", "key", "", "delimiter"]],
|
| 133 |
+
[/({)(\s*)([a-zA-Z_]\w*)(\s*)(:)(?!:)/, ["@brackets", "", "key", "", "delimiter"]],
|
| 134 |
+
// delimiters and operators
|
| 135 |
+
[/[{}()\[\]]/, "@brackets"],
|
| 136 |
+
[
|
| 137 |
+
/@symbols/,
|
| 138 |
+
{
|
| 139 |
+
cases: {
|
| 140 |
+
"@operators": "delimiter",
|
| 141 |
+
"@default": ""
|
| 142 |
+
}
|
| 143 |
+
}
|
| 144 |
+
],
|
| 145 |
+
// numbers
|
| 146 |
+
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
| 147 |
+
[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/, "number.hex"],
|
| 148 |
+
[/\d+?/, "number"],
|
| 149 |
+
// delimiter: after number because of .\d floats
|
| 150 |
+
[/[;,.]/, "delimiter"],
|
| 151 |
+
// strings: recover on non-terminated strings
|
| 152 |
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
| 153 |
+
// non-teminated string
|
| 154 |
+
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
| 155 |
+
// non-teminated string
|
| 156 |
+
[/"/, "string", '@string."'],
|
| 157 |
+
[/'/, "string", "@string.'"]
|
| 158 |
+
],
|
| 159 |
+
whitespace: [
|
| 160 |
+
[/[ \t\r\n]+/, ""],
|
| 161 |
+
[/--\[([=]*)\[/, "comment", "@comment.$1"],
|
| 162 |
+
[/--.*$/, "comment"]
|
| 163 |
+
],
|
| 164 |
+
comment: [
|
| 165 |
+
[/[^\]]+/, "comment"],
|
| 166 |
+
[
|
| 167 |
+
/\]([=]*)\]/,
|
| 168 |
+
{
|
| 169 |
+
cases: {
|
| 170 |
+
"$1==$S2": { token: "comment", next: "@pop" },
|
| 171 |
+
"@default": "comment"
|
| 172 |
+
}
|
| 173 |
+
}
|
| 174 |
+
],
|
| 175 |
+
[/./, "comment"]
|
| 176 |
+
],
|
| 177 |
+
string: [
|
| 178 |
+
[/[^\\"']+/, "string"],
|
| 179 |
+
[/@escapes/, "string.escape"],
|
| 180 |
+
[/\\./, "string.escape.invalid"],
|
| 181 |
+
[
|
| 182 |
+
/["']/,
|
| 183 |
+
{
|
| 184 |
+
cases: {
|
| 185 |
+
"$#==$S2": { token: "string", next: "@pop" },
|
| 186 |
+
"@default": "string"
|
| 187 |
+
}
|
| 188 |
+
}
|
| 189 |
+
]
|
| 190 |
+
]
|
| 191 |
+
}
|
| 192 |
+
};
|
| 193 |
+
return __toCommonJS(lua_exports);
|
| 194 |
+
})();
|
| 195 |
+
return moduleExports;
|
| 196 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/m3/m3.js
ADDED
|
@@ -0,0 +1,244 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/m3/m3", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/m3/m3.ts
|
| 29 |
+
var m3_exports = {};
|
| 30 |
+
__export(m3_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
comments: {
|
| 36 |
+
blockComment: ["(*", "*)"]
|
| 37 |
+
},
|
| 38 |
+
brackets: [
|
| 39 |
+
["{", "}"],
|
| 40 |
+
["[", "]"],
|
| 41 |
+
["(", ")"]
|
| 42 |
+
],
|
| 43 |
+
autoClosingPairs: [
|
| 44 |
+
{ open: "[", close: "]" },
|
| 45 |
+
{ open: "{", close: "}" },
|
| 46 |
+
{ open: "(", close: ")" },
|
| 47 |
+
{ open: "(*", close: "*)" },
|
| 48 |
+
{ open: "<*", close: "*>" },
|
| 49 |
+
{ open: "'", close: "'", notIn: ["string", "comment"] },
|
| 50 |
+
{ open: '"', close: '"', notIn: ["string", "comment"] }
|
| 51 |
+
]
|
| 52 |
+
};
|
| 53 |
+
var language = {
|
| 54 |
+
defaultToken: "",
|
| 55 |
+
tokenPostfix: ".m3",
|
| 56 |
+
brackets: [
|
| 57 |
+
{ token: "delimiter.curly", open: "{", close: "}" },
|
| 58 |
+
{ token: "delimiter.parenthesis", open: "(", close: ")" },
|
| 59 |
+
{ token: "delimiter.square", open: "[", close: "]" }
|
| 60 |
+
],
|
| 61 |
+
keywords: [
|
| 62 |
+
"AND",
|
| 63 |
+
"ANY",
|
| 64 |
+
"ARRAY",
|
| 65 |
+
"AS",
|
| 66 |
+
"BEGIN",
|
| 67 |
+
"BITS",
|
| 68 |
+
"BRANDED",
|
| 69 |
+
"BY",
|
| 70 |
+
"CASE",
|
| 71 |
+
"CONST",
|
| 72 |
+
"DIV",
|
| 73 |
+
"DO",
|
| 74 |
+
"ELSE",
|
| 75 |
+
"ELSIF",
|
| 76 |
+
"END",
|
| 77 |
+
"EVAL",
|
| 78 |
+
"EXCEPT",
|
| 79 |
+
"EXCEPTION",
|
| 80 |
+
"EXIT",
|
| 81 |
+
"EXPORTS",
|
| 82 |
+
"FINALLY",
|
| 83 |
+
"FOR",
|
| 84 |
+
"FROM",
|
| 85 |
+
"GENERIC",
|
| 86 |
+
"IF",
|
| 87 |
+
"IMPORT",
|
| 88 |
+
"IN",
|
| 89 |
+
"INTERFACE",
|
| 90 |
+
"LOCK",
|
| 91 |
+
"LOOP",
|
| 92 |
+
"METHODS",
|
| 93 |
+
"MOD",
|
| 94 |
+
"MODULE",
|
| 95 |
+
"NOT",
|
| 96 |
+
"OBJECT",
|
| 97 |
+
"OF",
|
| 98 |
+
"OR",
|
| 99 |
+
"OVERRIDES",
|
| 100 |
+
"PROCEDURE",
|
| 101 |
+
"RAISE",
|
| 102 |
+
"RAISES",
|
| 103 |
+
"READONLY",
|
| 104 |
+
"RECORD",
|
| 105 |
+
"REF",
|
| 106 |
+
"REPEAT",
|
| 107 |
+
"RETURN",
|
| 108 |
+
"REVEAL",
|
| 109 |
+
"SET",
|
| 110 |
+
"THEN",
|
| 111 |
+
"TO",
|
| 112 |
+
"TRY",
|
| 113 |
+
"TYPE",
|
| 114 |
+
"TYPECASE",
|
| 115 |
+
"UNSAFE",
|
| 116 |
+
"UNTIL",
|
| 117 |
+
"UNTRACED",
|
| 118 |
+
"VALUE",
|
| 119 |
+
"VAR",
|
| 120 |
+
"WHILE",
|
| 121 |
+
"WITH"
|
| 122 |
+
],
|
| 123 |
+
reservedConstNames: [
|
| 124 |
+
"ABS",
|
| 125 |
+
"ADR",
|
| 126 |
+
"ADRSIZE",
|
| 127 |
+
"BITSIZE",
|
| 128 |
+
"BYTESIZE",
|
| 129 |
+
"CEILING",
|
| 130 |
+
"DEC",
|
| 131 |
+
"DISPOSE",
|
| 132 |
+
"FALSE",
|
| 133 |
+
"FIRST",
|
| 134 |
+
"FLOAT",
|
| 135 |
+
"FLOOR",
|
| 136 |
+
"INC",
|
| 137 |
+
"ISTYPE",
|
| 138 |
+
"LAST",
|
| 139 |
+
"LOOPHOLE",
|
| 140 |
+
"MAX",
|
| 141 |
+
"MIN",
|
| 142 |
+
"NARROW",
|
| 143 |
+
"NEW",
|
| 144 |
+
"NIL",
|
| 145 |
+
"NUMBER",
|
| 146 |
+
"ORD",
|
| 147 |
+
"ROUND",
|
| 148 |
+
"SUBARRAY",
|
| 149 |
+
"TRUE",
|
| 150 |
+
"TRUNC",
|
| 151 |
+
"TYPECODE",
|
| 152 |
+
"VAL"
|
| 153 |
+
],
|
| 154 |
+
reservedTypeNames: [
|
| 155 |
+
"ADDRESS",
|
| 156 |
+
"ANY",
|
| 157 |
+
"BOOLEAN",
|
| 158 |
+
"CARDINAL",
|
| 159 |
+
"CHAR",
|
| 160 |
+
"EXTENDED",
|
| 161 |
+
"INTEGER",
|
| 162 |
+
"LONGCARD",
|
| 163 |
+
"LONGINT",
|
| 164 |
+
"LONGREAL",
|
| 165 |
+
"MUTEX",
|
| 166 |
+
"NULL",
|
| 167 |
+
"REAL",
|
| 168 |
+
"REFANY",
|
| 169 |
+
"ROOT",
|
| 170 |
+
"TEXT"
|
| 171 |
+
],
|
| 172 |
+
operators: ["+", "-", "*", "/", "&", "^", "."],
|
| 173 |
+
relations: ["=", "#", "<", "<=", ">", ">=", "<:", ":"],
|
| 174 |
+
delimiters: ["|", "..", "=>", ",", ";", ":="],
|
| 175 |
+
symbols: /[>=<#.,:;+\-*/&^]+/,
|
| 176 |
+
escapes: /\\(?:[\\fnrt"']|[0-7]{3})/,
|
| 177 |
+
tokenizer: {
|
| 178 |
+
root: [
|
| 179 |
+
// Identifiers and keywords
|
| 180 |
+
[/_\w*/, "invalid"],
|
| 181 |
+
[
|
| 182 |
+
/[a-zA-Z][a-zA-Z0-9_]*/,
|
| 183 |
+
{
|
| 184 |
+
cases: {
|
| 185 |
+
"@keywords": { token: "keyword.$0" },
|
| 186 |
+
"@reservedConstNames": { token: "constant.reserved.$0" },
|
| 187 |
+
"@reservedTypeNames": { token: "type.reserved.$0" },
|
| 188 |
+
"@default": "identifier"
|
| 189 |
+
}
|
| 190 |
+
}
|
| 191 |
+
],
|
| 192 |
+
// Whitespace
|
| 193 |
+
{ include: "@whitespace" },
|
| 194 |
+
[/[{}()\[\]]/, "@brackets"],
|
| 195 |
+
// Integer- and real literals
|
| 196 |
+
[/[0-9]+\.[0-9]+(?:[DdEeXx][\+\-]?[0-9]+)?/, "number.float"],
|
| 197 |
+
[/[0-9]+(?:\_[0-9a-fA-F]+)?L?/, "number"],
|
| 198 |
+
// Operators, relations, and delimiters
|
| 199 |
+
[
|
| 200 |
+
/@symbols/,
|
| 201 |
+
{
|
| 202 |
+
cases: {
|
| 203 |
+
"@operators": "operators",
|
| 204 |
+
"@relations": "operators",
|
| 205 |
+
"@delimiters": "delimiter",
|
| 206 |
+
"@default": "invalid"
|
| 207 |
+
}
|
| 208 |
+
}
|
| 209 |
+
],
|
| 210 |
+
// Character literals
|
| 211 |
+
[/'[^\\']'/, "string.char"],
|
| 212 |
+
[/(')(@escapes)(')/, ["string.char", "string.escape", "string.char"]],
|
| 213 |
+
[/'/, "invalid"],
|
| 214 |
+
// Text literals
|
| 215 |
+
[/"([^"\\]|\\.)*$/, "invalid"],
|
| 216 |
+
[/"/, "string.text", "@text"]
|
| 217 |
+
],
|
| 218 |
+
text: [
|
| 219 |
+
[/[^\\"]+/, "string.text"],
|
| 220 |
+
[/@escapes/, "string.escape"],
|
| 221 |
+
[/\\./, "invalid"],
|
| 222 |
+
[/"/, "string.text", "@pop"]
|
| 223 |
+
],
|
| 224 |
+
comment: [
|
| 225 |
+
[/\(\*/, "comment", "@push"],
|
| 226 |
+
[/\*\)/, "comment", "@pop"],
|
| 227 |
+
[/./, "comment"]
|
| 228 |
+
],
|
| 229 |
+
pragma: [
|
| 230 |
+
[/<\*/, "keyword.pragma", "@push"],
|
| 231 |
+
[/\*>/, "keyword.pragma", "@pop"],
|
| 232 |
+
[/./, "keyword.pragma"]
|
| 233 |
+
],
|
| 234 |
+
whitespace: [
|
| 235 |
+
[/[ \t\r\n]+/, "white"],
|
| 236 |
+
[/\(\*/, "comment", "@comment"],
|
| 237 |
+
[/<\*/, "keyword.pragma", "@pragma"]
|
| 238 |
+
]
|
| 239 |
+
}
|
| 240 |
+
};
|
| 241 |
+
return __toCommonJS(m3_exports);
|
| 242 |
+
})();
|
| 243 |
+
return moduleExports;
|
| 244 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_mod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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/markdown/markdown", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/markdown/markdown.ts
|
| 29 |
+
var markdown_exports = {};
|
| 30 |
+
__export(markdown_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
comments: {
|
| 36 |
+
blockComment: ["<!--", "-->"]
|
| 37 |
+
},
|
| 38 |
+
brackets: [
|
| 39 |
+
["{", "}"],
|
| 40 |
+
["[", "]"],
|
| 41 |
+
["(", ")"]
|
| 42 |
+
],
|
| 43 |
+
autoClosingPairs: [
|
| 44 |
+
{ open: "{", close: "}" },
|
| 45 |
+
{ open: "[", close: "]" },
|
| 46 |
+
{ open: "(", close: ")" },
|
| 47 |
+
{ open: "<", close: ">", notIn: ["string"] }
|
| 48 |
+
],
|
| 49 |
+
surroundingPairs: [
|
| 50 |
+
{ open: "(", close: ")" },
|
| 51 |
+
{ open: "[", close: "]" },
|
| 52 |
+
{ open: "`", close: "`" }
|
| 53 |
+
],
|
| 54 |
+
folding: {
|
| 55 |
+
markers: {
|
| 56 |
+
start: new RegExp("^\\s*<!--\\s*#?region\\b.*-->"),
|
| 57 |
+
end: new RegExp("^\\s*<!--\\s*#?endregion\\b.*-->")
|
| 58 |
+
}
|
| 59 |
+
}
|
| 60 |
+
};
|
| 61 |
+
var language = {
|
| 62 |
+
defaultToken: "",
|
| 63 |
+
tokenPostfix: ".md",
|
| 64 |
+
// escape codes
|
| 65 |
+
control: /[\\`*_\[\]{}()#+\-\.!]/,
|
| 66 |
+
noncontrol: /[^\\`*_\[\]{}()#+\-\.!]/,
|
| 67 |
+
escapes: /\\(?:@control)/,
|
| 68 |
+
// escape codes for javascript/CSS strings
|
| 69 |
+
jsescapes: /\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,
|
| 70 |
+
// non matched elements
|
| 71 |
+
empty: [
|
| 72 |
+
"area",
|
| 73 |
+
"base",
|
| 74 |
+
"basefont",
|
| 75 |
+
"br",
|
| 76 |
+
"col",
|
| 77 |
+
"frame",
|
| 78 |
+
"hr",
|
| 79 |
+
"img",
|
| 80 |
+
"input",
|
| 81 |
+
"isindex",
|
| 82 |
+
"link",
|
| 83 |
+
"meta",
|
| 84 |
+
"param"
|
| 85 |
+
],
|
| 86 |
+
tokenizer: {
|
| 87 |
+
root: [
|
| 88 |
+
// markdown tables
|
| 89 |
+
[/^\s*\|/, "@rematch", "@table_header"],
|
| 90 |
+
// headers (with #)
|
| 91 |
+
[/^(\s{0,3})(#+)((?:[^\\#]|@escapes)+)((?:#+)?)/, ["white", "keyword", "keyword", "keyword"]],
|
| 92 |
+
// headers (with =)
|
| 93 |
+
[/^\s*(=+|\-+)\s*$/, "keyword"],
|
| 94 |
+
// headers (with ***)
|
| 95 |
+
[/^\s*((\*[ ]?)+)\s*$/, "meta.separator"],
|
| 96 |
+
// quote
|
| 97 |
+
[/^\s*>+/, "comment"],
|
| 98 |
+
// list (starting with * or number)
|
| 99 |
+
[/^\s*([\*\-+:]|\d+\.)\s/, "keyword"],
|
| 100 |
+
// code block (4 spaces indent)
|
| 101 |
+
[/^(\t|[ ]{4})[^ ].*$/, "string"],
|
| 102 |
+
// code block (3 tilde)
|
| 103 |
+
[/^\s*~~~\s*((?:\w|[\/\-#])+)?\s*$/, { token: "string", next: "@codeblock" }],
|
| 104 |
+
// github style code blocks (with backticks and language)
|
| 105 |
+
[
|
| 106 |
+
/^\s*```\s*((?:\w|[\/\-#])+).*$/,
|
| 107 |
+
{ token: "string", next: "@codeblockgh", nextEmbedded: "$1" }
|
| 108 |
+
],
|
| 109 |
+
// github style code blocks (with backticks but no language)
|
| 110 |
+
[/^\s*```\s*$/, { token: "string", next: "@codeblock" }],
|
| 111 |
+
// markup within lines
|
| 112 |
+
{ include: "@linecontent" }
|
| 113 |
+
],
|
| 114 |
+
table_header: [
|
| 115 |
+
{ include: "@table_common" },
|
| 116 |
+
[/[^\|]+/, "keyword.table.header"]
|
| 117 |
+
// table header
|
| 118 |
+
],
|
| 119 |
+
table_body: [{ include: "@table_common" }, { include: "@linecontent" }],
|
| 120 |
+
table_common: [
|
| 121 |
+
[/\s*[\-:]+\s*/, { token: "keyword", switchTo: "table_body" }],
|
| 122 |
+
// header-divider
|
| 123 |
+
[/^\s*\|/, "keyword.table.left"],
|
| 124 |
+
// opening |
|
| 125 |
+
[/^\s*[^\|]/, "@rematch", "@pop"],
|
| 126 |
+
// exiting
|
| 127 |
+
[/^\s*$/, "@rematch", "@pop"],
|
| 128 |
+
// exiting
|
| 129 |
+
[
|
| 130 |
+
/\|/,
|
| 131 |
+
{
|
| 132 |
+
cases: {
|
| 133 |
+
"@eos": "keyword.table.right",
|
| 134 |
+
// closing |
|
| 135 |
+
"@default": "keyword.table.middle"
|
| 136 |
+
// inner |
|
| 137 |
+
}
|
| 138 |
+
}
|
| 139 |
+
]
|
| 140 |
+
],
|
| 141 |
+
codeblock: [
|
| 142 |
+
[/^\s*~~~\s*$/, { token: "string", next: "@pop" }],
|
| 143 |
+
[/^\s*```\s*$/, { token: "string", next: "@pop" }],
|
| 144 |
+
[/.*$/, "variable.source"]
|
| 145 |
+
],
|
| 146 |
+
// github style code blocks
|
| 147 |
+
codeblockgh: [
|
| 148 |
+
[/```\s*$/, { token: "string", next: "@pop", nextEmbedded: "@pop" }],
|
| 149 |
+
[/[^`]+/, "variable.source"]
|
| 150 |
+
],
|
| 151 |
+
linecontent: [
|
| 152 |
+
// escapes
|
| 153 |
+
[/&\w+;/, "string.escape"],
|
| 154 |
+
[/@escapes/, "escape"],
|
| 155 |
+
// various markup
|
| 156 |
+
[/\b__([^\\_]|@escapes|_(?!_))+__\b/, "strong"],
|
| 157 |
+
[/\*\*([^\\*]|@escapes|\*(?!\*))+\*\*/, "strong"],
|
| 158 |
+
[/\b_[^_]+_\b/, "emphasis"],
|
| 159 |
+
[/\*([^\\*]|@escapes)+\*/, "emphasis"],
|
| 160 |
+
[/`([^\\`]|@escapes)+`/, "variable"],
|
| 161 |
+
// links
|
| 162 |
+
[/\{+[^}]+\}+/, "string.target"],
|
| 163 |
+
[/(!?\[)((?:[^\]\\]|@escapes)*)(\]\([^\)]+\))/, ["string.link", "", "string.link"]],
|
| 164 |
+
[/(!?\[)((?:[^\]\\]|@escapes)*)(\])/, "string.link"],
|
| 165 |
+
// or html
|
| 166 |
+
{ include: "html" }
|
| 167 |
+
],
|
| 168 |
+
// Note: it is tempting to rather switch to the real HTML mode instead of building our own here
|
| 169 |
+
// but currently there is a limitation in Monarch that prevents us from doing it: The opening
|
| 170 |
+
// '<' would start the HTML mode, however there is no way to jump 1 character back to let the
|
| 171 |
+
// HTML mode also tokenize the opening angle bracket. Thus, even though we could jump to HTML,
|
| 172 |
+
// we cannot correctly tokenize it in that mode yet.
|
| 173 |
+
html: [
|
| 174 |
+
// html tags
|
| 175 |
+
[/<(\w+)\/>/, "tag"],
|
| 176 |
+
[
|
| 177 |
+
/<(\w+)(\-|\w)*/,
|
| 178 |
+
{
|
| 179 |
+
cases: {
|
| 180 |
+
"@empty": { token: "tag", next: "@tag.$1" },
|
| 181 |
+
"@default": { token: "tag", next: "@tag.$1" }
|
| 182 |
+
}
|
| 183 |
+
}
|
| 184 |
+
],
|
| 185 |
+
[/<\/(\w+)(\-|\w)*\s*>/, { token: "tag" }],
|
| 186 |
+
[/<!--/, "comment", "@comment"]
|
| 187 |
+
],
|
| 188 |
+
comment: [
|
| 189 |
+
[/[^<\-]+/, "comment.content"],
|
| 190 |
+
[/-->/, "comment", "@pop"],
|
| 191 |
+
[/<!--/, "comment.content.invalid"],
|
| 192 |
+
[/[<\-]/, "comment.content"]
|
| 193 |
+
],
|
| 194 |
+
// Almost full HTML tag matching, complete with embedded scripts & styles
|
| 195 |
+
tag: [
|
| 196 |
+
[/[ \t\r\n]+/, "white"],
|
| 197 |
+
[
|
| 198 |
+
/(type)(\s*=\s*)(")([^"]+)(")/,
|
| 199 |
+
[
|
| 200 |
+
"attribute.name.html",
|
| 201 |
+
"delimiter.html",
|
| 202 |
+
"string.html",
|
| 203 |
+
{ token: "string.html", switchTo: "@tag.$S2.$4" },
|
| 204 |
+
"string.html"
|
| 205 |
+
]
|
| 206 |
+
],
|
| 207 |
+
[
|
| 208 |
+
/(type)(\s*=\s*)(')([^']+)(')/,
|
| 209 |
+
[
|
| 210 |
+
"attribute.name.html",
|
| 211 |
+
"delimiter.html",
|
| 212 |
+
"string.html",
|
| 213 |
+
{ token: "string.html", switchTo: "@tag.$S2.$4" },
|
| 214 |
+
"string.html"
|
| 215 |
+
]
|
| 216 |
+
],
|
| 217 |
+
[/(\w+)(\s*=\s*)("[^"]*"|'[^']*')/, ["attribute.name.html", "delimiter.html", "string.html"]],
|
| 218 |
+
[/\w+/, "attribute.name.html"],
|
| 219 |
+
[/\/>/, "tag", "@pop"],
|
| 220 |
+
[
|
| 221 |
+
/>/,
|
| 222 |
+
{
|
| 223 |
+
cases: {
|
| 224 |
+
"$S2==style": {
|
| 225 |
+
token: "tag",
|
| 226 |
+
switchTo: "embeddedStyle",
|
| 227 |
+
nextEmbedded: "text/css"
|
| 228 |
+
},
|
| 229 |
+
"$S2==script": {
|
| 230 |
+
cases: {
|
| 231 |
+
$S3: {
|
| 232 |
+
token: "tag",
|
| 233 |
+
switchTo: "embeddedScript",
|
| 234 |
+
nextEmbedded: "$S3"
|
| 235 |
+
},
|
| 236 |
+
"@default": {
|
| 237 |
+
token: "tag",
|
| 238 |
+
switchTo: "embeddedScript",
|
| 239 |
+
nextEmbedded: "text/javascript"
|
| 240 |
+
}
|
| 241 |
+
}
|
| 242 |
+
},
|
| 243 |
+
"@default": { token: "tag", next: "@pop" }
|
| 244 |
+
}
|
| 245 |
+
}
|
| 246 |
+
]
|
| 247 |
+
],
|
| 248 |
+
embeddedStyle: [
|
| 249 |
+
[/[^<]+/, ""],
|
| 250 |
+
[/<\/style\s*>/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }],
|
| 251 |
+
[/</, ""]
|
| 252 |
+
],
|
| 253 |
+
embeddedScript: [
|
| 254 |
+
[/[^<]+/, ""],
|
| 255 |
+
[/<\/script\s*>/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }],
|
| 256 |
+
[/</, ""]
|
| 257 |
+
]
|
| 258 |
+
}
|
| 259 |
+
};
|
| 260 |
+
return __toCommonJS(markdown_exports);
|
| 261 |
+
})();
|
| 262 |
+
return moduleExports;
|
| 263 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/mdx/mdx.js
ADDED
|
@@ -0,0 +1,226 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/mdx/mdx", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __create = Object.create;
|
| 11 |
+
var __defProp = Object.defineProperty;
|
| 12 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 13 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 14 |
+
var __getProtoOf = Object.getPrototypeOf;
|
| 15 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 16 |
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
| 17 |
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
| 18 |
+
}) : x)(function(x) {
|
| 19 |
+
if (typeof require !== "undefined")
|
| 20 |
+
return require.apply(this, arguments);
|
| 21 |
+
throw Error('Dynamic require of "' + x + '" is not supported');
|
| 22 |
+
});
|
| 23 |
+
var __commonJS = (cb, mod) => function __require2() {
|
| 24 |
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
| 25 |
+
};
|
| 26 |
+
var __export = (target, all) => {
|
| 27 |
+
for (var name in all)
|
| 28 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 29 |
+
};
|
| 30 |
+
var __copyProps = (to, from, except, desc) => {
|
| 31 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 32 |
+
for (let key of __getOwnPropNames(from))
|
| 33 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 34 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 35 |
+
}
|
| 36 |
+
return to;
|
| 37 |
+
};
|
| 38 |
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
| 39 |
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
| 40 |
+
// If the importer is in node compatibility mode or this is not an ESM
|
| 41 |
+
// file that has been converted to a CommonJS file using a Babel-
|
| 42 |
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
| 43 |
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
| 44 |
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
| 45 |
+
mod
|
| 46 |
+
));
|
| 47 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 48 |
+
|
| 49 |
+
// src/fillers/monaco-editor-core-amd.ts
|
| 50 |
+
var require_monaco_editor_core_amd = __commonJS({
|
| 51 |
+
"src/fillers/monaco-editor-core-amd.ts"(exports, module) {
|
| 52 |
+
var api = __toESM(__require("vs/editor/editor.api"));
|
| 53 |
+
module.exports = api;
|
| 54 |
+
}
|
| 55 |
+
});
|
| 56 |
+
|
| 57 |
+
// src/basic-languages/mdx/mdx.ts
|
| 58 |
+
var mdx_exports = {};
|
| 59 |
+
__export(mdx_exports, {
|
| 60 |
+
conf: () => conf,
|
| 61 |
+
language: () => language
|
| 62 |
+
});
|
| 63 |
+
|
| 64 |
+
// src/fillers/monaco-editor-core.ts
|
| 65 |
+
var monaco_editor_core_exports = {};
|
| 66 |
+
__reExport(monaco_editor_core_exports, __toESM(require_monaco_editor_core_amd()));
|
| 67 |
+
|
| 68 |
+
// src/basic-languages/mdx/mdx.ts
|
| 69 |
+
var conf = {
|
| 70 |
+
comments: {
|
| 71 |
+
blockComment: ["{/*", "*/}"]
|
| 72 |
+
},
|
| 73 |
+
brackets: [["{", "}"]],
|
| 74 |
+
autoClosingPairs: [
|
| 75 |
+
{ open: '"', close: '"' },
|
| 76 |
+
{ open: "'", close: "'" },
|
| 77 |
+
{ open: "\u201C", close: "\u201D" },
|
| 78 |
+
{ open: "\u2018", close: "\u2019" },
|
| 79 |
+
{ open: "`", close: "`" },
|
| 80 |
+
{ open: "{", close: "}" },
|
| 81 |
+
{ open: "(", close: ")" },
|
| 82 |
+
{ open: "_", close: "_" },
|
| 83 |
+
{ open: "**", close: "**" },
|
| 84 |
+
{ open: "<", close: ">" }
|
| 85 |
+
],
|
| 86 |
+
onEnterRules: [
|
| 87 |
+
{
|
| 88 |
+
beforeText: /^\s*- .+/,
|
| 89 |
+
action: { indentAction: monaco_editor_core_exports.languages.IndentAction.None, appendText: "- " }
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
beforeText: /^\s*\+ .+/,
|
| 93 |
+
action: { indentAction: monaco_editor_core_exports.languages.IndentAction.None, appendText: "+ " }
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
beforeText: /^\s*\* .+/,
|
| 97 |
+
action: { indentAction: monaco_editor_core_exports.languages.IndentAction.None, appendText: "* " }
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
beforeText: /^> /,
|
| 101 |
+
action: { indentAction: monaco_editor_core_exports.languages.IndentAction.None, appendText: "> " }
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
beforeText: /<\w+/,
|
| 105 |
+
action: { indentAction: monaco_editor_core_exports.languages.IndentAction.Indent }
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
beforeText: /\s+>\s*$/,
|
| 109 |
+
action: { indentAction: monaco_editor_core_exports.languages.IndentAction.Indent }
|
| 110 |
+
},
|
| 111 |
+
{
|
| 112 |
+
beforeText: /<\/\w+>/,
|
| 113 |
+
action: { indentAction: monaco_editor_core_exports.languages.IndentAction.Outdent }
|
| 114 |
+
},
|
| 115 |
+
...Array.from({ length: 100 }, (_, index) => ({
|
| 116 |
+
beforeText: new RegExp(`^${index}\\. .+`),
|
| 117 |
+
action: { indentAction: monaco_editor_core_exports.languages.IndentAction.None, appendText: `${index + 1}. ` }
|
| 118 |
+
}))
|
| 119 |
+
]
|
| 120 |
+
};
|
| 121 |
+
var language = {
|
| 122 |
+
defaultToken: "",
|
| 123 |
+
tokenPostfix: ".mdx",
|
| 124 |
+
control: /[!#()*+.[\\\]_`{}\-]/,
|
| 125 |
+
escapes: /\\@control/,
|
| 126 |
+
tokenizer: {
|
| 127 |
+
root: [
|
| 128 |
+
[/^---$/, { token: "meta.content", next: "@frontmatter", nextEmbedded: "yaml" }],
|
| 129 |
+
[/^\s*import/, { token: "keyword", next: "@import", nextEmbedded: "js" }],
|
| 130 |
+
[/^\s*export/, { token: "keyword", next: "@export", nextEmbedded: "js" }],
|
| 131 |
+
[/<\w+/, { token: "type.identifier", next: "@jsx" }],
|
| 132 |
+
[/<\/?\w+>/, "type.identifier"],
|
| 133 |
+
[
|
| 134 |
+
/^(\s*)(>*\s*)(#{1,6}\s)/,
|
| 135 |
+
[{ token: "white" }, { token: "comment" }, { token: "keyword", next: "@header" }]
|
| 136 |
+
],
|
| 137 |
+
[/^(\s*)(>*\s*)([*+-])(\s+)/, ["white", "comment", "keyword", "white"]],
|
| 138 |
+
[/^(\s*)(>*\s*)(\d{1,9}\.)(\s+)/, ["white", "comment", "number", "white"]],
|
| 139 |
+
[/^(\s*)(>*\s*)(\d{1,9}\.)(\s+)/, ["white", "comment", "number", "white"]],
|
| 140 |
+
[/^(\s*)(>*\s*)(-{3,}|\*{3,}|_{3,})$/, ["white", "comment", "keyword"]],
|
| 141 |
+
[/`{3,}(\s.*)?$/, { token: "string", next: "@codeblock_backtick" }],
|
| 142 |
+
[/~{3,}(\s.*)?$/, { token: "string", next: "@codeblock_tilde" }],
|
| 143 |
+
[
|
| 144 |
+
/`{3,}(\S+).*$/,
|
| 145 |
+
{ token: "string", next: "@codeblock_highlight_backtick", nextEmbedded: "$1" }
|
| 146 |
+
],
|
| 147 |
+
[
|
| 148 |
+
/~{3,}(\S+).*$/,
|
| 149 |
+
{ token: "string", next: "@codeblock_highlight_tilde", nextEmbedded: "$1" }
|
| 150 |
+
],
|
| 151 |
+
[/^(\s*)(-{4,})$/, ["white", "comment"]],
|
| 152 |
+
[/^(\s*)(>+)/, ["white", "comment"]],
|
| 153 |
+
{ include: "content" }
|
| 154 |
+
],
|
| 155 |
+
content: [
|
| 156 |
+
[
|
| 157 |
+
/(\[)(.+)(]\()(.+)(\s+".*")(\))/,
|
| 158 |
+
["", "string.link", "", "type.identifier", "string.link", ""]
|
| 159 |
+
],
|
| 160 |
+
[/(\[)(.+)(]\()(.+)(\))/, ["", "type.identifier", "", "string.link", ""]],
|
| 161 |
+
[/(\[)(.+)(]\[)(.+)(])/, ["", "type.identifier", "", "type.identifier", ""]],
|
| 162 |
+
[/(\[)(.+)(]:\s+)(\S*)/, ["", "type.identifier", "", "string.link"]],
|
| 163 |
+
[/(\[)(.+)(])/, ["", "type.identifier", ""]],
|
| 164 |
+
[/`.*`/, "variable.source"],
|
| 165 |
+
[/_/, { token: "emphasis", next: "@emphasis_underscore" }],
|
| 166 |
+
[/\*(?!\*)/, { token: "emphasis", next: "@emphasis_asterisk" }],
|
| 167 |
+
[/\*\*/, { token: "strong", next: "@strong" }],
|
| 168 |
+
[/{/, { token: "delimiter.bracket", next: "@expression", nextEmbedded: "js" }]
|
| 169 |
+
],
|
| 170 |
+
import: [[/'\s*(;|$)/, { token: "string", next: "@pop", nextEmbedded: "@pop" }]],
|
| 171 |
+
expression: [
|
| 172 |
+
[/{/, { token: "delimiter.bracket", next: "@expression" }],
|
| 173 |
+
[/}/, { token: "delimiter.bracket", next: "@pop", nextEmbedded: "@pop" }]
|
| 174 |
+
],
|
| 175 |
+
export: [[/^\s*$/, { token: "delimiter.bracket", next: "@pop", nextEmbedded: "@pop" }]],
|
| 176 |
+
jsx: [
|
| 177 |
+
[/\s+/, ""],
|
| 178 |
+
[/(\w+)(=)("(?:[^"\\]|\\.)*")/, ["attribute.name", "operator", "string"]],
|
| 179 |
+
[/(\w+)(=)('(?:[^'\\]|\\.)*')/, ["attribute.name", "operator", "string"]],
|
| 180 |
+
[/(\w+(?=\s|>|={|$))/, ["attribute.name"]],
|
| 181 |
+
[/={/, { token: "delimiter.bracket", next: "@expression", nextEmbedded: "js" }],
|
| 182 |
+
[/>/, { token: "type.identifier", next: "@pop" }]
|
| 183 |
+
],
|
| 184 |
+
header: [
|
| 185 |
+
[/.$/, { token: "keyword", next: "@pop" }],
|
| 186 |
+
{ include: "content" },
|
| 187 |
+
[/./, { token: "keyword" }]
|
| 188 |
+
],
|
| 189 |
+
strong: [
|
| 190 |
+
[/\*\*/, { token: "strong", next: "@pop" }],
|
| 191 |
+
{ include: "content" },
|
| 192 |
+
[/./, { token: "strong" }]
|
| 193 |
+
],
|
| 194 |
+
emphasis_underscore: [
|
| 195 |
+
[/_/, { token: "emphasis", next: "@pop" }],
|
| 196 |
+
{ include: "content" },
|
| 197 |
+
[/./, { token: "emphasis" }]
|
| 198 |
+
],
|
| 199 |
+
emphasis_asterisk: [
|
| 200 |
+
[/\*(?!\*)/, { token: "emphasis", next: "@pop" }],
|
| 201 |
+
{ include: "content" },
|
| 202 |
+
[/./, { token: "emphasis" }]
|
| 203 |
+
],
|
| 204 |
+
frontmatter: [[/^---$/, { token: "meta.content", nextEmbedded: "@pop", next: "@pop" }]],
|
| 205 |
+
codeblock_highlight_backtick: [
|
| 206 |
+
[/\s*`{3,}\s*$/, { token: "string", next: "@pop", nextEmbedded: "@pop" }],
|
| 207 |
+
[/.*$/, "variable.source"]
|
| 208 |
+
],
|
| 209 |
+
codeblock_highlight_tilde: [
|
| 210 |
+
[/\s*~{3,}\s*$/, { token: "string", next: "@pop", nextEmbedded: "@pop" }],
|
| 211 |
+
[/.*$/, "variable.source"]
|
| 212 |
+
],
|
| 213 |
+
codeblock_backtick: [
|
| 214 |
+
[/\s*`{3,}\s*$/, { token: "string", next: "@pop" }],
|
| 215 |
+
[/.*$/, "variable.source"]
|
| 216 |
+
],
|
| 217 |
+
codeblock_tilde: [
|
| 218 |
+
[/\s*~{3,}\s*$/, { token: "string", next: "@pop" }],
|
| 219 |
+
[/.*$/, "variable.source"]
|
| 220 |
+
]
|
| 221 |
+
}
|
| 222 |
+
};
|
| 223 |
+
return __toCommonJS(mdx_exports);
|
| 224 |
+
})();
|
| 225 |
+
return moduleExports;
|
| 226 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/mips/mips.js
ADDED
|
@@ -0,0 +1,232 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/mips/mips", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/mips/mips.ts
|
| 29 |
+
var mips_exports = {};
|
| 30 |
+
__export(mips_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
|
| 36 |
+
comments: {
|
| 37 |
+
blockComment: ["###", "###"],
|
| 38 |
+
lineComment: "#"
|
| 39 |
+
},
|
| 40 |
+
folding: {
|
| 41 |
+
markers: {
|
| 42 |
+
start: new RegExp("^\\s*#region\\b"),
|
| 43 |
+
end: new RegExp("^\\s*#endregion\\b")
|
| 44 |
+
}
|
| 45 |
+
}
|
| 46 |
+
};
|
| 47 |
+
var language = {
|
| 48 |
+
defaultToken: "",
|
| 49 |
+
ignoreCase: false,
|
| 50 |
+
tokenPostfix: ".mips",
|
| 51 |
+
regEx: /\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,
|
| 52 |
+
keywords: [
|
| 53 |
+
".data",
|
| 54 |
+
".text",
|
| 55 |
+
"syscall",
|
| 56 |
+
"trap",
|
| 57 |
+
"add",
|
| 58 |
+
"addu",
|
| 59 |
+
"addi",
|
| 60 |
+
"addiu",
|
| 61 |
+
"and",
|
| 62 |
+
"andi",
|
| 63 |
+
"div",
|
| 64 |
+
"divu",
|
| 65 |
+
"mult",
|
| 66 |
+
"multu",
|
| 67 |
+
"nor",
|
| 68 |
+
"or",
|
| 69 |
+
"ori",
|
| 70 |
+
"sll",
|
| 71 |
+
"slv",
|
| 72 |
+
"sra",
|
| 73 |
+
"srav",
|
| 74 |
+
"srl",
|
| 75 |
+
"srlv",
|
| 76 |
+
"sub",
|
| 77 |
+
"subu",
|
| 78 |
+
"xor",
|
| 79 |
+
"xori",
|
| 80 |
+
"lhi",
|
| 81 |
+
"lho",
|
| 82 |
+
"lhi",
|
| 83 |
+
"llo",
|
| 84 |
+
"slt",
|
| 85 |
+
"slti",
|
| 86 |
+
"sltu",
|
| 87 |
+
"sltiu",
|
| 88 |
+
"beq",
|
| 89 |
+
"bgtz",
|
| 90 |
+
"blez",
|
| 91 |
+
"bne",
|
| 92 |
+
"j",
|
| 93 |
+
"jal",
|
| 94 |
+
"jalr",
|
| 95 |
+
"jr",
|
| 96 |
+
"lb",
|
| 97 |
+
"lbu",
|
| 98 |
+
"lh",
|
| 99 |
+
"lhu",
|
| 100 |
+
"lw",
|
| 101 |
+
"li",
|
| 102 |
+
"la",
|
| 103 |
+
"sb",
|
| 104 |
+
"sh",
|
| 105 |
+
"sw",
|
| 106 |
+
"mfhi",
|
| 107 |
+
"mflo",
|
| 108 |
+
"mthi",
|
| 109 |
+
"mtlo",
|
| 110 |
+
"move"
|
| 111 |
+
],
|
| 112 |
+
// we include these common regular expressions
|
| 113 |
+
symbols: /[\.,\:]+/,
|
| 114 |
+
escapes: /\\(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
| 115 |
+
// The main tokenizer for our languages
|
| 116 |
+
tokenizer: {
|
| 117 |
+
root: [
|
| 118 |
+
// identifiers and keywords
|
| 119 |
+
[/\$[a-zA-Z_]\w*/, "variable.predefined"],
|
| 120 |
+
[
|
| 121 |
+
/[.a-zA-Z_]\w*/,
|
| 122 |
+
{
|
| 123 |
+
cases: {
|
| 124 |
+
this: "variable.predefined",
|
| 125 |
+
"@keywords": { token: "keyword.$0" },
|
| 126 |
+
"@default": ""
|
| 127 |
+
}
|
| 128 |
+
}
|
| 129 |
+
],
|
| 130 |
+
// whitespace
|
| 131 |
+
[/[ \t\r\n]+/, ""],
|
| 132 |
+
// Comments
|
| 133 |
+
[/#.*$/, "comment"],
|
| 134 |
+
// regular expressions
|
| 135 |
+
["///", { token: "regexp", next: "@hereregexp" }],
|
| 136 |
+
[/^(\s*)(@regEx)/, ["", "regexp"]],
|
| 137 |
+
[/(\,)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
| 138 |
+
[/(\:)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
| 139 |
+
// delimiters
|
| 140 |
+
[/@symbols/, "delimiter"],
|
| 141 |
+
// numbers
|
| 142 |
+
[/\d+[eE]([\-+]?\d+)?/, "number.float"],
|
| 143 |
+
[/\d+\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
| 144 |
+
[/0[xX][0-9a-fA-F]+/, "number.hex"],
|
| 145 |
+
[/0[0-7]+(?!\d)/, "number.octal"],
|
| 146 |
+
[/\d+/, "number"],
|
| 147 |
+
// delimiter: after number because of .\d floats
|
| 148 |
+
[/[,.]/, "delimiter"],
|
| 149 |
+
// strings:
|
| 150 |
+
[/"""/, "string", '@herestring."""'],
|
| 151 |
+
[/'''/, "string", "@herestring.'''"],
|
| 152 |
+
[
|
| 153 |
+
/"/,
|
| 154 |
+
{
|
| 155 |
+
cases: {
|
| 156 |
+
"@eos": "string",
|
| 157 |
+
"@default": { token: "string", next: '@string."' }
|
| 158 |
+
}
|
| 159 |
+
}
|
| 160 |
+
],
|
| 161 |
+
[
|
| 162 |
+
/'/,
|
| 163 |
+
{
|
| 164 |
+
cases: {
|
| 165 |
+
"@eos": "string",
|
| 166 |
+
"@default": { token: "string", next: "@string.'" }
|
| 167 |
+
}
|
| 168 |
+
}
|
| 169 |
+
]
|
| 170 |
+
],
|
| 171 |
+
string: [
|
| 172 |
+
[/[^"'\#\\]+/, "string"],
|
| 173 |
+
[/@escapes/, "string.escape"],
|
| 174 |
+
[/\./, "string.escape.invalid"],
|
| 175 |
+
[/\./, "string.escape.invalid"],
|
| 176 |
+
[
|
| 177 |
+
/#{/,
|
| 178 |
+
{
|
| 179 |
+
cases: {
|
| 180 |
+
'$S2=="': {
|
| 181 |
+
token: "string",
|
| 182 |
+
next: "root.interpolatedstring"
|
| 183 |
+
},
|
| 184 |
+
"@default": "string"
|
| 185 |
+
}
|
| 186 |
+
}
|
| 187 |
+
],
|
| 188 |
+
[
|
| 189 |
+
/["']/,
|
| 190 |
+
{
|
| 191 |
+
cases: {
|
| 192 |
+
"$#==$S2": { token: "string", next: "@pop" },
|
| 193 |
+
"@default": "string"
|
| 194 |
+
}
|
| 195 |
+
}
|
| 196 |
+
],
|
| 197 |
+
[/#/, "string"]
|
| 198 |
+
],
|
| 199 |
+
herestring: [
|
| 200 |
+
[
|
| 201 |
+
/("""|''')/,
|
| 202 |
+
{
|
| 203 |
+
cases: {
|
| 204 |
+
"$1==$S2": { token: "string", next: "@pop" },
|
| 205 |
+
"@default": "string"
|
| 206 |
+
}
|
| 207 |
+
}
|
| 208 |
+
],
|
| 209 |
+
[/[^#\\'"]+/, "string"],
|
| 210 |
+
[/['"]+/, "string"],
|
| 211 |
+
[/@escapes/, "string.escape"],
|
| 212 |
+
[/\./, "string.escape.invalid"],
|
| 213 |
+
[/#{/, { token: "string.quote", next: "root.interpolatedstring" }],
|
| 214 |
+
[/#/, "string"]
|
| 215 |
+
],
|
| 216 |
+
comment: [
|
| 217 |
+
[/[^#]+/, "comment"],
|
| 218 |
+
[/#/, "comment"]
|
| 219 |
+
],
|
| 220 |
+
hereregexp: [
|
| 221 |
+
[/[^\\\/#]+/, "regexp"],
|
| 222 |
+
[/\\./, "regexp"],
|
| 223 |
+
[/#.*$/, "comment"],
|
| 224 |
+
["///[igm]*", { token: "regexp", next: "@pop" }],
|
| 225 |
+
[/\//, "regexp"]
|
| 226 |
+
]
|
| 227 |
+
}
|
| 228 |
+
};
|
| 229 |
+
return __toCommonJS(mips_exports);
|
| 230 |
+
})();
|
| 231 |
+
return moduleExports;
|
| 232 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/msdax/msdax.js
ADDED
|
@@ -0,0 +1,409 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/msdax/msdax", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/msdax/msdax.ts
|
| 29 |
+
var msdax_exports = {};
|
| 30 |
+
__export(msdax_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
comments: {
|
| 36 |
+
lineComment: "//",
|
| 37 |
+
blockComment: ["/*", "*/"]
|
| 38 |
+
},
|
| 39 |
+
brackets: [
|
| 40 |
+
["[", "]"],
|
| 41 |
+
["(", ")"],
|
| 42 |
+
["{", "}"]
|
| 43 |
+
],
|
| 44 |
+
autoClosingPairs: [
|
| 45 |
+
{ open: '"', close: '"', notIn: ["string", "comment"] },
|
| 46 |
+
{ open: "'", close: "'", notIn: ["string", "comment"] },
|
| 47 |
+
{ open: "[", close: "]", notIn: ["string", "comment"] },
|
| 48 |
+
{ open: "(", close: ")", notIn: ["string", "comment"] },
|
| 49 |
+
{ open: "{", close: "}", notIn: ["string", "comment"] }
|
| 50 |
+
]
|
| 51 |
+
};
|
| 52 |
+
var language = {
|
| 53 |
+
defaultToken: "",
|
| 54 |
+
tokenPostfix: ".msdax",
|
| 55 |
+
ignoreCase: true,
|
| 56 |
+
brackets: [
|
| 57 |
+
{ open: "[", close: "]", token: "delimiter.square" },
|
| 58 |
+
{ open: "{", close: "}", token: "delimiter.brackets" },
|
| 59 |
+
{ open: "(", close: ")", token: "delimiter.parenthesis" }
|
| 60 |
+
],
|
| 61 |
+
keywords: [
|
| 62 |
+
// Query keywords
|
| 63 |
+
"VAR",
|
| 64 |
+
"RETURN",
|
| 65 |
+
"NOT",
|
| 66 |
+
"EVALUATE",
|
| 67 |
+
"DATATABLE",
|
| 68 |
+
"ORDER",
|
| 69 |
+
"BY",
|
| 70 |
+
"START",
|
| 71 |
+
"AT",
|
| 72 |
+
"DEFINE",
|
| 73 |
+
"MEASURE",
|
| 74 |
+
"ASC",
|
| 75 |
+
"DESC",
|
| 76 |
+
"IN",
|
| 77 |
+
// Datatable types
|
| 78 |
+
"BOOLEAN",
|
| 79 |
+
"DOUBLE",
|
| 80 |
+
"INTEGER",
|
| 81 |
+
"DATETIME",
|
| 82 |
+
"CURRENCY",
|
| 83 |
+
"STRING"
|
| 84 |
+
],
|
| 85 |
+
functions: [
|
| 86 |
+
// Relational
|
| 87 |
+
"CLOSINGBALANCEMONTH",
|
| 88 |
+
"CLOSINGBALANCEQUARTER",
|
| 89 |
+
"CLOSINGBALANCEYEAR",
|
| 90 |
+
"DATEADD",
|
| 91 |
+
"DATESBETWEEN",
|
| 92 |
+
"DATESINPERIOD",
|
| 93 |
+
"DATESMTD",
|
| 94 |
+
"DATESQTD",
|
| 95 |
+
"DATESYTD",
|
| 96 |
+
"ENDOFMONTH",
|
| 97 |
+
"ENDOFQUARTER",
|
| 98 |
+
"ENDOFYEAR",
|
| 99 |
+
"FIRSTDATE",
|
| 100 |
+
"FIRSTNONBLANK",
|
| 101 |
+
"LASTDATE",
|
| 102 |
+
"LASTNONBLANK",
|
| 103 |
+
"NEXTDAY",
|
| 104 |
+
"NEXTMONTH",
|
| 105 |
+
"NEXTQUARTER",
|
| 106 |
+
"NEXTYEAR",
|
| 107 |
+
"OPENINGBALANCEMONTH",
|
| 108 |
+
"OPENINGBALANCEQUARTER",
|
| 109 |
+
"OPENINGBALANCEYEAR",
|
| 110 |
+
"PARALLELPERIOD",
|
| 111 |
+
"PREVIOUSDAY",
|
| 112 |
+
"PREVIOUSMONTH",
|
| 113 |
+
"PREVIOUSQUARTER",
|
| 114 |
+
"PREVIOUSYEAR",
|
| 115 |
+
"SAMEPERIODLASTYEAR",
|
| 116 |
+
"STARTOFMONTH",
|
| 117 |
+
"STARTOFQUARTER",
|
| 118 |
+
"STARTOFYEAR",
|
| 119 |
+
"TOTALMTD",
|
| 120 |
+
"TOTALQTD",
|
| 121 |
+
"TOTALYTD",
|
| 122 |
+
"ADDCOLUMNS",
|
| 123 |
+
"ADDMISSINGITEMS",
|
| 124 |
+
"ALL",
|
| 125 |
+
"ALLEXCEPT",
|
| 126 |
+
"ALLNOBLANKROW",
|
| 127 |
+
"ALLSELECTED",
|
| 128 |
+
"CALCULATE",
|
| 129 |
+
"CALCULATETABLE",
|
| 130 |
+
"CALENDAR",
|
| 131 |
+
"CALENDARAUTO",
|
| 132 |
+
"CROSSFILTER",
|
| 133 |
+
"CROSSJOIN",
|
| 134 |
+
"CURRENTGROUP",
|
| 135 |
+
"DATATABLE",
|
| 136 |
+
"DETAILROWS",
|
| 137 |
+
"DISTINCT",
|
| 138 |
+
"EARLIER",
|
| 139 |
+
"EARLIEST",
|
| 140 |
+
"EXCEPT",
|
| 141 |
+
"FILTER",
|
| 142 |
+
"FILTERS",
|
| 143 |
+
"GENERATE",
|
| 144 |
+
"GENERATEALL",
|
| 145 |
+
"GROUPBY",
|
| 146 |
+
"IGNORE",
|
| 147 |
+
"INTERSECT",
|
| 148 |
+
"ISONORAFTER",
|
| 149 |
+
"KEEPFILTERS",
|
| 150 |
+
"LOOKUPVALUE",
|
| 151 |
+
"NATURALINNERJOIN",
|
| 152 |
+
"NATURALLEFTOUTERJOIN",
|
| 153 |
+
"RELATED",
|
| 154 |
+
"RELATEDTABLE",
|
| 155 |
+
"ROLLUP",
|
| 156 |
+
"ROLLUPADDISSUBTOTAL",
|
| 157 |
+
"ROLLUPGROUP",
|
| 158 |
+
"ROLLUPISSUBTOTAL",
|
| 159 |
+
"ROW",
|
| 160 |
+
"SAMPLE",
|
| 161 |
+
"SELECTCOLUMNS",
|
| 162 |
+
"SUBSTITUTEWITHINDEX",
|
| 163 |
+
"SUMMARIZE",
|
| 164 |
+
"SUMMARIZECOLUMNS",
|
| 165 |
+
"TOPN",
|
| 166 |
+
"TREATAS",
|
| 167 |
+
"UNION",
|
| 168 |
+
"USERELATIONSHIP",
|
| 169 |
+
"VALUES",
|
| 170 |
+
"SUM",
|
| 171 |
+
"SUMX",
|
| 172 |
+
"PATH",
|
| 173 |
+
"PATHCONTAINS",
|
| 174 |
+
"PATHITEM",
|
| 175 |
+
"PATHITEMREVERSE",
|
| 176 |
+
"PATHLENGTH",
|
| 177 |
+
"AVERAGE",
|
| 178 |
+
"AVERAGEA",
|
| 179 |
+
"AVERAGEX",
|
| 180 |
+
"COUNT",
|
| 181 |
+
"COUNTA",
|
| 182 |
+
"COUNTAX",
|
| 183 |
+
"COUNTBLANK",
|
| 184 |
+
"COUNTROWS",
|
| 185 |
+
"COUNTX",
|
| 186 |
+
"DISTINCTCOUNT",
|
| 187 |
+
"DIVIDE",
|
| 188 |
+
"GEOMEAN",
|
| 189 |
+
"GEOMEANX",
|
| 190 |
+
"MAX",
|
| 191 |
+
"MAXA",
|
| 192 |
+
"MAXX",
|
| 193 |
+
"MEDIAN",
|
| 194 |
+
"MEDIANX",
|
| 195 |
+
"MIN",
|
| 196 |
+
"MINA",
|
| 197 |
+
"MINX",
|
| 198 |
+
"PERCENTILE.EXC",
|
| 199 |
+
"PERCENTILE.INC",
|
| 200 |
+
"PERCENTILEX.EXC",
|
| 201 |
+
"PERCENTILEX.INC",
|
| 202 |
+
"PRODUCT",
|
| 203 |
+
"PRODUCTX",
|
| 204 |
+
"RANK.EQ",
|
| 205 |
+
"RANKX",
|
| 206 |
+
"STDEV.P",
|
| 207 |
+
"STDEV.S",
|
| 208 |
+
"STDEVX.P",
|
| 209 |
+
"STDEVX.S",
|
| 210 |
+
"VAR.P",
|
| 211 |
+
"VAR.S",
|
| 212 |
+
"VARX.P",
|
| 213 |
+
"VARX.S",
|
| 214 |
+
"XIRR",
|
| 215 |
+
"XNPV",
|
| 216 |
+
// Scalar
|
| 217 |
+
"DATE",
|
| 218 |
+
"DATEDIFF",
|
| 219 |
+
"DATEVALUE",
|
| 220 |
+
"DAY",
|
| 221 |
+
"EDATE",
|
| 222 |
+
"EOMONTH",
|
| 223 |
+
"HOUR",
|
| 224 |
+
"MINUTE",
|
| 225 |
+
"MONTH",
|
| 226 |
+
"NOW",
|
| 227 |
+
"SECOND",
|
| 228 |
+
"TIME",
|
| 229 |
+
"TIMEVALUE",
|
| 230 |
+
"TODAY",
|
| 231 |
+
"WEEKDAY",
|
| 232 |
+
"WEEKNUM",
|
| 233 |
+
"YEAR",
|
| 234 |
+
"YEARFRAC",
|
| 235 |
+
"CONTAINS",
|
| 236 |
+
"CONTAINSROW",
|
| 237 |
+
"CUSTOMDATA",
|
| 238 |
+
"ERROR",
|
| 239 |
+
"HASONEFILTER",
|
| 240 |
+
"HASONEVALUE",
|
| 241 |
+
"ISBLANK",
|
| 242 |
+
"ISCROSSFILTERED",
|
| 243 |
+
"ISEMPTY",
|
| 244 |
+
"ISERROR",
|
| 245 |
+
"ISEVEN",
|
| 246 |
+
"ISFILTERED",
|
| 247 |
+
"ISLOGICAL",
|
| 248 |
+
"ISNONTEXT",
|
| 249 |
+
"ISNUMBER",
|
| 250 |
+
"ISODD",
|
| 251 |
+
"ISSUBTOTAL",
|
| 252 |
+
"ISTEXT",
|
| 253 |
+
"USERNAME",
|
| 254 |
+
"USERPRINCIPALNAME",
|
| 255 |
+
"AND",
|
| 256 |
+
"FALSE",
|
| 257 |
+
"IF",
|
| 258 |
+
"IFERROR",
|
| 259 |
+
"NOT",
|
| 260 |
+
"OR",
|
| 261 |
+
"SWITCH",
|
| 262 |
+
"TRUE",
|
| 263 |
+
"ABS",
|
| 264 |
+
"ACOS",
|
| 265 |
+
"ACOSH",
|
| 266 |
+
"ACOT",
|
| 267 |
+
"ACOTH",
|
| 268 |
+
"ASIN",
|
| 269 |
+
"ASINH",
|
| 270 |
+
"ATAN",
|
| 271 |
+
"ATANH",
|
| 272 |
+
"BETA.DIST",
|
| 273 |
+
"BETA.INV",
|
| 274 |
+
"CEILING",
|
| 275 |
+
"CHISQ.DIST",
|
| 276 |
+
"CHISQ.DIST.RT",
|
| 277 |
+
"CHISQ.INV",
|
| 278 |
+
"CHISQ.INV.RT",
|
| 279 |
+
"COMBIN",
|
| 280 |
+
"COMBINA",
|
| 281 |
+
"CONFIDENCE.NORM",
|
| 282 |
+
"CONFIDENCE.T",
|
| 283 |
+
"COS",
|
| 284 |
+
"COSH",
|
| 285 |
+
"COT",
|
| 286 |
+
"COTH",
|
| 287 |
+
"CURRENCY",
|
| 288 |
+
"DEGREES",
|
| 289 |
+
"EVEN",
|
| 290 |
+
"EXP",
|
| 291 |
+
"EXPON.DIST",
|
| 292 |
+
"FACT",
|
| 293 |
+
"FLOOR",
|
| 294 |
+
"GCD",
|
| 295 |
+
"INT",
|
| 296 |
+
"ISO.CEILING",
|
| 297 |
+
"LCM",
|
| 298 |
+
"LN",
|
| 299 |
+
"LOG",
|
| 300 |
+
"LOG10",
|
| 301 |
+
"MOD",
|
| 302 |
+
"MROUND",
|
| 303 |
+
"ODD",
|
| 304 |
+
"PERMUT",
|
| 305 |
+
"PI",
|
| 306 |
+
"POISSON.DIST",
|
| 307 |
+
"POWER",
|
| 308 |
+
"QUOTIENT",
|
| 309 |
+
"RADIANS",
|
| 310 |
+
"RAND",
|
| 311 |
+
"RANDBETWEEN",
|
| 312 |
+
"ROUND",
|
| 313 |
+
"ROUNDDOWN",
|
| 314 |
+
"ROUNDUP",
|
| 315 |
+
"SIGN",
|
| 316 |
+
"SIN",
|
| 317 |
+
"SINH",
|
| 318 |
+
"SQRT",
|
| 319 |
+
"SQRTPI",
|
| 320 |
+
"TAN",
|
| 321 |
+
"TANH",
|
| 322 |
+
"TRUNC",
|
| 323 |
+
"BLANK",
|
| 324 |
+
"CONCATENATE",
|
| 325 |
+
"CONCATENATEX",
|
| 326 |
+
"EXACT",
|
| 327 |
+
"FIND",
|
| 328 |
+
"FIXED",
|
| 329 |
+
"FORMAT",
|
| 330 |
+
"LEFT",
|
| 331 |
+
"LEN",
|
| 332 |
+
"LOWER",
|
| 333 |
+
"MID",
|
| 334 |
+
"REPLACE",
|
| 335 |
+
"REPT",
|
| 336 |
+
"RIGHT",
|
| 337 |
+
"SEARCH",
|
| 338 |
+
"SUBSTITUTE",
|
| 339 |
+
"TRIM",
|
| 340 |
+
"UNICHAR",
|
| 341 |
+
"UNICODE",
|
| 342 |
+
"UPPER",
|
| 343 |
+
"VALUE"
|
| 344 |
+
],
|
| 345 |
+
tokenizer: {
|
| 346 |
+
root: [
|
| 347 |
+
{ include: "@comments" },
|
| 348 |
+
{ include: "@whitespace" },
|
| 349 |
+
{ include: "@numbers" },
|
| 350 |
+
{ include: "@strings" },
|
| 351 |
+
{ include: "@complexIdentifiers" },
|
| 352 |
+
[/[;,.]/, "delimiter"],
|
| 353 |
+
[/[({})]/, "@brackets"],
|
| 354 |
+
[
|
| 355 |
+
/[a-z_][a-zA-Z0-9_]*/,
|
| 356 |
+
{
|
| 357 |
+
cases: {
|
| 358 |
+
"@keywords": "keyword",
|
| 359 |
+
"@functions": "keyword",
|
| 360 |
+
"@default": "identifier"
|
| 361 |
+
}
|
| 362 |
+
}
|
| 363 |
+
],
|
| 364 |
+
[/[<>=!%&+\-*/|~^]/, "operator"]
|
| 365 |
+
],
|
| 366 |
+
whitespace: [[/\s+/, "white"]],
|
| 367 |
+
comments: [
|
| 368 |
+
[/\/\/+.*/, "comment"],
|
| 369 |
+
[/\/\*/, { token: "comment.quote", next: "@comment" }]
|
| 370 |
+
],
|
| 371 |
+
comment: [
|
| 372 |
+
[/[^*/]+/, "comment"],
|
| 373 |
+
[/\*\//, { token: "comment.quote", next: "@pop" }],
|
| 374 |
+
[/./, "comment"]
|
| 375 |
+
],
|
| 376 |
+
numbers: [
|
| 377 |
+
[/0[xX][0-9a-fA-F]*/, "number"],
|
| 378 |
+
[/[$][+-]*\d*(\.\d*)?/, "number"],
|
| 379 |
+
[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/, "number"]
|
| 380 |
+
],
|
| 381 |
+
strings: [
|
| 382 |
+
[/N"/, { token: "string", next: "@string" }],
|
| 383 |
+
[/"/, { token: "string", next: "@string" }]
|
| 384 |
+
],
|
| 385 |
+
string: [
|
| 386 |
+
[/[^"]+/, "string"],
|
| 387 |
+
[/""/, "string"],
|
| 388 |
+
[/"/, { token: "string", next: "@pop" }]
|
| 389 |
+
],
|
| 390 |
+
complexIdentifiers: [
|
| 391 |
+
[/\[/, { token: "identifier.quote", next: "@bracketedIdentifier" }],
|
| 392 |
+
[/'/, { token: "identifier.quote", next: "@quotedIdentifier" }]
|
| 393 |
+
],
|
| 394 |
+
bracketedIdentifier: [
|
| 395 |
+
[/[^\]]+/, "identifier"],
|
| 396 |
+
[/]]/, "identifier"],
|
| 397 |
+
[/]/, { token: "identifier.quote", next: "@pop" }]
|
| 398 |
+
],
|
| 399 |
+
quotedIdentifier: [
|
| 400 |
+
[/[^']+/, "identifier"],
|
| 401 |
+
[/''/, "identifier"],
|
| 402 |
+
[/'/, { token: "identifier.quote", next: "@pop" }]
|
| 403 |
+
]
|
| 404 |
+
}
|
| 405 |
+
};
|
| 406 |
+
return __toCommonJS(msdax_exports);
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/mysql/mysql", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/mysql/mysql.ts
|
| 29 |
+
var mysql_exports = {};
|
| 30 |
+
__export(mysql_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
comments: {
|
| 36 |
+
lineComment: "--",
|
| 37 |
+
blockComment: ["/*", "*/"]
|
| 38 |
+
},
|
| 39 |
+
brackets: [
|
| 40 |
+
["{", "}"],
|
| 41 |
+
["[", "]"],
|
| 42 |
+
["(", ")"]
|
| 43 |
+
],
|
| 44 |
+
autoClosingPairs: [
|
| 45 |
+
{ open: "{", close: "}" },
|
| 46 |
+
{ open: "[", close: "]" },
|
| 47 |
+
{ open: "(", close: ")" },
|
| 48 |
+
{ open: '"', close: '"' },
|
| 49 |
+
{ open: "'", close: "'" }
|
| 50 |
+
],
|
| 51 |
+
surroundingPairs: [
|
| 52 |
+
{ open: "{", close: "}" },
|
| 53 |
+
{ open: "[", close: "]" },
|
| 54 |
+
{ open: "(", close: ")" },
|
| 55 |
+
{ open: '"', close: '"' },
|
| 56 |
+
{ open: "'", close: "'" }
|
| 57 |
+
]
|
| 58 |
+
};
|
| 59 |
+
var language = {
|
| 60 |
+
defaultToken: "",
|
| 61 |
+
tokenPostfix: ".sql",
|
| 62 |
+
ignoreCase: true,
|
| 63 |
+
brackets: [
|
| 64 |
+
{ open: "[", close: "]", token: "delimiter.square" },
|
| 65 |
+
{ open: "(", close: ")", token: "delimiter.parenthesis" }
|
| 66 |
+
],
|
| 67 |
+
keywords: [
|
| 68 |
+
// This list is generated using `keywords.js`
|
| 69 |
+
"ACCESSIBLE",
|
| 70 |
+
"ADD",
|
| 71 |
+
"ALL",
|
| 72 |
+
"ALTER",
|
| 73 |
+
"ANALYZE",
|
| 74 |
+
"AND",
|
| 75 |
+
"AS",
|
| 76 |
+
"ASC",
|
| 77 |
+
"ASENSITIVE",
|
| 78 |
+
"BEFORE",
|
| 79 |
+
"BETWEEN",
|
| 80 |
+
"BIGINT",
|
| 81 |
+
"BINARY",
|
| 82 |
+
"BLOB",
|
| 83 |
+
"BOTH",
|
| 84 |
+
"BY",
|
| 85 |
+
"CALL",
|
| 86 |
+
"CASCADE",
|
| 87 |
+
"CASE",
|
| 88 |
+
"CHANGE",
|
| 89 |
+
"CHAR",
|
| 90 |
+
"CHARACTER",
|
| 91 |
+
"CHECK",
|
| 92 |
+
"COLLATE",
|
| 93 |
+
"COLUMN",
|
| 94 |
+
"CONDITION",
|
| 95 |
+
"CONSTRAINT",
|
| 96 |
+
"CONTINUE",
|
| 97 |
+
"CONVERT",
|
| 98 |
+
"CREATE",
|
| 99 |
+
"CROSS",
|
| 100 |
+
"CUBE",
|
| 101 |
+
"CUME_DIST",
|
| 102 |
+
"CURRENT_DATE",
|
| 103 |
+
"CURRENT_TIME",
|
| 104 |
+
"CURRENT_TIMESTAMP",
|
| 105 |
+
"CURRENT_USER",
|
| 106 |
+
"CURSOR",
|
| 107 |
+
"DATABASE",
|
| 108 |
+
"DATABASES",
|
| 109 |
+
"DAY_HOUR",
|
| 110 |
+
"DAY_MICROSECOND",
|
| 111 |
+
"DAY_MINUTE",
|
| 112 |
+
"DAY_SECOND",
|
| 113 |
+
"DEC",
|
| 114 |
+
"DECIMAL",
|
| 115 |
+
"DECLARE",
|
| 116 |
+
"DEFAULT",
|
| 117 |
+
"DELAYED",
|
| 118 |
+
"DELETE",
|
| 119 |
+
"DENSE_RANK",
|
| 120 |
+
"DESC",
|
| 121 |
+
"DESCRIBE",
|
| 122 |
+
"DETERMINISTIC",
|
| 123 |
+
"DISTINCT",
|
| 124 |
+
"DISTINCTROW",
|
| 125 |
+
"DIV",
|
| 126 |
+
"DOUBLE",
|
| 127 |
+
"DROP",
|
| 128 |
+
"DUAL",
|
| 129 |
+
"EACH",
|
| 130 |
+
"ELSE",
|
| 131 |
+
"ELSEIF",
|
| 132 |
+
"EMPTY",
|
| 133 |
+
"ENCLOSED",
|
| 134 |
+
"ESCAPED",
|
| 135 |
+
"EXCEPT",
|
| 136 |
+
"EXISTS",
|
| 137 |
+
"EXIT",
|
| 138 |
+
"EXPLAIN",
|
| 139 |
+
"FALSE",
|
| 140 |
+
"FETCH",
|
| 141 |
+
"FIRST_VALUE",
|
| 142 |
+
"FLOAT",
|
| 143 |
+
"FLOAT4",
|
| 144 |
+
"FLOAT8",
|
| 145 |
+
"FOR",
|
| 146 |
+
"FORCE",
|
| 147 |
+
"FOREIGN",
|
| 148 |
+
"FROM",
|
| 149 |
+
"FULLTEXT",
|
| 150 |
+
"FUNCTION",
|
| 151 |
+
"GENERATED",
|
| 152 |
+
"GET",
|
| 153 |
+
"GRANT",
|
| 154 |
+
"GROUP",
|
| 155 |
+
"GROUPING",
|
| 156 |
+
"GROUPS",
|
| 157 |
+
"HAVING",
|
| 158 |
+
"HIGH_PRIORITY",
|
| 159 |
+
"HOUR_MICROSECOND",
|
| 160 |
+
"HOUR_MINUTE",
|
| 161 |
+
"HOUR_SECOND",
|
| 162 |
+
"IF",
|
| 163 |
+
"IGNORE",
|
| 164 |
+
"IN",
|
| 165 |
+
"INDEX",
|
| 166 |
+
"INFILE",
|
| 167 |
+
"INNER",
|
| 168 |
+
"INOUT",
|
| 169 |
+
"INSENSITIVE",
|
| 170 |
+
"INSERT",
|
| 171 |
+
"INT",
|
| 172 |
+
"INT1",
|
| 173 |
+
"INT2",
|
| 174 |
+
"INT3",
|
| 175 |
+
"INT4",
|
| 176 |
+
"INT8",
|
| 177 |
+
"INTEGER",
|
| 178 |
+
"INTERVAL",
|
| 179 |
+
"INTO",
|
| 180 |
+
"IO_AFTER_GTIDS",
|
| 181 |
+
"IO_BEFORE_GTIDS",
|
| 182 |
+
"IS",
|
| 183 |
+
"ITERATE",
|
| 184 |
+
"JOIN",
|
| 185 |
+
"JSON_TABLE",
|
| 186 |
+
"KEY",
|
| 187 |
+
"KEYS",
|
| 188 |
+
"KILL",
|
| 189 |
+
"LAG",
|
| 190 |
+
"LAST_VALUE",
|
| 191 |
+
"LATERAL",
|
| 192 |
+
"LEAD",
|
| 193 |
+
"LEADING",
|
| 194 |
+
"LEAVE",
|
| 195 |
+
"LEFT",
|
| 196 |
+
"LIKE",
|
| 197 |
+
"LIMIT",
|
| 198 |
+
"LINEAR",
|
| 199 |
+
"LINES",
|
| 200 |
+
"LOAD",
|
| 201 |
+
"LOCALTIME",
|
| 202 |
+
"LOCALTIMESTAMP",
|
| 203 |
+
"LOCK",
|
| 204 |
+
"LONG",
|
| 205 |
+
"LONGBLOB",
|
| 206 |
+
"LONGTEXT",
|
| 207 |
+
"LOOP",
|
| 208 |
+
"LOW_PRIORITY",
|
| 209 |
+
"MASTER_BIND",
|
| 210 |
+
"MASTER_SSL_VERIFY_SERVER_CERT",
|
| 211 |
+
"MATCH",
|
| 212 |
+
"MAXVALUE",
|
| 213 |
+
"MEDIUMBLOB",
|
| 214 |
+
"MEDIUMINT",
|
| 215 |
+
"MEDIUMTEXT",
|
| 216 |
+
"MIDDLEINT",
|
| 217 |
+
"MINUTE_MICROSECOND",
|
| 218 |
+
"MINUTE_SECOND",
|
| 219 |
+
"MOD",
|
| 220 |
+
"MODIFIES",
|
| 221 |
+
"NATURAL",
|
| 222 |
+
"NOT",
|
| 223 |
+
"NO_WRITE_TO_BINLOG",
|
| 224 |
+
"NTH_VALUE",
|
| 225 |
+
"NTILE",
|
| 226 |
+
"NULL",
|
| 227 |
+
"NUMERIC",
|
| 228 |
+
"OF",
|
| 229 |
+
"ON",
|
| 230 |
+
"OPTIMIZE",
|
| 231 |
+
"OPTIMIZER_COSTS",
|
| 232 |
+
"OPTION",
|
| 233 |
+
"OPTIONALLY",
|
| 234 |
+
"OR",
|
| 235 |
+
"ORDER",
|
| 236 |
+
"OUT",
|
| 237 |
+
"OUTER",
|
| 238 |
+
"OUTFILE",
|
| 239 |
+
"OVER",
|
| 240 |
+
"PARTITION",
|
| 241 |
+
"PERCENT_RANK",
|
| 242 |
+
"PRECISION",
|
| 243 |
+
"PRIMARY",
|
| 244 |
+
"PROCEDURE",
|
| 245 |
+
"PURGE",
|
| 246 |
+
"RANGE",
|
| 247 |
+
"RANK",
|
| 248 |
+
"READ",
|
| 249 |
+
"READS",
|
| 250 |
+
"READ_WRITE",
|
| 251 |
+
"REAL",
|
| 252 |
+
"RECURSIVE",
|
| 253 |
+
"REFERENCES",
|
| 254 |
+
"REGEXP",
|
| 255 |
+
"RELEASE",
|
| 256 |
+
"RENAME",
|
| 257 |
+
"REPEAT",
|
| 258 |
+
"REPLACE",
|
| 259 |
+
"REQUIRE",
|
| 260 |
+
"RESIGNAL",
|
| 261 |
+
"RESTRICT",
|
| 262 |
+
"RETURN",
|
| 263 |
+
"REVOKE",
|
| 264 |
+
"RIGHT",
|
| 265 |
+
"RLIKE",
|
| 266 |
+
"ROW",
|
| 267 |
+
"ROWS",
|
| 268 |
+
"ROW_NUMBER",
|
| 269 |
+
"SCHEMA",
|
| 270 |
+
"SCHEMAS",
|
| 271 |
+
"SECOND_MICROSECOND",
|
| 272 |
+
"SELECT",
|
| 273 |
+
"SENSITIVE",
|
| 274 |
+
"SEPARATOR",
|
| 275 |
+
"SET",
|
| 276 |
+
"SHOW",
|
| 277 |
+
"SIGNAL",
|
| 278 |
+
"SMALLINT",
|
| 279 |
+
"SPATIAL",
|
| 280 |
+
"SPECIFIC",
|
| 281 |
+
"SQL",
|
| 282 |
+
"SQLEXCEPTION",
|
| 283 |
+
"SQLSTATE",
|
| 284 |
+
"SQLWARNING",
|
| 285 |
+
"SQL_BIG_RESULT",
|
| 286 |
+
"SQL_CALC_FOUND_ROWS",
|
| 287 |
+
"SQL_SMALL_RESULT",
|
| 288 |
+
"SSL",
|
| 289 |
+
"STARTING",
|
| 290 |
+
"STORED",
|
| 291 |
+
"STRAIGHT_JOIN",
|
| 292 |
+
"SYSTEM",
|
| 293 |
+
"TABLE",
|
| 294 |
+
"TERMINATED",
|
| 295 |
+
"THEN",
|
| 296 |
+
"TINYBLOB",
|
| 297 |
+
"TINYINT",
|
| 298 |
+
"TINYTEXT",
|
| 299 |
+
"TO",
|
| 300 |
+
"TRAILING",
|
| 301 |
+
"TRIGGER",
|
| 302 |
+
"TRUE",
|
| 303 |
+
"UNDO",
|
| 304 |
+
"UNION",
|
| 305 |
+
"UNIQUE",
|
| 306 |
+
"UNLOCK",
|
| 307 |
+
"UNSIGNED",
|
| 308 |
+
"UPDATE",
|
| 309 |
+
"USAGE",
|
| 310 |
+
"USE",
|
| 311 |
+
"USING",
|
| 312 |
+
"UTC_DATE",
|
| 313 |
+
"UTC_TIME",
|
| 314 |
+
"UTC_TIMESTAMP",
|
| 315 |
+
"VALUES",
|
| 316 |
+
"VARBINARY",
|
| 317 |
+
"VARCHAR",
|
| 318 |
+
"VARCHARACTER",
|
| 319 |
+
"VARYING",
|
| 320 |
+
"VIRTUAL",
|
| 321 |
+
"WHEN",
|
| 322 |
+
"WHERE",
|
| 323 |
+
"WHILE",
|
| 324 |
+
"WINDOW",
|
| 325 |
+
"WITH",
|
| 326 |
+
"WRITE",
|
| 327 |
+
"XOR",
|
| 328 |
+
"YEAR_MONTH",
|
| 329 |
+
"ZEROFILL"
|
| 330 |
+
],
|
| 331 |
+
operators: [
|
| 332 |
+
"AND",
|
| 333 |
+
"BETWEEN",
|
| 334 |
+
"IN",
|
| 335 |
+
"LIKE",
|
| 336 |
+
"NOT",
|
| 337 |
+
"OR",
|
| 338 |
+
"IS",
|
| 339 |
+
"NULL",
|
| 340 |
+
"INTERSECT",
|
| 341 |
+
"UNION",
|
| 342 |
+
"INNER",
|
| 343 |
+
"JOIN",
|
| 344 |
+
"LEFT",
|
| 345 |
+
"OUTER",
|
| 346 |
+
"RIGHT"
|
| 347 |
+
],
|
| 348 |
+
builtinFunctions: [
|
| 349 |
+
"ABS",
|
| 350 |
+
"ACOS",
|
| 351 |
+
"ADDDATE",
|
| 352 |
+
"ADDTIME",
|
| 353 |
+
"AES_DECRYPT",
|
| 354 |
+
"AES_ENCRYPT",
|
| 355 |
+
"ANY_VALUE",
|
| 356 |
+
"Area",
|
| 357 |
+
"AsBinary",
|
| 358 |
+
"AsWKB",
|
| 359 |
+
"ASCII",
|
| 360 |
+
"ASIN",
|
| 361 |
+
"AsText",
|
| 362 |
+
"AsWKT",
|
| 363 |
+
"ASYMMETRIC_DECRYPT",
|
| 364 |
+
"ASYMMETRIC_DERIVE",
|
| 365 |
+
"ASYMMETRIC_ENCRYPT",
|
| 366 |
+
"ASYMMETRIC_SIGN",
|
| 367 |
+
"ASYMMETRIC_VERIFY",
|
| 368 |
+
"ATAN",
|
| 369 |
+
"ATAN2",
|
| 370 |
+
"ATAN",
|
| 371 |
+
"AVG",
|
| 372 |
+
"BENCHMARK",
|
| 373 |
+
"BIN",
|
| 374 |
+
"BIT_AND",
|
| 375 |
+
"BIT_COUNT",
|
| 376 |
+
"BIT_LENGTH",
|
| 377 |
+
"BIT_OR",
|
| 378 |
+
"BIT_XOR",
|
| 379 |
+
"Buffer",
|
| 380 |
+
"CAST",
|
| 381 |
+
"CEIL",
|
| 382 |
+
"CEILING",
|
| 383 |
+
"Centroid",
|
| 384 |
+
"CHAR",
|
| 385 |
+
"CHAR_LENGTH",
|
| 386 |
+
"CHARACTER_LENGTH",
|
| 387 |
+
"CHARSET",
|
| 388 |
+
"COALESCE",
|
| 389 |
+
"COERCIBILITY",
|
| 390 |
+
"COLLATION",
|
| 391 |
+
"COMPRESS",
|
| 392 |
+
"CONCAT",
|
| 393 |
+
"CONCAT_WS",
|
| 394 |
+
"CONNECTION_ID",
|
| 395 |
+
"Contains",
|
| 396 |
+
"CONV",
|
| 397 |
+
"CONVERT",
|
| 398 |
+
"CONVERT_TZ",
|
| 399 |
+
"ConvexHull",
|
| 400 |
+
"COS",
|
| 401 |
+
"COT",
|
| 402 |
+
"COUNT",
|
| 403 |
+
"CRC32",
|
| 404 |
+
"CREATE_ASYMMETRIC_PRIV_KEY",
|
| 405 |
+
"CREATE_ASYMMETRIC_PUB_KEY",
|
| 406 |
+
"CREATE_DH_PARAMETERS",
|
| 407 |
+
"CREATE_DIGEST",
|
| 408 |
+
"Crosses",
|
| 409 |
+
"CUME_DIST",
|
| 410 |
+
"CURDATE",
|
| 411 |
+
"CURRENT_DATE",
|
| 412 |
+
"CURRENT_ROLE",
|
| 413 |
+
"CURRENT_TIME",
|
| 414 |
+
"CURRENT_TIMESTAMP",
|
| 415 |
+
"CURRENT_USER",
|
| 416 |
+
"CURTIME",
|
| 417 |
+
"DATABASE",
|
| 418 |
+
"DATE",
|
| 419 |
+
"DATE_ADD",
|
| 420 |
+
"DATE_FORMAT",
|
| 421 |
+
"DATE_SUB",
|
| 422 |
+
"DATEDIFF",
|
| 423 |
+
"DAY",
|
| 424 |
+
"DAYNAME",
|
| 425 |
+
"DAYOFMONTH",
|
| 426 |
+
"DAYOFWEEK",
|
| 427 |
+
"DAYOFYEAR",
|
| 428 |
+
"DECODE",
|
| 429 |
+
"DEFAULT",
|
| 430 |
+
"DEGREES",
|
| 431 |
+
"DES_DECRYPT",
|
| 432 |
+
"DES_ENCRYPT",
|
| 433 |
+
"DENSE_RANK",
|
| 434 |
+
"Dimension",
|
| 435 |
+
"Disjoint",
|
| 436 |
+
"Distance",
|
| 437 |
+
"ELT",
|
| 438 |
+
"ENCODE",
|
| 439 |
+
"ENCRYPT",
|
| 440 |
+
"EndPoint",
|
| 441 |
+
"Envelope",
|
| 442 |
+
"Equals",
|
| 443 |
+
"EXP",
|
| 444 |
+
"EXPORT_SET",
|
| 445 |
+
"ExteriorRing",
|
| 446 |
+
"EXTRACT",
|
| 447 |
+
"ExtractValue",
|
| 448 |
+
"FIELD",
|
| 449 |
+
"FIND_IN_SET",
|
| 450 |
+
"FIRST_VALUE",
|
| 451 |
+
"FLOOR",
|
| 452 |
+
"FORMAT",
|
| 453 |
+
"FORMAT_BYTES",
|
| 454 |
+
"FORMAT_PICO_TIME",
|
| 455 |
+
"FOUND_ROWS",
|
| 456 |
+
"FROM_BASE64",
|
| 457 |
+
"FROM_DAYS",
|
| 458 |
+
"FROM_UNIXTIME",
|
| 459 |
+
"GEN_RANGE",
|
| 460 |
+
"GEN_RND_EMAIL",
|
| 461 |
+
"GEN_RND_PAN",
|
| 462 |
+
"GEN_RND_SSN",
|
| 463 |
+
"GEN_RND_US_PHONE",
|
| 464 |
+
"GeomCollection",
|
| 465 |
+
"GeomCollFromText",
|
| 466 |
+
"GeometryCollectionFromText",
|
| 467 |
+
"GeomCollFromWKB",
|
| 468 |
+
"GeometryCollectionFromWKB",
|
| 469 |
+
"GeometryCollection",
|
| 470 |
+
"GeometryN",
|
| 471 |
+
"GeometryType",
|
| 472 |
+
"GeomFromText",
|
| 473 |
+
"GeometryFromText",
|
| 474 |
+
"GeomFromWKB",
|
| 475 |
+
"GeometryFromWKB",
|
| 476 |
+
"GET_FORMAT",
|
| 477 |
+
"GET_LOCK",
|
| 478 |
+
"GLength",
|
| 479 |
+
"GREATEST",
|
| 480 |
+
"GROUP_CONCAT",
|
| 481 |
+
"GROUPING",
|
| 482 |
+
"GTID_SUBSET",
|
| 483 |
+
"GTID_SUBTRACT",
|
| 484 |
+
"HEX",
|
| 485 |
+
"HOUR",
|
| 486 |
+
"ICU_VERSION",
|
| 487 |
+
"IF",
|
| 488 |
+
"IFNULL",
|
| 489 |
+
"INET_ATON",
|
| 490 |
+
"INET_NTOA",
|
| 491 |
+
"INET6_ATON",
|
| 492 |
+
"INET6_NTOA",
|
| 493 |
+
"INSERT",
|
| 494 |
+
"INSTR",
|
| 495 |
+
"InteriorRingN",
|
| 496 |
+
"Intersects",
|
| 497 |
+
"INTERVAL",
|
| 498 |
+
"IS_FREE_LOCK",
|
| 499 |
+
"IS_IPV4",
|
| 500 |
+
"IS_IPV4_COMPAT",
|
| 501 |
+
"IS_IPV4_MAPPED",
|
| 502 |
+
"IS_IPV6",
|
| 503 |
+
"IS_USED_LOCK",
|
| 504 |
+
"IS_UUID",
|
| 505 |
+
"IsClosed",
|
| 506 |
+
"IsEmpty",
|
| 507 |
+
"ISNULL",
|
| 508 |
+
"IsSimple",
|
| 509 |
+
"JSON_APPEND",
|
| 510 |
+
"JSON_ARRAY",
|
| 511 |
+
"JSON_ARRAY_APPEND",
|
| 512 |
+
"JSON_ARRAY_INSERT",
|
| 513 |
+
"JSON_ARRAYAGG",
|
| 514 |
+
"JSON_CONTAINS",
|
| 515 |
+
"JSON_CONTAINS_PATH",
|
| 516 |
+
"JSON_DEPTH",
|
| 517 |
+
"JSON_EXTRACT",
|
| 518 |
+
"JSON_INSERT",
|
| 519 |
+
"JSON_KEYS",
|
| 520 |
+
"JSON_LENGTH",
|
| 521 |
+
"JSON_MERGE",
|
| 522 |
+
"JSON_MERGE_PATCH",
|
| 523 |
+
"JSON_MERGE_PRESERVE",
|
| 524 |
+
"JSON_OBJECT",
|
| 525 |
+
"JSON_OBJECTAGG",
|
| 526 |
+
"JSON_OVERLAPS",
|
| 527 |
+
"JSON_PRETTY",
|
| 528 |
+
"JSON_QUOTE",
|
| 529 |
+
"JSON_REMOVE",
|
| 530 |
+
"JSON_REPLACE",
|
| 531 |
+
"JSON_SCHEMA_VALID",
|
| 532 |
+
"JSON_SCHEMA_VALIDATION_REPORT",
|
| 533 |
+
"JSON_SEARCH",
|
| 534 |
+
"JSON_SET",
|
| 535 |
+
"JSON_STORAGE_FREE",
|
| 536 |
+
"JSON_STORAGE_SIZE",
|
| 537 |
+
"JSON_TABLE",
|
| 538 |
+
"JSON_TYPE",
|
| 539 |
+
"JSON_UNQUOTE",
|
| 540 |
+
"JSON_VALID",
|
| 541 |
+
"LAG",
|
| 542 |
+
"LAST_DAY",
|
| 543 |
+
"LAST_INSERT_ID",
|
| 544 |
+
"LAST_VALUE",
|
| 545 |
+
"LCASE",
|
| 546 |
+
"LEAD",
|
| 547 |
+
"LEAST",
|
| 548 |
+
"LEFT",
|
| 549 |
+
"LENGTH",
|
| 550 |
+
"LineFromText",
|
| 551 |
+
"LineStringFromText",
|
| 552 |
+
"LineFromWKB",
|
| 553 |
+
"LineStringFromWKB",
|
| 554 |
+
"LineString",
|
| 555 |
+
"LN",
|
| 556 |
+
"LOAD_FILE",
|
| 557 |
+
"LOCALTIME",
|
| 558 |
+
"LOCALTIMESTAMP",
|
| 559 |
+
"LOCATE",
|
| 560 |
+
"LOG",
|
| 561 |
+
"LOG10",
|
| 562 |
+
"LOG2",
|
| 563 |
+
"LOWER",
|
| 564 |
+
"LPAD",
|
| 565 |
+
"LTRIM",
|
| 566 |
+
"MAKE_SET",
|
| 567 |
+
"MAKEDATE",
|
| 568 |
+
"MAKETIME",
|
| 569 |
+
"MASK_INNER",
|
| 570 |
+
"MASK_OUTER",
|
| 571 |
+
"MASK_PAN",
|
| 572 |
+
"MASK_PAN_RELAXED",
|
| 573 |
+
"MASK_SSN",
|
| 574 |
+
"MASTER_POS_WAIT",
|
| 575 |
+
"MAX",
|
| 576 |
+
"MBRContains",
|
| 577 |
+
"MBRCoveredBy",
|
| 578 |
+
"MBRCovers",
|
| 579 |
+
"MBRDisjoint",
|
| 580 |
+
"MBREqual",
|
| 581 |
+
"MBREquals",
|
| 582 |
+
"MBRIntersects",
|
| 583 |
+
"MBROverlaps",
|
| 584 |
+
"MBRTouches",
|
| 585 |
+
"MBRWithin",
|
| 586 |
+
"MD5",
|
| 587 |
+
"MEMBER OF",
|
| 588 |
+
"MICROSECOND",
|
| 589 |
+
"MID",
|
| 590 |
+
"MIN",
|
| 591 |
+
"MINUTE",
|
| 592 |
+
"MLineFromText",
|
| 593 |
+
"MultiLineStringFromText",
|
| 594 |
+
"MLineFromWKB",
|
| 595 |
+
"MultiLineStringFromWKB",
|
| 596 |
+
"MOD",
|
| 597 |
+
"MONTH",
|
| 598 |
+
"MONTHNAME",
|
| 599 |
+
"MPointFromText",
|
| 600 |
+
"MultiPointFromText",
|
| 601 |
+
"MPointFromWKB",
|
| 602 |
+
"MultiPointFromWKB",
|
| 603 |
+
"MPolyFromText",
|
| 604 |
+
"MultiPolygonFromText",
|
| 605 |
+
"MPolyFromWKB",
|
| 606 |
+
"MultiPolygonFromWKB",
|
| 607 |
+
"MultiLineString",
|
| 608 |
+
"MultiPoint",
|
| 609 |
+
"MultiPolygon",
|
| 610 |
+
"NAME_CONST",
|
| 611 |
+
"NOT IN",
|
| 612 |
+
"NOW",
|
| 613 |
+
"NTH_VALUE",
|
| 614 |
+
"NTILE",
|
| 615 |
+
"NULLIF",
|
| 616 |
+
"NumGeometries",
|
| 617 |
+
"NumInteriorRings",
|
| 618 |
+
"NumPoints",
|
| 619 |
+
"OCT",
|
| 620 |
+
"OCTET_LENGTH",
|
| 621 |
+
"OLD_PASSWORD",
|
| 622 |
+
"ORD",
|
| 623 |
+
"Overlaps",
|
| 624 |
+
"PASSWORD",
|
| 625 |
+
"PERCENT_RANK",
|
| 626 |
+
"PERIOD_ADD",
|
| 627 |
+
"PERIOD_DIFF",
|
| 628 |
+
"PI",
|
| 629 |
+
"Point",
|
| 630 |
+
"PointFromText",
|
| 631 |
+
"PointFromWKB",
|
| 632 |
+
"PointN",
|
| 633 |
+
"PolyFromText",
|
| 634 |
+
"PolygonFromText",
|
| 635 |
+
"PolyFromWKB",
|
| 636 |
+
"PolygonFromWKB",
|
| 637 |
+
"Polygon",
|
| 638 |
+
"POSITION",
|
| 639 |
+
"POW",
|
| 640 |
+
"POWER",
|
| 641 |
+
"PS_CURRENT_THREAD_ID",
|
| 642 |
+
"PS_THREAD_ID",
|
| 643 |
+
"PROCEDURE ANALYSE",
|
| 644 |
+
"QUARTER",
|
| 645 |
+
"QUOTE",
|
| 646 |
+
"RADIANS",
|
| 647 |
+
"RAND",
|
| 648 |
+
"RANDOM_BYTES",
|
| 649 |
+
"RANK",
|
| 650 |
+
"REGEXP_INSTR",
|
| 651 |
+
"REGEXP_LIKE",
|
| 652 |
+
"REGEXP_REPLACE",
|
| 653 |
+
"REGEXP_REPLACE",
|
| 654 |
+
"RELEASE_ALL_LOCKS",
|
| 655 |
+
"RELEASE_LOCK",
|
| 656 |
+
"REPEAT",
|
| 657 |
+
"REPLACE",
|
| 658 |
+
"REVERSE",
|
| 659 |
+
"RIGHT",
|
| 660 |
+
"ROLES_GRAPHML",
|
| 661 |
+
"ROUND",
|
| 662 |
+
"ROW_COUNT",
|
| 663 |
+
"ROW_NUMBER",
|
| 664 |
+
"RPAD",
|
| 665 |
+
"RTRIM",
|
| 666 |
+
"SCHEMA",
|
| 667 |
+
"SEC_TO_TIME",
|
| 668 |
+
"SECOND",
|
| 669 |
+
"SESSION_USER",
|
| 670 |
+
"SHA1",
|
| 671 |
+
"SHA",
|
| 672 |
+
"SHA2",
|
| 673 |
+
"SIGN",
|
| 674 |
+
"SIN",
|
| 675 |
+
"SLEEP",
|
| 676 |
+
"SOUNDEX",
|
| 677 |
+
"SOURCE_POS_WAIT",
|
| 678 |
+
"SPACE",
|
| 679 |
+
"SQRT",
|
| 680 |
+
"SRID",
|
| 681 |
+
"ST_Area",
|
| 682 |
+
"ST_AsBinary",
|
| 683 |
+
"ST_AsWKB",
|
| 684 |
+
"ST_AsGeoJSON",
|
| 685 |
+
"ST_AsText",
|
| 686 |
+
"ST_AsWKT",
|
| 687 |
+
"ST_Buffer",
|
| 688 |
+
"ST_Buffer_Strategy",
|
| 689 |
+
"ST_Centroid",
|
| 690 |
+
"ST_Collect",
|
| 691 |
+
"ST_Contains",
|
| 692 |
+
"ST_ConvexHull",
|
| 693 |
+
"ST_Crosses",
|
| 694 |
+
"ST_Difference",
|
| 695 |
+
"ST_Dimension",
|
| 696 |
+
"ST_Disjoint",
|
| 697 |
+
"ST_Distance",
|
| 698 |
+
"ST_Distance_Sphere",
|
| 699 |
+
"ST_EndPoint",
|
| 700 |
+
"ST_Envelope",
|
| 701 |
+
"ST_Equals",
|
| 702 |
+
"ST_ExteriorRing",
|
| 703 |
+
"ST_FrechetDistance",
|
| 704 |
+
"ST_GeoHash",
|
| 705 |
+
"ST_GeomCollFromText",
|
| 706 |
+
"ST_GeometryCollectionFromText",
|
| 707 |
+
"ST_GeomCollFromTxt",
|
| 708 |
+
"ST_GeomCollFromWKB",
|
| 709 |
+
"ST_GeometryCollectionFromWKB",
|
| 710 |
+
"ST_GeometryN",
|
| 711 |
+
"ST_GeometryType",
|
| 712 |
+
"ST_GeomFromGeoJSON",
|
| 713 |
+
"ST_GeomFromText",
|
| 714 |
+
"ST_GeometryFromText",
|
| 715 |
+
"ST_GeomFromWKB",
|
| 716 |
+
"ST_GeometryFromWKB",
|
| 717 |
+
"ST_HausdorffDistance",
|
| 718 |
+
"ST_InteriorRingN",
|
| 719 |
+
"ST_Intersection",
|
| 720 |
+
"ST_Intersects",
|
| 721 |
+
"ST_IsClosed",
|
| 722 |
+
"ST_IsEmpty",
|
| 723 |
+
"ST_IsSimple",
|
| 724 |
+
"ST_IsValid",
|
| 725 |
+
"ST_LatFromGeoHash",
|
| 726 |
+
"ST_Length",
|
| 727 |
+
"ST_LineFromText",
|
| 728 |
+
"ST_LineStringFromText",
|
| 729 |
+
"ST_LineFromWKB",
|
| 730 |
+
"ST_LineStringFromWKB",
|
| 731 |
+
"ST_LineInterpolatePoint",
|
| 732 |
+
"ST_LineInterpolatePoints",
|
| 733 |
+
"ST_LongFromGeoHash",
|
| 734 |
+
"ST_Longitude",
|
| 735 |
+
"ST_MakeEnvelope",
|
| 736 |
+
"ST_MLineFromText",
|
| 737 |
+
"ST_MultiLineStringFromText",
|
| 738 |
+
"ST_MLineFromWKB",
|
| 739 |
+
"ST_MultiLineStringFromWKB",
|
| 740 |
+
"ST_MPointFromText",
|
| 741 |
+
"ST_MultiPointFromText",
|
| 742 |
+
"ST_MPointFromWKB",
|
| 743 |
+
"ST_MultiPointFromWKB",
|
| 744 |
+
"ST_MPolyFromText",
|
| 745 |
+
"ST_MultiPolygonFromText",
|
| 746 |
+
"ST_MPolyFromWKB",
|
| 747 |
+
"ST_MultiPolygonFromWKB",
|
| 748 |
+
"ST_NumGeometries",
|
| 749 |
+
"ST_NumInteriorRing",
|
| 750 |
+
"ST_NumInteriorRings",
|
| 751 |
+
"ST_NumPoints",
|
| 752 |
+
"ST_Overlaps",
|
| 753 |
+
"ST_PointAtDistance",
|
| 754 |
+
"ST_PointFromGeoHash",
|
| 755 |
+
"ST_PointFromText",
|
| 756 |
+
"ST_PointFromWKB",
|
| 757 |
+
"ST_PointN",
|
| 758 |
+
"ST_PolyFromText",
|
| 759 |
+
"ST_PolygonFromText",
|
| 760 |
+
"ST_PolyFromWKB",
|
| 761 |
+
"ST_PolygonFromWKB",
|
| 762 |
+
"ST_Simplify",
|
| 763 |
+
"ST_SRID",
|
| 764 |
+
"ST_StartPoint",
|
| 765 |
+
"ST_SwapXY",
|
| 766 |
+
"ST_SymDifference",
|
| 767 |
+
"ST_Touches",
|
| 768 |
+
"ST_Transform",
|
| 769 |
+
"ST_Union",
|
| 770 |
+
"ST_Validate",
|
| 771 |
+
"ST_Within",
|
| 772 |
+
"ST_X",
|
| 773 |
+
"ST_Y",
|
| 774 |
+
"StartPoint",
|
| 775 |
+
"STATEMENT_DIGEST",
|
| 776 |
+
"STATEMENT_DIGEST_TEXT",
|
| 777 |
+
"STD",
|
| 778 |
+
"STDDEV",
|
| 779 |
+
"STDDEV_POP",
|
| 780 |
+
"STDDEV_SAMP",
|
| 781 |
+
"STR_TO_DATE",
|
| 782 |
+
"STRCMP",
|
| 783 |
+
"SUBDATE",
|
| 784 |
+
"SUBSTR",
|
| 785 |
+
"SUBSTRING",
|
| 786 |
+
"SUBSTRING_INDEX",
|
| 787 |
+
"SUBTIME",
|
| 788 |
+
"SUM",
|
| 789 |
+
"SYSDATE",
|
| 790 |
+
"SYSTEM_USER",
|
| 791 |
+
"TAN",
|
| 792 |
+
"TIME",
|
| 793 |
+
"TIME_FORMAT",
|
| 794 |
+
"TIME_TO_SEC",
|
| 795 |
+
"TIMEDIFF",
|
| 796 |
+
"TIMESTAMP",
|
| 797 |
+
"TIMESTAMPADD",
|
| 798 |
+
"TIMESTAMPDIFF",
|
| 799 |
+
"TO_BASE64",
|
| 800 |
+
"TO_DAYS",
|
| 801 |
+
"TO_SECONDS",
|
| 802 |
+
"Touches",
|
| 803 |
+
"TRIM",
|
| 804 |
+
"TRUNCATE",
|
| 805 |
+
"UCASE",
|
| 806 |
+
"UNCOMPRESS",
|
| 807 |
+
"UNCOMPRESSED_LENGTH",
|
| 808 |
+
"UNHEX",
|
| 809 |
+
"UNIX_TIMESTAMP",
|
| 810 |
+
"UpdateXML",
|
| 811 |
+
"UPPER",
|
| 812 |
+
"USER",
|
| 813 |
+
"UTC_DATE",
|
| 814 |
+
"UTC_TIME",
|
| 815 |
+
"UTC_TIMESTAMP",
|
| 816 |
+
"UUID",
|
| 817 |
+
"UUID_SHORT",
|
| 818 |
+
"UUID_TO_BIN",
|
| 819 |
+
"VALIDATE_PASSWORD_STRENGTH",
|
| 820 |
+
"VALUES",
|
| 821 |
+
"VAR_POP",
|
| 822 |
+
"VAR_SAMP",
|
| 823 |
+
"VARIANCE",
|
| 824 |
+
"VERSION",
|
| 825 |
+
"WAIT_FOR_EXECUTED_GTID_SET",
|
| 826 |
+
"WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS",
|
| 827 |
+
"WEEK",
|
| 828 |
+
"WEEKDAY",
|
| 829 |
+
"WEEKOFYEAR",
|
| 830 |
+
"WEIGHT_STRING",
|
| 831 |
+
"Within",
|
| 832 |
+
"X",
|
| 833 |
+
"Y",
|
| 834 |
+
"YEAR",
|
| 835 |
+
"YEARWEEK"
|
| 836 |
+
],
|
| 837 |
+
builtinVariables: [
|
| 838 |
+
// NOT SUPPORTED
|
| 839 |
+
],
|
| 840 |
+
tokenizer: {
|
| 841 |
+
root: [
|
| 842 |
+
{ include: "@comments" },
|
| 843 |
+
{ include: "@whitespace" },
|
| 844 |
+
{ include: "@numbers" },
|
| 845 |
+
{ include: "@strings" },
|
| 846 |
+
{ include: "@complexIdentifiers" },
|
| 847 |
+
{ include: "@scopes" },
|
| 848 |
+
[/[;,.]/, "delimiter"],
|
| 849 |
+
[/[()]/, "@brackets"],
|
| 850 |
+
[
|
| 851 |
+
/[\w@]+/,
|
| 852 |
+
{
|
| 853 |
+
cases: {
|
| 854 |
+
"@operators": "operator",
|
| 855 |
+
"@builtinVariables": "predefined",
|
| 856 |
+
"@builtinFunctions": "predefined",
|
| 857 |
+
"@keywords": "keyword",
|
| 858 |
+
"@default": "identifier"
|
| 859 |
+
}
|
| 860 |
+
}
|
| 861 |
+
],
|
| 862 |
+
[/[<>=!%&+\-*/|~^]/, "operator"]
|
| 863 |
+
],
|
| 864 |
+
whitespace: [[/\s+/, "white"]],
|
| 865 |
+
comments: [
|
| 866 |
+
[/--+.*/, "comment"],
|
| 867 |
+
[/#+.*/, "comment"],
|
| 868 |
+
[/\/\*/, { token: "comment.quote", next: "@comment" }]
|
| 869 |
+
],
|
| 870 |
+
comment: [
|
| 871 |
+
[/[^*/]+/, "comment"],
|
| 872 |
+
// Not supporting nested comments, as nested comments seem to not be standard?
|
| 873 |
+
// i.e. http://stackoverflow.com/questions/728172/are-there-multiline-comment-delimiters-in-sql-that-are-vendor-agnostic
|
| 874 |
+
// [/\/\*/, { token: 'comment.quote', next: '@push' }], // nested comment not allowed :-(
|
| 875 |
+
[/\*\//, { token: "comment.quote", next: "@pop" }],
|
| 876 |
+
[/./, "comment"]
|
| 877 |
+
],
|
| 878 |
+
numbers: [
|
| 879 |
+
[/0[xX][0-9a-fA-F]*/, "number"],
|
| 880 |
+
[/[$][+-]*\d*(\.\d*)?/, "number"],
|
| 881 |
+
[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/, "number"]
|
| 882 |
+
],
|
| 883 |
+
strings: [
|
| 884 |
+
[/'/, { token: "string", next: "@string" }],
|
| 885 |
+
[/"/, { token: "string.double", next: "@stringDouble" }]
|
| 886 |
+
],
|
| 887 |
+
string: [
|
| 888 |
+
[/\\'/, "string"],
|
| 889 |
+
[/[^']+/, "string"],
|
| 890 |
+
[/''/, "string"],
|
| 891 |
+
[/'/, { token: "string", next: "@pop" }]
|
| 892 |
+
],
|
| 893 |
+
stringDouble: [
|
| 894 |
+
[/[^"]+/, "string.double"],
|
| 895 |
+
[/""/, "string.double"],
|
| 896 |
+
[/"/, { token: "string.double", next: "@pop" }]
|
| 897 |
+
],
|
| 898 |
+
complexIdentifiers: [[/`/, { token: "identifier.quote", next: "@quotedIdentifier" }]],
|
| 899 |
+
quotedIdentifier: [
|
| 900 |
+
[/[^`]+/, "identifier"],
|
| 901 |
+
[/``/, "identifier"],
|
| 902 |
+
[/`/, { token: "identifier.quote", next: "@pop" }]
|
| 903 |
+
],
|
| 904 |
+
scopes: [
|
| 905 |
+
// NOT SUPPORTED
|
| 906 |
+
]
|
| 907 |
+
}
|
| 908 |
+
};
|
| 909 |
+
return __toCommonJS(mysql_exports);
|
| 910 |
+
})();
|
| 911 |
+
return moduleExports;
|
| 912 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/objective-c/objective-c.js
ADDED
|
@@ -0,0 +1,217 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/objective-c/objective-c", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/objective-c/objective-c.ts
|
| 29 |
+
var objective_c_exports = {};
|
| 30 |
+
__export(objective_c_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
comments: {
|
| 36 |
+
lineComment: "//",
|
| 37 |
+
blockComment: ["/*", "*/"]
|
| 38 |
+
},
|
| 39 |
+
brackets: [
|
| 40 |
+
["{", "}"],
|
| 41 |
+
["[", "]"],
|
| 42 |
+
["(", ")"]
|
| 43 |
+
],
|
| 44 |
+
autoClosingPairs: [
|
| 45 |
+
{ open: "{", close: "}" },
|
| 46 |
+
{ open: "[", close: "]" },
|
| 47 |
+
{ open: "(", close: ")" },
|
| 48 |
+
{ open: '"', close: '"' },
|
| 49 |
+
{ open: "'", close: "'" }
|
| 50 |
+
],
|
| 51 |
+
surroundingPairs: [
|
| 52 |
+
{ open: "{", close: "}" },
|
| 53 |
+
{ open: "[", close: "]" },
|
| 54 |
+
{ open: "(", close: ")" },
|
| 55 |
+
{ open: '"', close: '"' },
|
| 56 |
+
{ open: "'", close: "'" }
|
| 57 |
+
]
|
| 58 |
+
};
|
| 59 |
+
var language = {
|
| 60 |
+
defaultToken: "",
|
| 61 |
+
tokenPostfix: ".objective-c",
|
| 62 |
+
keywords: [
|
| 63 |
+
"#import",
|
| 64 |
+
"#include",
|
| 65 |
+
"#define",
|
| 66 |
+
"#else",
|
| 67 |
+
"#endif",
|
| 68 |
+
"#if",
|
| 69 |
+
"#ifdef",
|
| 70 |
+
"#ifndef",
|
| 71 |
+
"#ident",
|
| 72 |
+
"#undef",
|
| 73 |
+
"@class",
|
| 74 |
+
"@defs",
|
| 75 |
+
"@dynamic",
|
| 76 |
+
"@encode",
|
| 77 |
+
"@end",
|
| 78 |
+
"@implementation",
|
| 79 |
+
"@interface",
|
| 80 |
+
"@package",
|
| 81 |
+
"@private",
|
| 82 |
+
"@protected",
|
| 83 |
+
"@property",
|
| 84 |
+
"@protocol",
|
| 85 |
+
"@public",
|
| 86 |
+
"@selector",
|
| 87 |
+
"@synthesize",
|
| 88 |
+
"__declspec",
|
| 89 |
+
"assign",
|
| 90 |
+
"auto",
|
| 91 |
+
"BOOL",
|
| 92 |
+
"break",
|
| 93 |
+
"bycopy",
|
| 94 |
+
"byref",
|
| 95 |
+
"case",
|
| 96 |
+
"char",
|
| 97 |
+
"Class",
|
| 98 |
+
"const",
|
| 99 |
+
"copy",
|
| 100 |
+
"continue",
|
| 101 |
+
"default",
|
| 102 |
+
"do",
|
| 103 |
+
"double",
|
| 104 |
+
"else",
|
| 105 |
+
"enum",
|
| 106 |
+
"extern",
|
| 107 |
+
"FALSE",
|
| 108 |
+
"false",
|
| 109 |
+
"float",
|
| 110 |
+
"for",
|
| 111 |
+
"goto",
|
| 112 |
+
"if",
|
| 113 |
+
"in",
|
| 114 |
+
"int",
|
| 115 |
+
"id",
|
| 116 |
+
"inout",
|
| 117 |
+
"IMP",
|
| 118 |
+
"long",
|
| 119 |
+
"nil",
|
| 120 |
+
"nonatomic",
|
| 121 |
+
"NULL",
|
| 122 |
+
"oneway",
|
| 123 |
+
"out",
|
| 124 |
+
"private",
|
| 125 |
+
"public",
|
| 126 |
+
"protected",
|
| 127 |
+
"readwrite",
|
| 128 |
+
"readonly",
|
| 129 |
+
"register",
|
| 130 |
+
"return",
|
| 131 |
+
"SEL",
|
| 132 |
+
"self",
|
| 133 |
+
"short",
|
| 134 |
+
"signed",
|
| 135 |
+
"sizeof",
|
| 136 |
+
"static",
|
| 137 |
+
"struct",
|
| 138 |
+
"super",
|
| 139 |
+
"switch",
|
| 140 |
+
"typedef",
|
| 141 |
+
"TRUE",
|
| 142 |
+
"true",
|
| 143 |
+
"union",
|
| 144 |
+
"unsigned",
|
| 145 |
+
"volatile",
|
| 146 |
+
"void",
|
| 147 |
+
"while"
|
| 148 |
+
],
|
| 149 |
+
decpart: /\d(_?\d)*/,
|
| 150 |
+
decimal: /0|@decpart/,
|
| 151 |
+
tokenizer: {
|
| 152 |
+
root: [
|
| 153 |
+
{ include: "@comments" },
|
| 154 |
+
{ include: "@whitespace" },
|
| 155 |
+
{ include: "@numbers" },
|
| 156 |
+
{ include: "@strings" },
|
| 157 |
+
[/[,:;]/, "delimiter"],
|
| 158 |
+
[/[{}\[\]()<>]/, "@brackets"],
|
| 159 |
+
[
|
| 160 |
+
/[a-zA-Z@#]\w*/,
|
| 161 |
+
{
|
| 162 |
+
cases: {
|
| 163 |
+
"@keywords": "keyword",
|
| 164 |
+
"@default": "identifier"
|
| 165 |
+
}
|
| 166 |
+
}
|
| 167 |
+
],
|
| 168 |
+
[/[<>=\\+\\-\\*\\/\\^\\|\\~,]|and\\b|or\\b|not\\b]/, "operator"]
|
| 169 |
+
],
|
| 170 |
+
whitespace: [[/\s+/, "white"]],
|
| 171 |
+
comments: [
|
| 172 |
+
["\\/\\*", "comment", "@comment"],
|
| 173 |
+
["\\/\\/+.*", "comment"]
|
| 174 |
+
],
|
| 175 |
+
comment: [
|
| 176 |
+
["\\*\\/", "comment", "@pop"],
|
| 177 |
+
[".", "comment"]
|
| 178 |
+
],
|
| 179 |
+
numbers: [
|
| 180 |
+
[/0[xX][0-9a-fA-F]*(_?[0-9a-fA-F])*/, "number.hex"],
|
| 181 |
+
[
|
| 182 |
+
/@decimal((\.@decpart)?([eE][\-+]?@decpart)?)[fF]*/,
|
| 183 |
+
{
|
| 184 |
+
cases: {
|
| 185 |
+
"(\\d)*": "number",
|
| 186 |
+
$0: "number.float"
|
| 187 |
+
}
|
| 188 |
+
}
|
| 189 |
+
]
|
| 190 |
+
],
|
| 191 |
+
// Recognize strings, including those broken across lines with \ (but not without)
|
| 192 |
+
strings: [
|
| 193 |
+
[/'$/, "string.escape", "@popall"],
|
| 194 |
+
[/'/, "string.escape", "@stringBody"],
|
| 195 |
+
[/"$/, "string.escape", "@popall"],
|
| 196 |
+
[/"/, "string.escape", "@dblStringBody"]
|
| 197 |
+
],
|
| 198 |
+
stringBody: [
|
| 199 |
+
[/[^\\']+$/, "string", "@popall"],
|
| 200 |
+
[/[^\\']+/, "string"],
|
| 201 |
+
[/\\./, "string"],
|
| 202 |
+
[/'/, "string.escape", "@popall"],
|
| 203 |
+
[/\\$/, "string"]
|
| 204 |
+
],
|
| 205 |
+
dblStringBody: [
|
| 206 |
+
[/[^\\"]+$/, "string", "@popall"],
|
| 207 |
+
[/[^\\"]+/, "string"],
|
| 208 |
+
[/\\./, "string"],
|
| 209 |
+
[/"/, "string.escape", "@popall"],
|
| 210 |
+
[/\\$/, "string"]
|
| 211 |
+
]
|
| 212 |
+
}
|
| 213 |
+
};
|
| 214 |
+
return __toCommonJS(objective_c_exports);
|
| 215 |
+
})();
|
| 216 |
+
return moduleExports;
|
| 217 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/pascal/pascal.js
ADDED
|
@@ -0,0 +1,285 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/pascal/pascal", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/pascal/pascal.ts
|
| 29 |
+
var pascal_exports = {};
|
| 30 |
+
__export(pascal_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
// the default separators except `@$`
|
| 36 |
+
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
|
| 37 |
+
comments: {
|
| 38 |
+
lineComment: "//",
|
| 39 |
+
blockComment: ["{", "}"]
|
| 40 |
+
},
|
| 41 |
+
brackets: [
|
| 42 |
+
["{", "}"],
|
| 43 |
+
["[", "]"],
|
| 44 |
+
["(", ")"],
|
| 45 |
+
["<", ">"]
|
| 46 |
+
],
|
| 47 |
+
autoClosingPairs: [
|
| 48 |
+
{ open: "{", close: "}" },
|
| 49 |
+
{ open: "[", close: "]" },
|
| 50 |
+
{ open: "(", close: ")" },
|
| 51 |
+
{ open: "<", close: ">" },
|
| 52 |
+
{ open: "'", close: "'" }
|
| 53 |
+
],
|
| 54 |
+
surroundingPairs: [
|
| 55 |
+
{ open: "{", close: "}" },
|
| 56 |
+
{ open: "[", close: "]" },
|
| 57 |
+
{ open: "(", close: ")" },
|
| 58 |
+
{ open: "<", close: ">" },
|
| 59 |
+
{ open: "'", close: "'" }
|
| 60 |
+
],
|
| 61 |
+
folding: {
|
| 62 |
+
markers: {
|
| 63 |
+
start: new RegExp("^\\s*\\{\\$REGION(\\s\\'.*\\')?\\}"),
|
| 64 |
+
end: new RegExp("^\\s*\\{\\$ENDREGION\\}")
|
| 65 |
+
}
|
| 66 |
+
}
|
| 67 |
+
};
|
| 68 |
+
var language = {
|
| 69 |
+
defaultToken: "",
|
| 70 |
+
tokenPostfix: ".pascal",
|
| 71 |
+
ignoreCase: true,
|
| 72 |
+
brackets: [
|
| 73 |
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
| 74 |
+
{ open: "[", close: "]", token: "delimiter.square" },
|
| 75 |
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
| 76 |
+
{ open: "<", close: ">", token: "delimiter.angle" }
|
| 77 |
+
],
|
| 78 |
+
keywords: [
|
| 79 |
+
"absolute",
|
| 80 |
+
"abstract",
|
| 81 |
+
"all",
|
| 82 |
+
"and_then",
|
| 83 |
+
"array",
|
| 84 |
+
"as",
|
| 85 |
+
"asm",
|
| 86 |
+
"attribute",
|
| 87 |
+
"begin",
|
| 88 |
+
"bindable",
|
| 89 |
+
"case",
|
| 90 |
+
"class",
|
| 91 |
+
"const",
|
| 92 |
+
"contains",
|
| 93 |
+
"default",
|
| 94 |
+
"div",
|
| 95 |
+
"else",
|
| 96 |
+
"end",
|
| 97 |
+
"except",
|
| 98 |
+
"exports",
|
| 99 |
+
"external",
|
| 100 |
+
"far",
|
| 101 |
+
"file",
|
| 102 |
+
"finalization",
|
| 103 |
+
"finally",
|
| 104 |
+
"forward",
|
| 105 |
+
"generic",
|
| 106 |
+
"goto",
|
| 107 |
+
"if",
|
| 108 |
+
"implements",
|
| 109 |
+
"import",
|
| 110 |
+
"in",
|
| 111 |
+
"index",
|
| 112 |
+
"inherited",
|
| 113 |
+
"initialization",
|
| 114 |
+
"interrupt",
|
| 115 |
+
"is",
|
| 116 |
+
"label",
|
| 117 |
+
"library",
|
| 118 |
+
"mod",
|
| 119 |
+
"module",
|
| 120 |
+
"name",
|
| 121 |
+
"near",
|
| 122 |
+
"not",
|
| 123 |
+
"object",
|
| 124 |
+
"of",
|
| 125 |
+
"on",
|
| 126 |
+
"only",
|
| 127 |
+
"operator",
|
| 128 |
+
"or_else",
|
| 129 |
+
"otherwise",
|
| 130 |
+
"override",
|
| 131 |
+
"package",
|
| 132 |
+
"packed",
|
| 133 |
+
"pow",
|
| 134 |
+
"private",
|
| 135 |
+
"program",
|
| 136 |
+
"protected",
|
| 137 |
+
"public",
|
| 138 |
+
"published",
|
| 139 |
+
"interface",
|
| 140 |
+
"implementation",
|
| 141 |
+
"qualified",
|
| 142 |
+
"read",
|
| 143 |
+
"record",
|
| 144 |
+
"resident",
|
| 145 |
+
"requires",
|
| 146 |
+
"resourcestring",
|
| 147 |
+
"restricted",
|
| 148 |
+
"segment",
|
| 149 |
+
"set",
|
| 150 |
+
"shl",
|
| 151 |
+
"shr",
|
| 152 |
+
"specialize",
|
| 153 |
+
"stored",
|
| 154 |
+
"strict",
|
| 155 |
+
"then",
|
| 156 |
+
"threadvar",
|
| 157 |
+
"to",
|
| 158 |
+
"try",
|
| 159 |
+
"type",
|
| 160 |
+
"unit",
|
| 161 |
+
"uses",
|
| 162 |
+
"var",
|
| 163 |
+
"view",
|
| 164 |
+
"virtual",
|
| 165 |
+
"dynamic",
|
| 166 |
+
"overload",
|
| 167 |
+
"reintroduce",
|
| 168 |
+
"with",
|
| 169 |
+
"write",
|
| 170 |
+
"xor",
|
| 171 |
+
"true",
|
| 172 |
+
"false",
|
| 173 |
+
"procedure",
|
| 174 |
+
"function",
|
| 175 |
+
"constructor",
|
| 176 |
+
"destructor",
|
| 177 |
+
"property",
|
| 178 |
+
"break",
|
| 179 |
+
"continue",
|
| 180 |
+
"exit",
|
| 181 |
+
"abort",
|
| 182 |
+
"while",
|
| 183 |
+
"do",
|
| 184 |
+
"for",
|
| 185 |
+
"raise",
|
| 186 |
+
"repeat",
|
| 187 |
+
"until"
|
| 188 |
+
],
|
| 189 |
+
typeKeywords: [
|
| 190 |
+
"boolean",
|
| 191 |
+
"double",
|
| 192 |
+
"byte",
|
| 193 |
+
"integer",
|
| 194 |
+
"shortint",
|
| 195 |
+
"char",
|
| 196 |
+
"longint",
|
| 197 |
+
"float",
|
| 198 |
+
"string"
|
| 199 |
+
],
|
| 200 |
+
operators: [
|
| 201 |
+
"=",
|
| 202 |
+
">",
|
| 203 |
+
"<",
|
| 204 |
+
"<=",
|
| 205 |
+
">=",
|
| 206 |
+
"<>",
|
| 207 |
+
":",
|
| 208 |
+
":=",
|
| 209 |
+
"and",
|
| 210 |
+
"or",
|
| 211 |
+
"+",
|
| 212 |
+
"-",
|
| 213 |
+
"*",
|
| 214 |
+
"/",
|
| 215 |
+
"@",
|
| 216 |
+
"&",
|
| 217 |
+
"^",
|
| 218 |
+
"%"
|
| 219 |
+
],
|
| 220 |
+
// we include these common regular expressions
|
| 221 |
+
symbols: /[=><:@\^&|+\-*\/\^%]+/,
|
| 222 |
+
// The main tokenizer for our languages
|
| 223 |
+
tokenizer: {
|
| 224 |
+
root: [
|
| 225 |
+
// identifiers and keywords
|
| 226 |
+
[
|
| 227 |
+
/[a-zA-Z_][\w]*/,
|
| 228 |
+
{
|
| 229 |
+
cases: {
|
| 230 |
+
"@keywords": { token: "keyword.$0" },
|
| 231 |
+
"@default": "identifier"
|
| 232 |
+
}
|
| 233 |
+
}
|
| 234 |
+
],
|
| 235 |
+
// whitespace
|
| 236 |
+
{ include: "@whitespace" },
|
| 237 |
+
// delimiters and operators
|
| 238 |
+
[/[{}()\[\]]/, "@brackets"],
|
| 239 |
+
[/[<>](?!@symbols)/, "@brackets"],
|
| 240 |
+
[
|
| 241 |
+
/@symbols/,
|
| 242 |
+
{
|
| 243 |
+
cases: {
|
| 244 |
+
"@operators": "delimiter",
|
| 245 |
+
"@default": ""
|
| 246 |
+
}
|
| 247 |
+
}
|
| 248 |
+
],
|
| 249 |
+
// numbers
|
| 250 |
+
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
| 251 |
+
[/\$[0-9a-fA-F]{1,16}/, "number.hex"],
|
| 252 |
+
[/\d+/, "number"],
|
| 253 |
+
// delimiter: after number because of .\d floats
|
| 254 |
+
[/[;,.]/, "delimiter"],
|
| 255 |
+
// strings
|
| 256 |
+
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
| 257 |
+
// non-teminated string
|
| 258 |
+
[/'/, "string", "@string"],
|
| 259 |
+
// characters
|
| 260 |
+
[/'[^\\']'/, "string"],
|
| 261 |
+
[/'/, "string.invalid"],
|
| 262 |
+
[/\#\d+/, "string"]
|
| 263 |
+
],
|
| 264 |
+
comment: [
|
| 265 |
+
[/[^\*\}]+/, "comment"],
|
| 266 |
+
//[/\(\*/, 'comment', '@push' ], // nested comment not allowed :-(
|
| 267 |
+
[/\}/, "comment", "@pop"],
|
| 268 |
+
[/[\{]/, "comment"]
|
| 269 |
+
],
|
| 270 |
+
string: [
|
| 271 |
+
[/[^\\']+/, "string"],
|
| 272 |
+
[/\\./, "string.escape.invalid"],
|
| 273 |
+
[/'/, { token: "string.quote", bracket: "@close", next: "@pop" }]
|
| 274 |
+
],
|
| 275 |
+
whitespace: [
|
| 276 |
+
[/[ \t\r\n]+/, "white"],
|
| 277 |
+
[/\{/, "comment", "@comment"],
|
| 278 |
+
[/\/\/.*$/, "comment"]
|
| 279 |
+
]
|
| 280 |
+
}
|
| 281 |
+
};
|
| 282 |
+
return __toCommonJS(pascal_exports);
|
| 283 |
+
})();
|
| 284 |
+
return moduleExports;
|
| 285 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/pascaligo/pascaligo.js
ADDED
|
@@ -0,0 +1,198 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/pascaligo/pascaligo", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/pascaligo/pascaligo.ts
|
| 29 |
+
var pascaligo_exports = {};
|
| 30 |
+
__export(pascaligo_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
comments: {
|
| 36 |
+
lineComment: "//",
|
| 37 |
+
blockComment: ["(*", "*)"]
|
| 38 |
+
},
|
| 39 |
+
brackets: [
|
| 40 |
+
["{", "}"],
|
| 41 |
+
["[", "]"],
|
| 42 |
+
["(", ")"],
|
| 43 |
+
["<", ">"]
|
| 44 |
+
],
|
| 45 |
+
autoClosingPairs: [
|
| 46 |
+
{ open: "{", close: "}" },
|
| 47 |
+
{ open: "[", close: "]" },
|
| 48 |
+
{ open: "(", close: ")" },
|
| 49 |
+
{ open: "<", close: ">" },
|
| 50 |
+
{ open: "'", close: "'" }
|
| 51 |
+
],
|
| 52 |
+
surroundingPairs: [
|
| 53 |
+
{ open: "{", close: "}" },
|
| 54 |
+
{ open: "[", close: "]" },
|
| 55 |
+
{ open: "(", close: ")" },
|
| 56 |
+
{ open: "<", close: ">" },
|
| 57 |
+
{ open: "'", close: "'" }
|
| 58 |
+
]
|
| 59 |
+
};
|
| 60 |
+
var language = {
|
| 61 |
+
defaultToken: "",
|
| 62 |
+
tokenPostfix: ".pascaligo",
|
| 63 |
+
ignoreCase: true,
|
| 64 |
+
brackets: [
|
| 65 |
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
| 66 |
+
{ open: "[", close: "]", token: "delimiter.square" },
|
| 67 |
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
| 68 |
+
{ open: "<", close: ">", token: "delimiter.angle" }
|
| 69 |
+
],
|
| 70 |
+
keywords: [
|
| 71 |
+
"begin",
|
| 72 |
+
"block",
|
| 73 |
+
"case",
|
| 74 |
+
"const",
|
| 75 |
+
"else",
|
| 76 |
+
"end",
|
| 77 |
+
"fail",
|
| 78 |
+
"for",
|
| 79 |
+
"from",
|
| 80 |
+
"function",
|
| 81 |
+
"if",
|
| 82 |
+
"is",
|
| 83 |
+
"nil",
|
| 84 |
+
"of",
|
| 85 |
+
"remove",
|
| 86 |
+
"return",
|
| 87 |
+
"skip",
|
| 88 |
+
"then",
|
| 89 |
+
"type",
|
| 90 |
+
"var",
|
| 91 |
+
"while",
|
| 92 |
+
"with",
|
| 93 |
+
"option",
|
| 94 |
+
"None",
|
| 95 |
+
"transaction"
|
| 96 |
+
],
|
| 97 |
+
typeKeywords: [
|
| 98 |
+
"bool",
|
| 99 |
+
"int",
|
| 100 |
+
"list",
|
| 101 |
+
"map",
|
| 102 |
+
"nat",
|
| 103 |
+
"record",
|
| 104 |
+
"string",
|
| 105 |
+
"unit",
|
| 106 |
+
"address",
|
| 107 |
+
"map",
|
| 108 |
+
"mtz",
|
| 109 |
+
"xtz"
|
| 110 |
+
],
|
| 111 |
+
operators: [
|
| 112 |
+
"=",
|
| 113 |
+
">",
|
| 114 |
+
"<",
|
| 115 |
+
"<=",
|
| 116 |
+
">=",
|
| 117 |
+
"<>",
|
| 118 |
+
":",
|
| 119 |
+
":=",
|
| 120 |
+
"and",
|
| 121 |
+
"mod",
|
| 122 |
+
"or",
|
| 123 |
+
"+",
|
| 124 |
+
"-",
|
| 125 |
+
"*",
|
| 126 |
+
"/",
|
| 127 |
+
"@",
|
| 128 |
+
"&",
|
| 129 |
+
"^",
|
| 130 |
+
"%"
|
| 131 |
+
],
|
| 132 |
+
// we include these common regular expressions
|
| 133 |
+
symbols: /[=><:@\^&|+\-*\/\^%]+/,
|
| 134 |
+
// The main tokenizer for our languages
|
| 135 |
+
tokenizer: {
|
| 136 |
+
root: [
|
| 137 |
+
// identifiers and keywords
|
| 138 |
+
[
|
| 139 |
+
/[a-zA-Z_][\w]*/,
|
| 140 |
+
{
|
| 141 |
+
cases: {
|
| 142 |
+
"@keywords": { token: "keyword.$0" },
|
| 143 |
+
"@default": "identifier"
|
| 144 |
+
}
|
| 145 |
+
}
|
| 146 |
+
],
|
| 147 |
+
// whitespace
|
| 148 |
+
{ include: "@whitespace" },
|
| 149 |
+
// delimiters and operators
|
| 150 |
+
[/[{}()\[\]]/, "@brackets"],
|
| 151 |
+
[/[<>](?!@symbols)/, "@brackets"],
|
| 152 |
+
[
|
| 153 |
+
/@symbols/,
|
| 154 |
+
{
|
| 155 |
+
cases: {
|
| 156 |
+
"@operators": "delimiter",
|
| 157 |
+
"@default": ""
|
| 158 |
+
}
|
| 159 |
+
}
|
| 160 |
+
],
|
| 161 |
+
// numbers
|
| 162 |
+
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
| 163 |
+
[/\$[0-9a-fA-F]{1,16}/, "number.hex"],
|
| 164 |
+
[/\d+/, "number"],
|
| 165 |
+
// delimiter: after number because of .\d floats
|
| 166 |
+
[/[;,.]/, "delimiter"],
|
| 167 |
+
// strings
|
| 168 |
+
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
| 169 |
+
// non-teminated string
|
| 170 |
+
[/'/, "string", "@string"],
|
| 171 |
+
// characters
|
| 172 |
+
[/'[^\\']'/, "string"],
|
| 173 |
+
[/'/, "string.invalid"],
|
| 174 |
+
[/\#\d+/, "string"]
|
| 175 |
+
],
|
| 176 |
+
/* */
|
| 177 |
+
comment: [
|
| 178 |
+
[/[^\(\*]+/, "comment"],
|
| 179 |
+
//[/\(\*/, 'comment', '@push' ], // nested comment not allowed :-(
|
| 180 |
+
[/\*\)/, "comment", "@pop"],
|
| 181 |
+
[/\(\*/, "comment"]
|
| 182 |
+
],
|
| 183 |
+
string: [
|
| 184 |
+
[/[^\\']+/, "string"],
|
| 185 |
+
[/\\./, "string.escape.invalid"],
|
| 186 |
+
[/'/, { token: "string.quote", bracket: "@close", next: "@pop" }]
|
| 187 |
+
],
|
| 188 |
+
whitespace: [
|
| 189 |
+
[/[ \t\r\n]+/, "white"],
|
| 190 |
+
[/\(\*/, "comment", "@comment"],
|
| 191 |
+
[/\/\/.*$/, "comment"]
|
| 192 |
+
]
|
| 193 |
+
}
|
| 194 |
+
};
|
| 195 |
+
return __toCommonJS(pascaligo_exports);
|
| 196 |
+
})();
|
| 197 |
+
return moduleExports;
|
| 198 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/perl/perl.js
ADDED
|
@@ -0,0 +1,660 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/perl/perl", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/perl/perl.ts
|
| 29 |
+
var perl_exports = {};
|
| 30 |
+
__export(perl_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
comments: {
|
| 36 |
+
lineComment: "#"
|
| 37 |
+
},
|
| 38 |
+
brackets: [
|
| 39 |
+
["{", "}"],
|
| 40 |
+
["[", "]"],
|
| 41 |
+
["(", ")"]
|
| 42 |
+
],
|
| 43 |
+
autoClosingPairs: [
|
| 44 |
+
{ open: "{", close: "}" },
|
| 45 |
+
{ open: "[", close: "]" },
|
| 46 |
+
{ open: "(", close: ")" },
|
| 47 |
+
{ open: '"', close: '"' },
|
| 48 |
+
{ open: "'", close: "'" },
|
| 49 |
+
{ open: "`", close: "`" }
|
| 50 |
+
],
|
| 51 |
+
surroundingPairs: [
|
| 52 |
+
{ open: "{", close: "}" },
|
| 53 |
+
{ open: "[", close: "]" },
|
| 54 |
+
{ open: "(", close: ")" },
|
| 55 |
+
{ open: '"', close: '"' },
|
| 56 |
+
{ open: "'", close: "'" },
|
| 57 |
+
{ open: "`", close: "`" }
|
| 58 |
+
]
|
| 59 |
+
};
|
| 60 |
+
var language = {
|
| 61 |
+
defaultToken: "",
|
| 62 |
+
tokenPostfix: ".perl",
|
| 63 |
+
brackets: [
|
| 64 |
+
{ token: "delimiter.bracket", open: "{", close: "}" },
|
| 65 |
+
{ token: "delimiter.parenthesis", open: "(", close: ")" },
|
| 66 |
+
{ token: "delimiter.square", open: "[", close: "]" }
|
| 67 |
+
],
|
| 68 |
+
// https://learn.perl.org/docs/keywords.html
|
| 69 |
+
// Perl syntax
|
| 70 |
+
keywords: [
|
| 71 |
+
"__DATA__",
|
| 72 |
+
"else",
|
| 73 |
+
"lock",
|
| 74 |
+
"__END__",
|
| 75 |
+
"elsif",
|
| 76 |
+
"lt",
|
| 77 |
+
"__FILE__",
|
| 78 |
+
"eq",
|
| 79 |
+
"__LINE__",
|
| 80 |
+
"exp",
|
| 81 |
+
"ne",
|
| 82 |
+
"sub",
|
| 83 |
+
"__PACKAGE__",
|
| 84 |
+
"for",
|
| 85 |
+
"no",
|
| 86 |
+
"and",
|
| 87 |
+
"foreach",
|
| 88 |
+
"or",
|
| 89 |
+
"unless",
|
| 90 |
+
"cmp",
|
| 91 |
+
"ge",
|
| 92 |
+
"package",
|
| 93 |
+
"until",
|
| 94 |
+
"continue",
|
| 95 |
+
"gt",
|
| 96 |
+
"while",
|
| 97 |
+
"CORE",
|
| 98 |
+
"if",
|
| 99 |
+
"xor",
|
| 100 |
+
"do",
|
| 101 |
+
"le",
|
| 102 |
+
"__DIE__",
|
| 103 |
+
"__WARN__"
|
| 104 |
+
],
|
| 105 |
+
// Perl functions
|
| 106 |
+
builtinFunctions: [
|
| 107 |
+
"-A",
|
| 108 |
+
"END",
|
| 109 |
+
"length",
|
| 110 |
+
"setpgrp",
|
| 111 |
+
"-B",
|
| 112 |
+
"endgrent",
|
| 113 |
+
"link",
|
| 114 |
+
"setpriority",
|
| 115 |
+
"-b",
|
| 116 |
+
"endhostent",
|
| 117 |
+
"listen",
|
| 118 |
+
"setprotoent",
|
| 119 |
+
"-C",
|
| 120 |
+
"endnetent",
|
| 121 |
+
"local",
|
| 122 |
+
"setpwent",
|
| 123 |
+
"-c",
|
| 124 |
+
"endprotoent",
|
| 125 |
+
"localtime",
|
| 126 |
+
"setservent",
|
| 127 |
+
"-d",
|
| 128 |
+
"endpwent",
|
| 129 |
+
"log",
|
| 130 |
+
"setsockopt",
|
| 131 |
+
"-e",
|
| 132 |
+
"endservent",
|
| 133 |
+
"lstat",
|
| 134 |
+
"shift",
|
| 135 |
+
"-f",
|
| 136 |
+
"eof",
|
| 137 |
+
"map",
|
| 138 |
+
"shmctl",
|
| 139 |
+
"-g",
|
| 140 |
+
"eval",
|
| 141 |
+
"mkdir",
|
| 142 |
+
"shmget",
|
| 143 |
+
"-k",
|
| 144 |
+
"exec",
|
| 145 |
+
"msgctl",
|
| 146 |
+
"shmread",
|
| 147 |
+
"-l",
|
| 148 |
+
"exists",
|
| 149 |
+
"msgget",
|
| 150 |
+
"shmwrite",
|
| 151 |
+
"-M",
|
| 152 |
+
"exit",
|
| 153 |
+
"msgrcv",
|
| 154 |
+
"shutdown",
|
| 155 |
+
"-O",
|
| 156 |
+
"fcntl",
|
| 157 |
+
"msgsnd",
|
| 158 |
+
"sin",
|
| 159 |
+
"-o",
|
| 160 |
+
"fileno",
|
| 161 |
+
"my",
|
| 162 |
+
"sleep",
|
| 163 |
+
"-p",
|
| 164 |
+
"flock",
|
| 165 |
+
"next",
|
| 166 |
+
"socket",
|
| 167 |
+
"-r",
|
| 168 |
+
"fork",
|
| 169 |
+
"not",
|
| 170 |
+
"socketpair",
|
| 171 |
+
"-R",
|
| 172 |
+
"format",
|
| 173 |
+
"oct",
|
| 174 |
+
"sort",
|
| 175 |
+
"-S",
|
| 176 |
+
"formline",
|
| 177 |
+
"open",
|
| 178 |
+
"splice",
|
| 179 |
+
"-s",
|
| 180 |
+
"getc",
|
| 181 |
+
"opendir",
|
| 182 |
+
"split",
|
| 183 |
+
"-T",
|
| 184 |
+
"getgrent",
|
| 185 |
+
"ord",
|
| 186 |
+
"sprintf",
|
| 187 |
+
"-t",
|
| 188 |
+
"getgrgid",
|
| 189 |
+
"our",
|
| 190 |
+
"sqrt",
|
| 191 |
+
"-u",
|
| 192 |
+
"getgrnam",
|
| 193 |
+
"pack",
|
| 194 |
+
"srand",
|
| 195 |
+
"-w",
|
| 196 |
+
"gethostbyaddr",
|
| 197 |
+
"pipe",
|
| 198 |
+
"stat",
|
| 199 |
+
"-W",
|
| 200 |
+
"gethostbyname",
|
| 201 |
+
"pop",
|
| 202 |
+
"state",
|
| 203 |
+
"-X",
|
| 204 |
+
"gethostent",
|
| 205 |
+
"pos",
|
| 206 |
+
"study",
|
| 207 |
+
"-x",
|
| 208 |
+
"getlogin",
|
| 209 |
+
"print",
|
| 210 |
+
"substr",
|
| 211 |
+
"-z",
|
| 212 |
+
"getnetbyaddr",
|
| 213 |
+
"printf",
|
| 214 |
+
"symlink",
|
| 215 |
+
"abs",
|
| 216 |
+
"getnetbyname",
|
| 217 |
+
"prototype",
|
| 218 |
+
"syscall",
|
| 219 |
+
"accept",
|
| 220 |
+
"getnetent",
|
| 221 |
+
"push",
|
| 222 |
+
"sysopen",
|
| 223 |
+
"alarm",
|
| 224 |
+
"getpeername",
|
| 225 |
+
"quotemeta",
|
| 226 |
+
"sysread",
|
| 227 |
+
"atan2",
|
| 228 |
+
"getpgrp",
|
| 229 |
+
"rand",
|
| 230 |
+
"sysseek",
|
| 231 |
+
"AUTOLOAD",
|
| 232 |
+
"getppid",
|
| 233 |
+
"read",
|
| 234 |
+
"system",
|
| 235 |
+
"BEGIN",
|
| 236 |
+
"getpriority",
|
| 237 |
+
"readdir",
|
| 238 |
+
"syswrite",
|
| 239 |
+
"bind",
|
| 240 |
+
"getprotobyname",
|
| 241 |
+
"readline",
|
| 242 |
+
"tell",
|
| 243 |
+
"binmode",
|
| 244 |
+
"getprotobynumber",
|
| 245 |
+
"readlink",
|
| 246 |
+
"telldir",
|
| 247 |
+
"bless",
|
| 248 |
+
"getprotoent",
|
| 249 |
+
"readpipe",
|
| 250 |
+
"tie",
|
| 251 |
+
"break",
|
| 252 |
+
"getpwent",
|
| 253 |
+
"recv",
|
| 254 |
+
"tied",
|
| 255 |
+
"caller",
|
| 256 |
+
"getpwnam",
|
| 257 |
+
"redo",
|
| 258 |
+
"time",
|
| 259 |
+
"chdir",
|
| 260 |
+
"getpwuid",
|
| 261 |
+
"ref",
|
| 262 |
+
"times",
|
| 263 |
+
"CHECK",
|
| 264 |
+
"getservbyname",
|
| 265 |
+
"rename",
|
| 266 |
+
"truncate",
|
| 267 |
+
"chmod",
|
| 268 |
+
"getservbyport",
|
| 269 |
+
"require",
|
| 270 |
+
"uc",
|
| 271 |
+
"chomp",
|
| 272 |
+
"getservent",
|
| 273 |
+
"reset",
|
| 274 |
+
"ucfirst",
|
| 275 |
+
"chop",
|
| 276 |
+
"getsockname",
|
| 277 |
+
"return",
|
| 278 |
+
"umask",
|
| 279 |
+
"chown",
|
| 280 |
+
"getsockopt",
|
| 281 |
+
"reverse",
|
| 282 |
+
"undef",
|
| 283 |
+
"chr",
|
| 284 |
+
"glob",
|
| 285 |
+
"rewinddir",
|
| 286 |
+
"UNITCHECK",
|
| 287 |
+
"chroot",
|
| 288 |
+
"gmtime",
|
| 289 |
+
"rindex",
|
| 290 |
+
"unlink",
|
| 291 |
+
"close",
|
| 292 |
+
"goto",
|
| 293 |
+
"rmdir",
|
| 294 |
+
"unpack",
|
| 295 |
+
"closedir",
|
| 296 |
+
"grep",
|
| 297 |
+
"say",
|
| 298 |
+
"unshift",
|
| 299 |
+
"connect",
|
| 300 |
+
"hex",
|
| 301 |
+
"scalar",
|
| 302 |
+
"untie",
|
| 303 |
+
"cos",
|
| 304 |
+
"index",
|
| 305 |
+
"seek",
|
| 306 |
+
"use",
|
| 307 |
+
"crypt",
|
| 308 |
+
"INIT",
|
| 309 |
+
"seekdir",
|
| 310 |
+
"utime",
|
| 311 |
+
"dbmclose",
|
| 312 |
+
"int",
|
| 313 |
+
"select",
|
| 314 |
+
"values",
|
| 315 |
+
"dbmopen",
|
| 316 |
+
"ioctl",
|
| 317 |
+
"semctl",
|
| 318 |
+
"vec",
|
| 319 |
+
"defined",
|
| 320 |
+
"join",
|
| 321 |
+
"semget",
|
| 322 |
+
"wait",
|
| 323 |
+
"delete",
|
| 324 |
+
"keys",
|
| 325 |
+
"semop",
|
| 326 |
+
"waitpid",
|
| 327 |
+
"DESTROY",
|
| 328 |
+
"kill",
|
| 329 |
+
"send",
|
| 330 |
+
"wantarray",
|
| 331 |
+
"die",
|
| 332 |
+
"last",
|
| 333 |
+
"setgrent",
|
| 334 |
+
"warn",
|
| 335 |
+
"dump",
|
| 336 |
+
"lc",
|
| 337 |
+
"sethostent",
|
| 338 |
+
"write",
|
| 339 |
+
"each",
|
| 340 |
+
"lcfirst",
|
| 341 |
+
"setnetent"
|
| 342 |
+
],
|
| 343 |
+
// File handlers
|
| 344 |
+
builtinFileHandlers: ["ARGV", "STDERR", "STDOUT", "ARGVOUT", "STDIN", "ENV"],
|
| 345 |
+
// Perl variables
|
| 346 |
+
builtinVariables: [
|
| 347 |
+
"$!",
|
| 348 |
+
"$^RE_TRIE_MAXBUF",
|
| 349 |
+
"$LAST_REGEXP_CODE_RESULT",
|
| 350 |
+
'$"',
|
| 351 |
+
"$^S",
|
| 352 |
+
"$LIST_SEPARATOR",
|
| 353 |
+
"$#",
|
| 354 |
+
"$^T",
|
| 355 |
+
"$MATCH",
|
| 356 |
+
"$$",
|
| 357 |
+
"$^TAINT",
|
| 358 |
+
"$MULTILINE_MATCHING",
|
| 359 |
+
"$%",
|
| 360 |
+
"$^UNICODE",
|
| 361 |
+
"$NR",
|
| 362 |
+
"$&",
|
| 363 |
+
"$^UTF8LOCALE",
|
| 364 |
+
"$OFMT",
|
| 365 |
+
"$'",
|
| 366 |
+
"$^V",
|
| 367 |
+
"$OFS",
|
| 368 |
+
"$(",
|
| 369 |
+
"$^W",
|
| 370 |
+
"$ORS",
|
| 371 |
+
"$)",
|
| 372 |
+
"$^WARNING_BITS",
|
| 373 |
+
"$OS_ERROR",
|
| 374 |
+
"$*",
|
| 375 |
+
"$^WIDE_SYSTEM_CALLS",
|
| 376 |
+
"$OSNAME",
|
| 377 |
+
"$+",
|
| 378 |
+
"$^X",
|
| 379 |
+
"$OUTPUT_AUTO_FLUSH",
|
| 380 |
+
"$,",
|
| 381 |
+
"$_",
|
| 382 |
+
"$OUTPUT_FIELD_SEPARATOR",
|
| 383 |
+
"$-",
|
| 384 |
+
"$`",
|
| 385 |
+
"$OUTPUT_RECORD_SEPARATOR",
|
| 386 |
+
"$.",
|
| 387 |
+
"$a",
|
| 388 |
+
"$PERL_VERSION",
|
| 389 |
+
"$/",
|
| 390 |
+
"$ACCUMULATOR",
|
| 391 |
+
"$PERLDB",
|
| 392 |
+
"$0",
|
| 393 |
+
"$ARG",
|
| 394 |
+
"$PID",
|
| 395 |
+
"$:",
|
| 396 |
+
"$ARGV",
|
| 397 |
+
"$POSTMATCH",
|
| 398 |
+
"$;",
|
| 399 |
+
"$b",
|
| 400 |
+
"$PREMATCH",
|
| 401 |
+
"$<",
|
| 402 |
+
"$BASETIME",
|
| 403 |
+
"$PROCESS_ID",
|
| 404 |
+
"$=",
|
| 405 |
+
"$CHILD_ERROR",
|
| 406 |
+
"$PROGRAM_NAME",
|
| 407 |
+
"$>",
|
| 408 |
+
"$COMPILING",
|
| 409 |
+
"$REAL_GROUP_ID",
|
| 410 |
+
"$?",
|
| 411 |
+
"$DEBUGGING",
|
| 412 |
+
"$REAL_USER_ID",
|
| 413 |
+
"$@",
|
| 414 |
+
"$EFFECTIVE_GROUP_ID",
|
| 415 |
+
"$RS",
|
| 416 |
+
"$[",
|
| 417 |
+
"$EFFECTIVE_USER_ID",
|
| 418 |
+
"$SUBSCRIPT_SEPARATOR",
|
| 419 |
+
"$\\",
|
| 420 |
+
"$EGID",
|
| 421 |
+
"$SUBSEP",
|
| 422 |
+
"$]",
|
| 423 |
+
"$ERRNO",
|
| 424 |
+
"$SYSTEM_FD_MAX",
|
| 425 |
+
"$^",
|
| 426 |
+
"$EUID",
|
| 427 |
+
"$UID",
|
| 428 |
+
"$^A",
|
| 429 |
+
"$EVAL_ERROR",
|
| 430 |
+
"$WARNING",
|
| 431 |
+
"$^C",
|
| 432 |
+
"$EXCEPTIONS_BEING_CAUGHT",
|
| 433 |
+
"$|",
|
| 434 |
+
"$^CHILD_ERROR_NATIVE",
|
| 435 |
+
"$EXECUTABLE_NAME",
|
| 436 |
+
"$~",
|
| 437 |
+
"$^D",
|
| 438 |
+
"$EXTENDED_OS_ERROR",
|
| 439 |
+
"%!",
|
| 440 |
+
"$^E",
|
| 441 |
+
"$FORMAT_FORMFEED",
|
| 442 |
+
"%^H",
|
| 443 |
+
"$^ENCODING",
|
| 444 |
+
"$FORMAT_LINE_BREAK_CHARACTERS",
|
| 445 |
+
"%ENV",
|
| 446 |
+
"$^F",
|
| 447 |
+
"$FORMAT_LINES_LEFT",
|
| 448 |
+
"%INC",
|
| 449 |
+
"$^H",
|
| 450 |
+
"$FORMAT_LINES_PER_PAGE",
|
| 451 |
+
"%OVERLOAD",
|
| 452 |
+
"$^I",
|
| 453 |
+
"$FORMAT_NAME",
|
| 454 |
+
"%SIG",
|
| 455 |
+
"$^L",
|
| 456 |
+
"$FORMAT_PAGE_NUMBER",
|
| 457 |
+
"@+",
|
| 458 |
+
"$^M",
|
| 459 |
+
"$FORMAT_TOP_NAME",
|
| 460 |
+
"@-",
|
| 461 |
+
"$^N",
|
| 462 |
+
"$GID",
|
| 463 |
+
"@_",
|
| 464 |
+
"$^O",
|
| 465 |
+
"$INPLACE_EDIT",
|
| 466 |
+
"@ARGV",
|
| 467 |
+
"$^OPEN",
|
| 468 |
+
"$INPUT_LINE_NUMBER",
|
| 469 |
+
"@INC",
|
| 470 |
+
"$^P",
|
| 471 |
+
"$INPUT_RECORD_SEPARATOR",
|
| 472 |
+
"@LAST_MATCH_START",
|
| 473 |
+
"$^R",
|
| 474 |
+
"$LAST_MATCH_END",
|
| 475 |
+
"$^RE_DEBUG_FLAGS",
|
| 476 |
+
"$LAST_PAREN_MATCH"
|
| 477 |
+
],
|
| 478 |
+
// operators
|
| 479 |
+
symbols: /[:+\-\^*$&%@=<>!?|\/~\.]/,
|
| 480 |
+
quoteLikeOps: ["qr", "m", "s", "q", "qq", "qx", "qw", "tr", "y"],
|
| 481 |
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
| 482 |
+
// The main tokenizer for our languages
|
| 483 |
+
tokenizer: {
|
| 484 |
+
root: [
|
| 485 |
+
{ include: "@whitespace" },
|
| 486 |
+
[
|
| 487 |
+
/[a-zA-Z\-_][\w\-_]*/,
|
| 488 |
+
{
|
| 489 |
+
cases: {
|
| 490 |
+
"@keywords": "keyword",
|
| 491 |
+
"@builtinFunctions": "type.identifier",
|
| 492 |
+
"@builtinFileHandlers": "variable.predefined",
|
| 493 |
+
"@quoteLikeOps": {
|
| 494 |
+
token: "@rematch",
|
| 495 |
+
next: "quotedConstructs"
|
| 496 |
+
},
|
| 497 |
+
"@default": ""
|
| 498 |
+
}
|
| 499 |
+
}
|
| 500 |
+
],
|
| 501 |
+
// Perl variables
|
| 502 |
+
[
|
| 503 |
+
/[\$@%][*@#?\+\-\$!\w\\\^><~:;\.]+/,
|
| 504 |
+
{
|
| 505 |
+
cases: {
|
| 506 |
+
"@builtinVariables": "variable.predefined",
|
| 507 |
+
"@default": "variable"
|
| 508 |
+
}
|
| 509 |
+
}
|
| 510 |
+
],
|
| 511 |
+
{ include: "@strings" },
|
| 512 |
+
{ include: "@dblStrings" },
|
| 513 |
+
// Perl Doc
|
| 514 |
+
{ include: "@perldoc" },
|
| 515 |
+
// Here Doc
|
| 516 |
+
{ include: "@heredoc" },
|
| 517 |
+
[/[{}\[\]()]/, "@brackets"],
|
| 518 |
+
// RegExp
|
| 519 |
+
[/[\/](?:(?:\[(?:\\]|[^\]])+\])|(?:\\\/|[^\]\/]))*[\/]\w*\s*(?=[).,;]|$)/, "regexp"],
|
| 520 |
+
[/@symbols/, "operators"],
|
| 521 |
+
{ include: "@numbers" },
|
| 522 |
+
[/[,;]/, "delimiter"]
|
| 523 |
+
],
|
| 524 |
+
whitespace: [
|
| 525 |
+
[/\s+/, "white"],
|
| 526 |
+
[/(^#!.*$)/, "metatag"],
|
| 527 |
+
[/(^#.*$)/, "comment"]
|
| 528 |
+
],
|
| 529 |
+
numbers: [
|
| 530 |
+
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
| 531 |
+
[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/, "number.hex"],
|
| 532 |
+
[/\d+/, "number"]
|
| 533 |
+
],
|
| 534 |
+
// Single quote string
|
| 535 |
+
strings: [[/'/, "string", "@stringBody"]],
|
| 536 |
+
stringBody: [
|
| 537 |
+
[/'/, "string", "@popall"],
|
| 538 |
+
[/\\'/, "string.escape"],
|
| 539 |
+
[/./, "string"]
|
| 540 |
+
],
|
| 541 |
+
// Double quote string
|
| 542 |
+
dblStrings: [[/"/, "string", "@dblStringBody"]],
|
| 543 |
+
dblStringBody: [
|
| 544 |
+
[/"/, "string", "@popall"],
|
| 545 |
+
[/@escapes/, "string.escape"],
|
| 546 |
+
[/\\./, "string.escape.invalid"],
|
| 547 |
+
{ include: "@variables" },
|
| 548 |
+
[/./, "string"]
|
| 549 |
+
],
|
| 550 |
+
// Quoted constructs
|
| 551 |
+
// Percent strings in Ruby are similar to quote-like operators in Perl.
|
| 552 |
+
// This is adapted from pstrings in ../ruby/ruby.ts.
|
| 553 |
+
quotedConstructs: [
|
| 554 |
+
[/(q|qw|tr|y)\s*\(/, { token: "string.delim", switchTo: "@qstring.(.)" }],
|
| 555 |
+
[/(q|qw|tr|y)\s*\[/, { token: "string.delim", switchTo: "@qstring.[.]" }],
|
| 556 |
+
[/(q|qw|tr|y)\s*\{/, { token: "string.delim", switchTo: "@qstring.{.}" }],
|
| 557 |
+
[/(q|qw|tr|y)\s*</, { token: "string.delim", switchTo: "@qstring.<.>" }],
|
| 558 |
+
[/(q|qw|tr|y)#/, { token: "string.delim", switchTo: "@qstring.#.#" }],
|
| 559 |
+
[/(q|qw|tr|y)\s*([^A-Za-z0-9#\s])/, { token: "string.delim", switchTo: "@qstring.$2.$2" }],
|
| 560 |
+
[/(q|qw|tr|y)\s+(\w)/, { token: "string.delim", switchTo: "@qstring.$2.$2" }],
|
| 561 |
+
[/(qr|m|s)\s*\(/, { token: "regexp.delim", switchTo: "@qregexp.(.)" }],
|
| 562 |
+
[/(qr|m|s)\s*\[/, { token: "regexp.delim", switchTo: "@qregexp.[.]" }],
|
| 563 |
+
[/(qr|m|s)\s*\{/, { token: "regexp.delim", switchTo: "@qregexp.{.}" }],
|
| 564 |
+
[/(qr|m|s)\s*</, { token: "regexp.delim", switchTo: "@qregexp.<.>" }],
|
| 565 |
+
[/(qr|m|s)#/, { token: "regexp.delim", switchTo: "@qregexp.#.#" }],
|
| 566 |
+
[/(qr|m|s)\s*([^A-Za-z0-9_#\s])/, { token: "regexp.delim", switchTo: "@qregexp.$2.$2" }],
|
| 567 |
+
[/(qr|m|s)\s+(\w)/, { token: "regexp.delim", switchTo: "@qregexp.$2.$2" }],
|
| 568 |
+
[/(qq|qx)\s*\(/, { token: "string.delim", switchTo: "@qqstring.(.)" }],
|
| 569 |
+
[/(qq|qx)\s*\[/, { token: "string.delim", switchTo: "@qqstring.[.]" }],
|
| 570 |
+
[/(qq|qx)\s*\{/, { token: "string.delim", switchTo: "@qqstring.{.}" }],
|
| 571 |
+
[/(qq|qx)\s*</, { token: "string.delim", switchTo: "@qqstring.<.>" }],
|
| 572 |
+
[/(qq|qx)#/, { token: "string.delim", switchTo: "@qqstring.#.#" }],
|
| 573 |
+
[/(qq|qx)\s*([^A-Za-z0-9#\s])/, { token: "string.delim", switchTo: "@qqstring.$2.$2" }],
|
| 574 |
+
[/(qq|qx)\s+(\w)/, { token: "string.delim", switchTo: "@qqstring.$2.$2" }]
|
| 575 |
+
],
|
| 576 |
+
// Non-expanded quoted string
|
| 577 |
+
// qstring<open>.<close>
|
| 578 |
+
// open = open delimiter
|
| 579 |
+
// close = close delimiter
|
| 580 |
+
qstring: [
|
| 581 |
+
[/\\./, "string.escape"],
|
| 582 |
+
[
|
| 583 |
+
/./,
|
| 584 |
+
{
|
| 585 |
+
cases: {
|
| 586 |
+
"$#==$S3": { token: "string.delim", next: "@pop" },
|
| 587 |
+
"$#==$S2": { token: "string.delim", next: "@push" },
|
| 588 |
+
// nested delimiters
|
| 589 |
+
"@default": "string"
|
| 590 |
+
}
|
| 591 |
+
}
|
| 592 |
+
]
|
| 593 |
+
],
|
| 594 |
+
// Quoted regexp
|
| 595 |
+
// qregexp.<open>.<close>
|
| 596 |
+
// open = open delimiter
|
| 597 |
+
// close = close delimiter
|
| 598 |
+
qregexp: [
|
| 599 |
+
{ include: "@variables" },
|
| 600 |
+
[/\\./, "regexp.escape"],
|
| 601 |
+
[
|
| 602 |
+
/./,
|
| 603 |
+
{
|
| 604 |
+
cases: {
|
| 605 |
+
"$#==$S3": {
|
| 606 |
+
token: "regexp.delim",
|
| 607 |
+
next: "@regexpModifiers"
|
| 608 |
+
},
|
| 609 |
+
"$#==$S2": { token: "regexp.delim", next: "@push" },
|
| 610 |
+
// nested delimiters
|
| 611 |
+
"@default": "regexp"
|
| 612 |
+
}
|
| 613 |
+
}
|
| 614 |
+
]
|
| 615 |
+
],
|
| 616 |
+
regexpModifiers: [[/[msixpodualngcer]+/, { token: "regexp.modifier", next: "@popall" }]],
|
| 617 |
+
// Expanded quoted string
|
| 618 |
+
// qqstring.<open>.<close>
|
| 619 |
+
// open = open delimiter
|
| 620 |
+
// close = close delimiter
|
| 621 |
+
qqstring: [{ include: "@variables" }, { include: "@qstring" }],
|
| 622 |
+
heredoc: [
|
| 623 |
+
[/<<\s*['"`]?([\w\-]+)['"`]?/, { token: "string.heredoc.delimiter", next: "@heredocBody.$1" }]
|
| 624 |
+
],
|
| 625 |
+
heredocBody: [
|
| 626 |
+
[
|
| 627 |
+
/^([\w\-]+)$/,
|
| 628 |
+
{
|
| 629 |
+
cases: {
|
| 630 |
+
"$1==$S2": [
|
| 631 |
+
{
|
| 632 |
+
token: "string.heredoc.delimiter",
|
| 633 |
+
next: "@popall"
|
| 634 |
+
}
|
| 635 |
+
],
|
| 636 |
+
"@default": "string.heredoc"
|
| 637 |
+
}
|
| 638 |
+
}
|
| 639 |
+
],
|
| 640 |
+
[/./, "string.heredoc"]
|
| 641 |
+
],
|
| 642 |
+
perldoc: [[/^=\w/, "comment.doc", "@perldocBody"]],
|
| 643 |
+
perldocBody: [
|
| 644 |
+
[/^=cut\b/, "type.identifier", "@popall"],
|
| 645 |
+
[/./, "comment.doc"]
|
| 646 |
+
],
|
| 647 |
+
variables: [
|
| 648 |
+
[/\$\w+/, "variable"],
|
| 649 |
+
// scalar
|
| 650 |
+
[/@\w+/, "variable"],
|
| 651 |
+
// array
|
| 652 |
+
[/%\w+/, "variable"]
|
| 653 |
+
// key/value
|
| 654 |
+
]
|
| 655 |
+
}
|
| 656 |
+
};
|
| 657 |
+
return __toCommonJS(perl_exports);
|
| 658 |
+
})();
|
| 659 |
+
return moduleExports;
|
| 660 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/pgsql/pgsql.js
ADDED
|
@@ -0,0 +1,885 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/pgsql/pgsql", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/pgsql/pgsql.ts
|
| 29 |
+
var pgsql_exports = {};
|
| 30 |
+
__export(pgsql_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
comments: {
|
| 36 |
+
lineComment: "--",
|
| 37 |
+
blockComment: ["/*", "*/"]
|
| 38 |
+
},
|
| 39 |
+
brackets: [
|
| 40 |
+
["{", "}"],
|
| 41 |
+
["[", "]"],
|
| 42 |
+
["(", ")"]
|
| 43 |
+
],
|
| 44 |
+
autoClosingPairs: [
|
| 45 |
+
{ open: "{", close: "}" },
|
| 46 |
+
{ open: "[", close: "]" },
|
| 47 |
+
{ open: "(", close: ")" },
|
| 48 |
+
{ open: '"', close: '"' },
|
| 49 |
+
{ open: "'", close: "'" }
|
| 50 |
+
],
|
| 51 |
+
surroundingPairs: [
|
| 52 |
+
{ open: "{", close: "}" },
|
| 53 |
+
{ open: "[", close: "]" },
|
| 54 |
+
{ open: "(", close: ")" },
|
| 55 |
+
{ open: '"', close: '"' },
|
| 56 |
+
{ open: "'", close: "'" }
|
| 57 |
+
]
|
| 58 |
+
};
|
| 59 |
+
var language = {
|
| 60 |
+
defaultToken: "",
|
| 61 |
+
tokenPostfix: ".sql",
|
| 62 |
+
ignoreCase: true,
|
| 63 |
+
brackets: [
|
| 64 |
+
{ open: "[", close: "]", token: "delimiter.square" },
|
| 65 |
+
{ open: "(", close: ")", token: "delimiter.parenthesis" }
|
| 66 |
+
],
|
| 67 |
+
keywords: [
|
| 68 |
+
// This list is generated using `keywords.js`
|
| 69 |
+
"ALL",
|
| 70 |
+
"ANALYSE",
|
| 71 |
+
"ANALYZE",
|
| 72 |
+
"AND",
|
| 73 |
+
"ANY",
|
| 74 |
+
"ARRAY",
|
| 75 |
+
"AS",
|
| 76 |
+
"ASC",
|
| 77 |
+
"ASYMMETRIC",
|
| 78 |
+
"AUTHORIZATION",
|
| 79 |
+
"BINARY",
|
| 80 |
+
"BOTH",
|
| 81 |
+
"CASE",
|
| 82 |
+
"CAST",
|
| 83 |
+
"CHECK",
|
| 84 |
+
"COLLATE",
|
| 85 |
+
"COLLATION",
|
| 86 |
+
"COLUMN",
|
| 87 |
+
"CONCURRENTLY",
|
| 88 |
+
"CONSTRAINT",
|
| 89 |
+
"CREATE",
|
| 90 |
+
"CROSS",
|
| 91 |
+
"CURRENT_CATALOG",
|
| 92 |
+
"CURRENT_DATE",
|
| 93 |
+
"CURRENT_ROLE",
|
| 94 |
+
"CURRENT_SCHEMA",
|
| 95 |
+
"CURRENT_TIME",
|
| 96 |
+
"CURRENT_TIMESTAMP",
|
| 97 |
+
"CURRENT_USER",
|
| 98 |
+
"DEFAULT",
|
| 99 |
+
"DEFERRABLE",
|
| 100 |
+
"DESC",
|
| 101 |
+
"DISTINCT",
|
| 102 |
+
"DO",
|
| 103 |
+
"ELSE",
|
| 104 |
+
"END",
|
| 105 |
+
"EXCEPT",
|
| 106 |
+
"FALSE",
|
| 107 |
+
"FETCH",
|
| 108 |
+
"FOR",
|
| 109 |
+
"FOREIGN",
|
| 110 |
+
"FREEZE",
|
| 111 |
+
"FROM",
|
| 112 |
+
"FULL",
|
| 113 |
+
"GRANT",
|
| 114 |
+
"GROUP",
|
| 115 |
+
"HAVING",
|
| 116 |
+
"ILIKE",
|
| 117 |
+
"IN",
|
| 118 |
+
"INITIALLY",
|
| 119 |
+
"INNER",
|
| 120 |
+
"INTERSECT",
|
| 121 |
+
"INTO",
|
| 122 |
+
"IS",
|
| 123 |
+
"ISNULL",
|
| 124 |
+
"JOIN",
|
| 125 |
+
"LATERAL",
|
| 126 |
+
"LEADING",
|
| 127 |
+
"LEFT",
|
| 128 |
+
"LIKE",
|
| 129 |
+
"LIMIT",
|
| 130 |
+
"LOCALTIME",
|
| 131 |
+
"LOCALTIMESTAMP",
|
| 132 |
+
"NATURAL",
|
| 133 |
+
"NOT",
|
| 134 |
+
"NOTNULL",
|
| 135 |
+
"NULL",
|
| 136 |
+
"OFFSET",
|
| 137 |
+
"ON",
|
| 138 |
+
"ONLY",
|
| 139 |
+
"OR",
|
| 140 |
+
"ORDER",
|
| 141 |
+
"OUTER",
|
| 142 |
+
"OVERLAPS",
|
| 143 |
+
"PLACING",
|
| 144 |
+
"PRIMARY",
|
| 145 |
+
"REFERENCES",
|
| 146 |
+
"RETURNING",
|
| 147 |
+
"RIGHT",
|
| 148 |
+
"SELECT",
|
| 149 |
+
"SESSION_USER",
|
| 150 |
+
"SIMILAR",
|
| 151 |
+
"SOME",
|
| 152 |
+
"SYMMETRIC",
|
| 153 |
+
"TABLE",
|
| 154 |
+
"TABLESAMPLE",
|
| 155 |
+
"THEN",
|
| 156 |
+
"TO",
|
| 157 |
+
"TRAILING",
|
| 158 |
+
"TRUE",
|
| 159 |
+
"UNION",
|
| 160 |
+
"UNIQUE",
|
| 161 |
+
"USER",
|
| 162 |
+
"USING",
|
| 163 |
+
"VARIADIC",
|
| 164 |
+
"VERBOSE",
|
| 165 |
+
"WHEN",
|
| 166 |
+
"WHERE",
|
| 167 |
+
"WINDOW",
|
| 168 |
+
"WITH"
|
| 169 |
+
],
|
| 170 |
+
operators: [
|
| 171 |
+
"AND",
|
| 172 |
+
"BETWEEN",
|
| 173 |
+
"IN",
|
| 174 |
+
"LIKE",
|
| 175 |
+
"NOT",
|
| 176 |
+
"OR",
|
| 177 |
+
"IS",
|
| 178 |
+
"NULL",
|
| 179 |
+
"INTERSECT",
|
| 180 |
+
"UNION",
|
| 181 |
+
"INNER",
|
| 182 |
+
"JOIN",
|
| 183 |
+
"LEFT",
|
| 184 |
+
"OUTER",
|
| 185 |
+
"RIGHT"
|
| 186 |
+
],
|
| 187 |
+
builtinFunctions: [
|
| 188 |
+
"abbrev",
|
| 189 |
+
"abs",
|
| 190 |
+
"acldefault",
|
| 191 |
+
"aclexplode",
|
| 192 |
+
"acos",
|
| 193 |
+
"acosd",
|
| 194 |
+
"acosh",
|
| 195 |
+
"age",
|
| 196 |
+
"any",
|
| 197 |
+
"area",
|
| 198 |
+
"array_agg",
|
| 199 |
+
"array_append",
|
| 200 |
+
"array_cat",
|
| 201 |
+
"array_dims",
|
| 202 |
+
"array_fill",
|
| 203 |
+
"array_length",
|
| 204 |
+
"array_lower",
|
| 205 |
+
"array_ndims",
|
| 206 |
+
"array_position",
|
| 207 |
+
"array_positions",
|
| 208 |
+
"array_prepend",
|
| 209 |
+
"array_remove",
|
| 210 |
+
"array_replace",
|
| 211 |
+
"array_to_json",
|
| 212 |
+
"array_to_string",
|
| 213 |
+
"array_to_tsvector",
|
| 214 |
+
"array_upper",
|
| 215 |
+
"ascii",
|
| 216 |
+
"asin",
|
| 217 |
+
"asind",
|
| 218 |
+
"asinh",
|
| 219 |
+
"atan",
|
| 220 |
+
"atan2",
|
| 221 |
+
"atan2d",
|
| 222 |
+
"atand",
|
| 223 |
+
"atanh",
|
| 224 |
+
"avg",
|
| 225 |
+
"bit",
|
| 226 |
+
"bit_and",
|
| 227 |
+
"bit_count",
|
| 228 |
+
"bit_length",
|
| 229 |
+
"bit_or",
|
| 230 |
+
"bit_xor",
|
| 231 |
+
"bool_and",
|
| 232 |
+
"bool_or",
|
| 233 |
+
"bound_box",
|
| 234 |
+
"box",
|
| 235 |
+
"brin_desummarize_range",
|
| 236 |
+
"brin_summarize_new_values",
|
| 237 |
+
"brin_summarize_range",
|
| 238 |
+
"broadcast",
|
| 239 |
+
"btrim",
|
| 240 |
+
"cardinality",
|
| 241 |
+
"cbrt",
|
| 242 |
+
"ceil",
|
| 243 |
+
"ceiling",
|
| 244 |
+
"center",
|
| 245 |
+
"char_length",
|
| 246 |
+
"character_length",
|
| 247 |
+
"chr",
|
| 248 |
+
"circle",
|
| 249 |
+
"clock_timestamp",
|
| 250 |
+
"coalesce",
|
| 251 |
+
"col_description",
|
| 252 |
+
"concat",
|
| 253 |
+
"concat_ws",
|
| 254 |
+
"convert",
|
| 255 |
+
"convert_from",
|
| 256 |
+
"convert_to",
|
| 257 |
+
"corr",
|
| 258 |
+
"cos",
|
| 259 |
+
"cosd",
|
| 260 |
+
"cosh",
|
| 261 |
+
"cot",
|
| 262 |
+
"cotd",
|
| 263 |
+
"count",
|
| 264 |
+
"covar_pop",
|
| 265 |
+
"covar_samp",
|
| 266 |
+
"cume_dist",
|
| 267 |
+
"current_catalog",
|
| 268 |
+
"current_database",
|
| 269 |
+
"current_date",
|
| 270 |
+
"current_query",
|
| 271 |
+
"current_role",
|
| 272 |
+
"current_schema",
|
| 273 |
+
"current_schemas",
|
| 274 |
+
"current_setting",
|
| 275 |
+
"current_time",
|
| 276 |
+
"current_timestamp",
|
| 277 |
+
"current_user",
|
| 278 |
+
"currval",
|
| 279 |
+
"cursor_to_xml",
|
| 280 |
+
"cursor_to_xmlschema",
|
| 281 |
+
"date_bin",
|
| 282 |
+
"date_part",
|
| 283 |
+
"date_trunc",
|
| 284 |
+
"database_to_xml",
|
| 285 |
+
"database_to_xml_and_xmlschema",
|
| 286 |
+
"database_to_xmlschema",
|
| 287 |
+
"decode",
|
| 288 |
+
"degrees",
|
| 289 |
+
"dense_rank",
|
| 290 |
+
"diagonal",
|
| 291 |
+
"diameter",
|
| 292 |
+
"div",
|
| 293 |
+
"encode",
|
| 294 |
+
"enum_first",
|
| 295 |
+
"enum_last",
|
| 296 |
+
"enum_range",
|
| 297 |
+
"every",
|
| 298 |
+
"exp",
|
| 299 |
+
"extract",
|
| 300 |
+
"factorial",
|
| 301 |
+
"family",
|
| 302 |
+
"first_value",
|
| 303 |
+
"floor",
|
| 304 |
+
"format",
|
| 305 |
+
"format_type",
|
| 306 |
+
"gcd",
|
| 307 |
+
"gen_random_uuid",
|
| 308 |
+
"generate_series",
|
| 309 |
+
"generate_subscripts",
|
| 310 |
+
"get_bit",
|
| 311 |
+
"get_byte",
|
| 312 |
+
"get_current_ts_config",
|
| 313 |
+
"gin_clean_pending_list",
|
| 314 |
+
"greatest",
|
| 315 |
+
"grouping",
|
| 316 |
+
"has_any_column_privilege",
|
| 317 |
+
"has_column_privilege",
|
| 318 |
+
"has_database_privilege",
|
| 319 |
+
"has_foreign_data_wrapper_privilege",
|
| 320 |
+
"has_function_privilege",
|
| 321 |
+
"has_language_privilege",
|
| 322 |
+
"has_schema_privilege",
|
| 323 |
+
"has_sequence_privilege",
|
| 324 |
+
"has_server_privilege",
|
| 325 |
+
"has_table_privilege",
|
| 326 |
+
"has_tablespace_privilege",
|
| 327 |
+
"has_type_privilege",
|
| 328 |
+
"height",
|
| 329 |
+
"host",
|
| 330 |
+
"hostmask",
|
| 331 |
+
"inet_client_addr",
|
| 332 |
+
"inet_client_port",
|
| 333 |
+
"inet_merge",
|
| 334 |
+
"inet_same_family",
|
| 335 |
+
"inet_server_addr",
|
| 336 |
+
"inet_server_port",
|
| 337 |
+
"initcap",
|
| 338 |
+
"isclosed",
|
| 339 |
+
"isempty",
|
| 340 |
+
"isfinite",
|
| 341 |
+
"isopen",
|
| 342 |
+
"json_agg",
|
| 343 |
+
"json_array_elements",
|
| 344 |
+
"json_array_elements_text",
|
| 345 |
+
"json_array_length",
|
| 346 |
+
"json_build_array",
|
| 347 |
+
"json_build_object",
|
| 348 |
+
"json_each",
|
| 349 |
+
"json_each_text",
|
| 350 |
+
"json_extract_path",
|
| 351 |
+
"json_extract_path_text",
|
| 352 |
+
"json_object",
|
| 353 |
+
"json_object_agg",
|
| 354 |
+
"json_object_keys",
|
| 355 |
+
"json_populate_record",
|
| 356 |
+
"json_populate_recordset",
|
| 357 |
+
"json_strip_nulls",
|
| 358 |
+
"json_to_record",
|
| 359 |
+
"json_to_recordset",
|
| 360 |
+
"json_to_tsvector",
|
| 361 |
+
"json_typeof",
|
| 362 |
+
"jsonb_agg",
|
| 363 |
+
"jsonb_array_elements",
|
| 364 |
+
"jsonb_array_elements_text",
|
| 365 |
+
"jsonb_array_length",
|
| 366 |
+
"jsonb_build_array",
|
| 367 |
+
"jsonb_build_object",
|
| 368 |
+
"jsonb_each",
|
| 369 |
+
"jsonb_each_text",
|
| 370 |
+
"jsonb_extract_path",
|
| 371 |
+
"jsonb_extract_path_text",
|
| 372 |
+
"jsonb_insert",
|
| 373 |
+
"jsonb_object",
|
| 374 |
+
"jsonb_object_agg",
|
| 375 |
+
"jsonb_object_keys",
|
| 376 |
+
"jsonb_path_exists",
|
| 377 |
+
"jsonb_path_match",
|
| 378 |
+
"jsonb_path_query",
|
| 379 |
+
"jsonb_path_query_array",
|
| 380 |
+
"jsonb_path_exists_tz",
|
| 381 |
+
"jsonb_path_query_first",
|
| 382 |
+
"jsonb_path_query_array_tz",
|
| 383 |
+
"jsonb_path_query_first_tz",
|
| 384 |
+
"jsonb_path_query_tz",
|
| 385 |
+
"jsonb_path_match_tz",
|
| 386 |
+
"jsonb_populate_record",
|
| 387 |
+
"jsonb_populate_recordset",
|
| 388 |
+
"jsonb_pretty",
|
| 389 |
+
"jsonb_set",
|
| 390 |
+
"jsonb_set_lax",
|
| 391 |
+
"jsonb_strip_nulls",
|
| 392 |
+
"jsonb_to_record",
|
| 393 |
+
"jsonb_to_recordset",
|
| 394 |
+
"jsonb_to_tsvector",
|
| 395 |
+
"jsonb_typeof",
|
| 396 |
+
"justify_days",
|
| 397 |
+
"justify_hours",
|
| 398 |
+
"justify_interval",
|
| 399 |
+
"lag",
|
| 400 |
+
"last_value",
|
| 401 |
+
"lastval",
|
| 402 |
+
"lcm",
|
| 403 |
+
"lead",
|
| 404 |
+
"least",
|
| 405 |
+
"left",
|
| 406 |
+
"length",
|
| 407 |
+
"line",
|
| 408 |
+
"ln",
|
| 409 |
+
"localtime",
|
| 410 |
+
"localtimestamp",
|
| 411 |
+
"log",
|
| 412 |
+
"log10",
|
| 413 |
+
"lower",
|
| 414 |
+
"lower_inc",
|
| 415 |
+
"lower_inf",
|
| 416 |
+
"lpad",
|
| 417 |
+
"lseg",
|
| 418 |
+
"ltrim",
|
| 419 |
+
"macaddr8_set7bit",
|
| 420 |
+
"make_date",
|
| 421 |
+
"make_interval",
|
| 422 |
+
"make_time",
|
| 423 |
+
"make_timestamp",
|
| 424 |
+
"make_timestamptz",
|
| 425 |
+
"makeaclitem",
|
| 426 |
+
"masklen",
|
| 427 |
+
"max",
|
| 428 |
+
"md5",
|
| 429 |
+
"min",
|
| 430 |
+
"min_scale",
|
| 431 |
+
"mod",
|
| 432 |
+
"mode",
|
| 433 |
+
"multirange",
|
| 434 |
+
"netmask",
|
| 435 |
+
"network",
|
| 436 |
+
"nextval",
|
| 437 |
+
"normalize",
|
| 438 |
+
"now",
|
| 439 |
+
"npoints",
|
| 440 |
+
"nth_value",
|
| 441 |
+
"ntile",
|
| 442 |
+
"nullif",
|
| 443 |
+
"num_nonnulls",
|
| 444 |
+
"num_nulls",
|
| 445 |
+
"numnode",
|
| 446 |
+
"obj_description",
|
| 447 |
+
"octet_length",
|
| 448 |
+
"overlay",
|
| 449 |
+
"parse_ident",
|
| 450 |
+
"path",
|
| 451 |
+
"pclose",
|
| 452 |
+
"percent_rank",
|
| 453 |
+
"percentile_cont",
|
| 454 |
+
"percentile_disc",
|
| 455 |
+
"pg_advisory_lock",
|
| 456 |
+
"pg_advisory_lock_shared",
|
| 457 |
+
"pg_advisory_unlock",
|
| 458 |
+
"pg_advisory_unlock_all",
|
| 459 |
+
"pg_advisory_unlock_shared",
|
| 460 |
+
"pg_advisory_xact_lock",
|
| 461 |
+
"pg_advisory_xact_lock_shared",
|
| 462 |
+
"pg_backend_pid",
|
| 463 |
+
"pg_backup_start_time",
|
| 464 |
+
"pg_blocking_pids",
|
| 465 |
+
"pg_cancel_backend",
|
| 466 |
+
"pg_client_encoding",
|
| 467 |
+
"pg_collation_actual_version",
|
| 468 |
+
"pg_collation_is_visible",
|
| 469 |
+
"pg_column_compression",
|
| 470 |
+
"pg_column_size",
|
| 471 |
+
"pg_conf_load_time",
|
| 472 |
+
"pg_control_checkpoint",
|
| 473 |
+
"pg_control_init",
|
| 474 |
+
"pg_control_recovery",
|
| 475 |
+
"pg_control_system",
|
| 476 |
+
"pg_conversion_is_visible",
|
| 477 |
+
"pg_copy_logical_replication_slot",
|
| 478 |
+
"pg_copy_physical_replication_slot",
|
| 479 |
+
"pg_create_logical_replication_slot",
|
| 480 |
+
"pg_create_physical_replication_slot",
|
| 481 |
+
"pg_create_restore_point",
|
| 482 |
+
"pg_current_logfile",
|
| 483 |
+
"pg_current_snapshot",
|
| 484 |
+
"pg_current_wal_flush_lsn",
|
| 485 |
+
"pg_current_wal_insert_lsn",
|
| 486 |
+
"pg_current_wal_lsn",
|
| 487 |
+
"pg_current_xact_id",
|
| 488 |
+
"pg_current_xact_id_if_assigned",
|
| 489 |
+
"pg_current_xlog_flush_location",
|
| 490 |
+
"pg_current_xlog_insert_location",
|
| 491 |
+
"pg_current_xlog_location",
|
| 492 |
+
"pg_database_size",
|
| 493 |
+
"pg_describe_object",
|
| 494 |
+
"pg_drop_replication_slot",
|
| 495 |
+
"pg_event_trigger_ddl_commands",
|
| 496 |
+
"pg_event_trigger_dropped_objects",
|
| 497 |
+
"pg_event_trigger_table_rewrite_oid",
|
| 498 |
+
"pg_event_trigger_table_rewrite_reason",
|
| 499 |
+
"pg_export_snapshot",
|
| 500 |
+
"pg_filenode_relation",
|
| 501 |
+
"pg_function_is_visible",
|
| 502 |
+
"pg_get_catalog_foreign_keys",
|
| 503 |
+
"pg_get_constraintdef",
|
| 504 |
+
"pg_get_expr",
|
| 505 |
+
"pg_get_function_arguments",
|
| 506 |
+
"pg_get_function_identity_arguments",
|
| 507 |
+
"pg_get_function_result",
|
| 508 |
+
"pg_get_functiondef",
|
| 509 |
+
"pg_get_indexdef",
|
| 510 |
+
"pg_get_keywords",
|
| 511 |
+
"pg_get_object_address",
|
| 512 |
+
"pg_get_owned_sequence",
|
| 513 |
+
"pg_get_ruledef",
|
| 514 |
+
"pg_get_serial_sequence",
|
| 515 |
+
"pg_get_statisticsobjdef",
|
| 516 |
+
"pg_get_triggerdef",
|
| 517 |
+
"pg_get_userbyid",
|
| 518 |
+
"pg_get_viewdef",
|
| 519 |
+
"pg_get_wal_replay_pause_state",
|
| 520 |
+
"pg_has_role",
|
| 521 |
+
"pg_identify_object",
|
| 522 |
+
"pg_identify_object_as_address",
|
| 523 |
+
"pg_import_system_collations",
|
| 524 |
+
"pg_index_column_has_property",
|
| 525 |
+
"pg_index_has_property",
|
| 526 |
+
"pg_indexam_has_property",
|
| 527 |
+
"pg_indexes_size",
|
| 528 |
+
"pg_is_in_backup",
|
| 529 |
+
"pg_is_in_recovery",
|
| 530 |
+
"pg_is_other_temp_schema",
|
| 531 |
+
"pg_is_wal_replay_paused",
|
| 532 |
+
"pg_is_xlog_replay_paused",
|
| 533 |
+
"pg_jit_available",
|
| 534 |
+
"pg_last_committed_xact",
|
| 535 |
+
"pg_last_wal_receive_lsn",
|
| 536 |
+
"pg_last_wal_replay_lsn",
|
| 537 |
+
"pg_last_xact_replay_timestamp",
|
| 538 |
+
"pg_last_xlog_receive_location",
|
| 539 |
+
"pg_last_xlog_replay_location",
|
| 540 |
+
"pg_listening_channels",
|
| 541 |
+
"pg_log_backend_memory_contexts",
|
| 542 |
+
"pg_logical_emit_message",
|
| 543 |
+
"pg_logical_slot_get_binary_changes",
|
| 544 |
+
"pg_logical_slot_get_changes",
|
| 545 |
+
"pg_logical_slot_peek_binary_changes",
|
| 546 |
+
"pg_logical_slot_peek_changes",
|
| 547 |
+
"pg_ls_archive_statusdir",
|
| 548 |
+
"pg_ls_dir",
|
| 549 |
+
"pg_ls_logdir",
|
| 550 |
+
"pg_ls_tmpdir",
|
| 551 |
+
"pg_ls_waldir",
|
| 552 |
+
"pg_mcv_list_items",
|
| 553 |
+
"pg_my_temp_schema",
|
| 554 |
+
"pg_notification_queue_usage",
|
| 555 |
+
"pg_opclass_is_visible",
|
| 556 |
+
"pg_operator_is_visible",
|
| 557 |
+
"pg_opfamily_is_visible",
|
| 558 |
+
"pg_options_to_table",
|
| 559 |
+
"pg_partition_ancestors",
|
| 560 |
+
"pg_partition_root",
|
| 561 |
+
"pg_partition_tree",
|
| 562 |
+
"pg_postmaster_start_time",
|
| 563 |
+
"pg_promote",
|
| 564 |
+
"pg_read_binary_file",
|
| 565 |
+
"pg_read_file",
|
| 566 |
+
"pg_relation_filenode",
|
| 567 |
+
"pg_relation_filepath",
|
| 568 |
+
"pg_relation_size",
|
| 569 |
+
"pg_reload_conf",
|
| 570 |
+
"pg_replication_origin_advance",
|
| 571 |
+
"pg_replication_origin_create",
|
| 572 |
+
"pg_replication_origin_drop",
|
| 573 |
+
"pg_replication_origin_oid",
|
| 574 |
+
"pg_replication_origin_progress",
|
| 575 |
+
"pg_replication_origin_session_is_setup",
|
| 576 |
+
"pg_replication_origin_session_progress",
|
| 577 |
+
"pg_replication_origin_session_reset",
|
| 578 |
+
"pg_replication_origin_session_setup",
|
| 579 |
+
"pg_replication_origin_xact_reset",
|
| 580 |
+
"pg_replication_origin_xact_setup",
|
| 581 |
+
"pg_replication_slot_advance",
|
| 582 |
+
"pg_rotate_logfile",
|
| 583 |
+
"pg_safe_snapshot_blocking_pids",
|
| 584 |
+
"pg_size_bytes",
|
| 585 |
+
"pg_size_pretty",
|
| 586 |
+
"pg_sleep",
|
| 587 |
+
"pg_sleep_for",
|
| 588 |
+
"pg_sleep_until",
|
| 589 |
+
"pg_snapshot_xip",
|
| 590 |
+
"pg_snapshot_xmax",
|
| 591 |
+
"pg_snapshot_xmin",
|
| 592 |
+
"pg_start_backup",
|
| 593 |
+
"pg_stat_file",
|
| 594 |
+
"pg_statistics_obj_is_visible",
|
| 595 |
+
"pg_stop_backup",
|
| 596 |
+
"pg_switch_wal",
|
| 597 |
+
"pg_switch_xlog",
|
| 598 |
+
"pg_table_is_visible",
|
| 599 |
+
"pg_table_size",
|
| 600 |
+
"pg_tablespace_databases",
|
| 601 |
+
"pg_tablespace_location",
|
| 602 |
+
"pg_tablespace_size",
|
| 603 |
+
"pg_terminate_backend",
|
| 604 |
+
"pg_total_relation_size",
|
| 605 |
+
"pg_trigger_depth",
|
| 606 |
+
"pg_try_advisory_lock",
|
| 607 |
+
"pg_try_advisory_lock_shared",
|
| 608 |
+
"pg_try_advisory_xact_lock",
|
| 609 |
+
"pg_try_advisory_xact_lock_shared",
|
| 610 |
+
"pg_ts_config_is_visible",
|
| 611 |
+
"pg_ts_dict_is_visible",
|
| 612 |
+
"pg_ts_parser_is_visible",
|
| 613 |
+
"pg_ts_template_is_visible",
|
| 614 |
+
"pg_type_is_visible",
|
| 615 |
+
"pg_typeof",
|
| 616 |
+
"pg_visible_in_snapshot",
|
| 617 |
+
"pg_wal_lsn_diff",
|
| 618 |
+
"pg_wal_replay_pause",
|
| 619 |
+
"pg_wal_replay_resume",
|
| 620 |
+
"pg_walfile_name",
|
| 621 |
+
"pg_walfile_name_offset",
|
| 622 |
+
"pg_xact_commit_timestamp",
|
| 623 |
+
"pg_xact_commit_timestamp_origin",
|
| 624 |
+
"pg_xact_status",
|
| 625 |
+
"pg_xlog_location_diff",
|
| 626 |
+
"pg_xlog_replay_pause",
|
| 627 |
+
"pg_xlog_replay_resume",
|
| 628 |
+
"pg_xlogfile_name",
|
| 629 |
+
"pg_xlogfile_name_offset",
|
| 630 |
+
"phraseto_tsquery",
|
| 631 |
+
"pi",
|
| 632 |
+
"plainto_tsquery",
|
| 633 |
+
"point",
|
| 634 |
+
"polygon",
|
| 635 |
+
"popen",
|
| 636 |
+
"position",
|
| 637 |
+
"power",
|
| 638 |
+
"pqserverversion",
|
| 639 |
+
"query_to_xml",
|
| 640 |
+
"query_to_xml_and_xmlschema",
|
| 641 |
+
"query_to_xmlschema",
|
| 642 |
+
"querytree",
|
| 643 |
+
"quote_ident",
|
| 644 |
+
"quote_literal",
|
| 645 |
+
"quote_nullable",
|
| 646 |
+
"radians",
|
| 647 |
+
"radius",
|
| 648 |
+
"random",
|
| 649 |
+
"range_agg",
|
| 650 |
+
"range_intersect_agg",
|
| 651 |
+
"range_merge",
|
| 652 |
+
"rank",
|
| 653 |
+
"regexp_count",
|
| 654 |
+
"regexp_instr",
|
| 655 |
+
"regexp_like",
|
| 656 |
+
"regexp_match",
|
| 657 |
+
"regexp_matches",
|
| 658 |
+
"regexp_replace",
|
| 659 |
+
"regexp_split_to_array",
|
| 660 |
+
"regexp_split_to_table",
|
| 661 |
+
"regexp_substr",
|
| 662 |
+
"regr_avgx",
|
| 663 |
+
"regr_avgy",
|
| 664 |
+
"regr_count",
|
| 665 |
+
"regr_intercept",
|
| 666 |
+
"regr_r2",
|
| 667 |
+
"regr_slope",
|
| 668 |
+
"regr_sxx",
|
| 669 |
+
"regr_sxy",
|
| 670 |
+
"regr_syy",
|
| 671 |
+
"repeat",
|
| 672 |
+
"replace",
|
| 673 |
+
"reverse",
|
| 674 |
+
"right",
|
| 675 |
+
"round",
|
| 676 |
+
"row_number",
|
| 677 |
+
"row_security_active",
|
| 678 |
+
"row_to_json",
|
| 679 |
+
"rpad",
|
| 680 |
+
"rtrim",
|
| 681 |
+
"scale",
|
| 682 |
+
"schema_to_xml",
|
| 683 |
+
"schema_to_xml_and_xmlschema",
|
| 684 |
+
"schema_to_xmlschema",
|
| 685 |
+
"session_user",
|
| 686 |
+
"set_bit",
|
| 687 |
+
"set_byte",
|
| 688 |
+
"set_config",
|
| 689 |
+
"set_masklen",
|
| 690 |
+
"setseed",
|
| 691 |
+
"setval",
|
| 692 |
+
"setweight",
|
| 693 |
+
"sha224",
|
| 694 |
+
"sha256",
|
| 695 |
+
"sha384",
|
| 696 |
+
"sha512",
|
| 697 |
+
"shobj_description",
|
| 698 |
+
"sign",
|
| 699 |
+
"sin",
|
| 700 |
+
"sind",
|
| 701 |
+
"sinh",
|
| 702 |
+
"slope",
|
| 703 |
+
"split_part",
|
| 704 |
+
"sprintf",
|
| 705 |
+
"sqrt",
|
| 706 |
+
"starts_with",
|
| 707 |
+
"statement_timestamp",
|
| 708 |
+
"stddev",
|
| 709 |
+
"stddev_pop",
|
| 710 |
+
"stddev_samp",
|
| 711 |
+
"string_agg",
|
| 712 |
+
"string_to_array",
|
| 713 |
+
"string_to_table",
|
| 714 |
+
"strip",
|
| 715 |
+
"strpos",
|
| 716 |
+
"substr",
|
| 717 |
+
"substring",
|
| 718 |
+
"sum",
|
| 719 |
+
"suppress_redundant_updates_trigger",
|
| 720 |
+
"table_to_xml",
|
| 721 |
+
"table_to_xml_and_xmlschema",
|
| 722 |
+
"table_to_xmlschema",
|
| 723 |
+
"tan",
|
| 724 |
+
"tand",
|
| 725 |
+
"tanh",
|
| 726 |
+
"text",
|
| 727 |
+
"timeofday",
|
| 728 |
+
"timezone",
|
| 729 |
+
"to_ascii",
|
| 730 |
+
"to_char",
|
| 731 |
+
"to_date",
|
| 732 |
+
"to_hex",
|
| 733 |
+
"to_json",
|
| 734 |
+
"to_number",
|
| 735 |
+
"to_regclass",
|
| 736 |
+
"to_regcollation",
|
| 737 |
+
"to_regnamespace",
|
| 738 |
+
"to_regoper",
|
| 739 |
+
"to_regoperator",
|
| 740 |
+
"to_regproc",
|
| 741 |
+
"to_regprocedure",
|
| 742 |
+
"to_regrole",
|
| 743 |
+
"to_regtype",
|
| 744 |
+
"to_timestamp",
|
| 745 |
+
"to_tsquery",
|
| 746 |
+
"to_tsvector",
|
| 747 |
+
"transaction_timestamp",
|
| 748 |
+
"translate",
|
| 749 |
+
"trim",
|
| 750 |
+
"trim_array",
|
| 751 |
+
"trim_scale",
|
| 752 |
+
"trunc",
|
| 753 |
+
"ts_debug",
|
| 754 |
+
"ts_delete",
|
| 755 |
+
"ts_filter",
|
| 756 |
+
"ts_headline",
|
| 757 |
+
"ts_lexize",
|
| 758 |
+
"ts_parse",
|
| 759 |
+
"ts_rank",
|
| 760 |
+
"ts_rank_cd",
|
| 761 |
+
"ts_rewrite",
|
| 762 |
+
"ts_stat",
|
| 763 |
+
"ts_token_type",
|
| 764 |
+
"tsquery_phrase",
|
| 765 |
+
"tsvector_to_array",
|
| 766 |
+
"tsvector_update_trigger",
|
| 767 |
+
"tsvector_update_trigger_column",
|
| 768 |
+
"txid_current",
|
| 769 |
+
"txid_current_if_assigned",
|
| 770 |
+
"txid_current_snapshot",
|
| 771 |
+
"txid_snapshot_xip",
|
| 772 |
+
"txid_snapshot_xmax",
|
| 773 |
+
"txid_snapshot_xmin",
|
| 774 |
+
"txid_status",
|
| 775 |
+
"txid_visible_in_snapshot",
|
| 776 |
+
"unistr",
|
| 777 |
+
"unnest",
|
| 778 |
+
"upper",
|
| 779 |
+
"upper_inc",
|
| 780 |
+
"upper_inf",
|
| 781 |
+
"user",
|
| 782 |
+
"var_pop",
|
| 783 |
+
"var_samp",
|
| 784 |
+
"variance",
|
| 785 |
+
"version",
|
| 786 |
+
"websearch_to_tsquery",
|
| 787 |
+
"width",
|
| 788 |
+
"width_bucket",
|
| 789 |
+
"xml_is_well_formed",
|
| 790 |
+
"xml_is_well_formed_content",
|
| 791 |
+
"xml_is_well_formed_document",
|
| 792 |
+
"xmlagg",
|
| 793 |
+
"xmlcomment",
|
| 794 |
+
"xmlconcat",
|
| 795 |
+
"xmlelement",
|
| 796 |
+
"xmlexists",
|
| 797 |
+
"xmlforest",
|
| 798 |
+
"xmlparse",
|
| 799 |
+
"xmlpi",
|
| 800 |
+
"xmlroot",
|
| 801 |
+
"xmlserialize",
|
| 802 |
+
"xpath",
|
| 803 |
+
"xpath_exists"
|
| 804 |
+
],
|
| 805 |
+
builtinVariables: [
|
| 806 |
+
// NOT SUPPORTED
|
| 807 |
+
],
|
| 808 |
+
pseudoColumns: [
|
| 809 |
+
// NOT SUPPORTED
|
| 810 |
+
],
|
| 811 |
+
tokenizer: {
|
| 812 |
+
root: [
|
| 813 |
+
{ include: "@comments" },
|
| 814 |
+
{ include: "@whitespace" },
|
| 815 |
+
{ include: "@pseudoColumns" },
|
| 816 |
+
{ include: "@numbers" },
|
| 817 |
+
{ include: "@strings" },
|
| 818 |
+
{ include: "@complexIdentifiers" },
|
| 819 |
+
{ include: "@scopes" },
|
| 820 |
+
[/[;,.]/, "delimiter"],
|
| 821 |
+
[/[()]/, "@brackets"],
|
| 822 |
+
[
|
| 823 |
+
/[\w@#$]+/,
|
| 824 |
+
{
|
| 825 |
+
cases: {
|
| 826 |
+
"@operators": "operator",
|
| 827 |
+
"@builtinVariables": "predefined",
|
| 828 |
+
"@builtinFunctions": "predefined",
|
| 829 |
+
"@keywords": "keyword",
|
| 830 |
+
"@default": "identifier"
|
| 831 |
+
}
|
| 832 |
+
}
|
| 833 |
+
],
|
| 834 |
+
[/[<>=!%&+\-*/|~^]/, "operator"]
|
| 835 |
+
],
|
| 836 |
+
whitespace: [[/\s+/, "white"]],
|
| 837 |
+
comments: [
|
| 838 |
+
[/--+.*/, "comment"],
|
| 839 |
+
[/\/\*/, { token: "comment.quote", next: "@comment" }]
|
| 840 |
+
],
|
| 841 |
+
comment: [
|
| 842 |
+
[/[^*/]+/, "comment"],
|
| 843 |
+
// Not supporting nested comments, as nested comments seem to not be standard?
|
| 844 |
+
// i.e. http://stackoverflow.com/questions/728172/are-there-multiline-comment-delimiters-in-sql-that-are-vendor-agnostic
|
| 845 |
+
// [/\/\*/, { token: 'comment.quote', next: '@push' }], // nested comment not allowed :-(
|
| 846 |
+
[/\*\//, { token: "comment.quote", next: "@pop" }],
|
| 847 |
+
[/./, "comment"]
|
| 848 |
+
],
|
| 849 |
+
pseudoColumns: [
|
| 850 |
+
[
|
| 851 |
+
/[$][A-Za-z_][\w@#$]*/,
|
| 852 |
+
{
|
| 853 |
+
cases: {
|
| 854 |
+
"@pseudoColumns": "predefined",
|
| 855 |
+
"@default": "identifier"
|
| 856 |
+
}
|
| 857 |
+
}
|
| 858 |
+
]
|
| 859 |
+
],
|
| 860 |
+
numbers: [
|
| 861 |
+
[/0[xX][0-9a-fA-F]*/, "number"],
|
| 862 |
+
[/[$][+-]*\d*(\.\d*)?/, "number"],
|
| 863 |
+
[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/, "number"]
|
| 864 |
+
],
|
| 865 |
+
strings: [[/'/, { token: "string", next: "@string" }]],
|
| 866 |
+
string: [
|
| 867 |
+
[/[^']+/, "string"],
|
| 868 |
+
[/''/, "string"],
|
| 869 |
+
[/'/, { token: "string", next: "@pop" }]
|
| 870 |
+
],
|
| 871 |
+
complexIdentifiers: [[/"/, { token: "identifier.quote", next: "@quotedIdentifier" }]],
|
| 872 |
+
quotedIdentifier: [
|
| 873 |
+
[/[^"]+/, "identifier"],
|
| 874 |
+
[/""/, "identifier"],
|
| 875 |
+
[/"/, { token: "identifier.quote", next: "@pop" }]
|
| 876 |
+
],
|
| 877 |
+
scopes: [
|
| 878 |
+
// NOT SUPPORTED
|
| 879 |
+
]
|
| 880 |
+
}
|
| 881 |
+
};
|
| 882 |
+
return __toCommonJS(pgsql_exports);
|
| 883 |
+
})();
|
| 884 |
+
return moduleExports;
|
| 885 |
+
});
|
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/basic-languages/php/php.js
ADDED
|
@@ -0,0 +1,534 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!-----------------------------------------------------------------------------
|
| 2 |
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
| 3 |
+
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
| 4 |
+
* Released under the MIT license
|
| 5 |
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
| 6 |
+
*-----------------------------------------------------------------------------*/
|
| 7 |
+
define("vs/basic-languages/php/php", ["require"],(require)=>{
|
| 8 |
+
"use strict";
|
| 9 |
+
var moduleExports = (() => {
|
| 10 |
+
var __defProp = Object.defineProperty;
|
| 11 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 12 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 13 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 14 |
+
var __export = (target, all) => {
|
| 15 |
+
for (var name in all)
|
| 16 |
+
__defProp(target, name, { get: all[name], enumerable: true });
|
| 17 |
+
};
|
| 18 |
+
var __copyProps = (to, from, except, desc) => {
|
| 19 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 20 |
+
for (let key of __getOwnPropNames(from))
|
| 21 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 22 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 23 |
+
}
|
| 24 |
+
return to;
|
| 25 |
+
};
|
| 26 |
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
| 27 |
+
|
| 28 |
+
// src/basic-languages/php/php.ts
|
| 29 |
+
var php_exports = {};
|
| 30 |
+
__export(php_exports, {
|
| 31 |
+
conf: () => conf,
|
| 32 |
+
language: () => language
|
| 33 |
+
});
|
| 34 |
+
var conf = {
|
| 35 |
+
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
|
| 36 |
+
comments: {
|
| 37 |
+
lineComment: "//",
|
| 38 |
+
blockComment: ["/*", "*/"]
|
| 39 |
+
},
|
| 40 |
+
brackets: [
|
| 41 |
+
["{", "}"],
|
| 42 |
+
["[", "]"],
|
| 43 |
+
["(", ")"]
|
| 44 |
+
],
|
| 45 |
+
autoClosingPairs: [
|
| 46 |
+
{ open: "{", close: "}", notIn: ["string"] },
|
| 47 |
+
{ open: "[", close: "]", notIn: ["string"] },
|
| 48 |
+
{ open: "(", close: ")", notIn: ["string"] },
|
| 49 |
+
{ open: '"', close: '"', notIn: ["string"] },
|
| 50 |
+
{ open: "'", close: "'", notIn: ["string", "comment"] }
|
| 51 |
+
],
|
| 52 |
+
folding: {
|
| 53 |
+
markers: {
|
| 54 |
+
start: new RegExp("^\\s*(#|//)region\\b"),
|
| 55 |
+
end: new RegExp("^\\s*(#|//)endregion\\b")
|
| 56 |
+
}
|
| 57 |
+
}
|
| 58 |
+
};
|
| 59 |
+
var language = {
|
| 60 |
+
defaultToken: "",
|
| 61 |
+
tokenPostfix: "",
|
| 62 |
+
// ignoreCase: true,
|
| 63 |
+
// The main tokenizer for our languages
|
| 64 |
+
tokenizer: {
|
| 65 |
+
root: [
|
| 66 |
+
[/<\?((php)|=)?/, { token: "@rematch", switchTo: "@phpInSimpleState.root" }],
|
| 67 |
+
[/<!DOCTYPE/, "metatag.html", "@doctype"],
|
| 68 |
+
[/<!--/, "comment.html", "@comment"],
|
| 69 |
+
[/(<)(\w+)(\/>)/, ["delimiter.html", "tag.html", "delimiter.html"]],
|
| 70 |
+
[/(<)(script)/, ["delimiter.html", { token: "tag.html", next: "@script" }]],
|
| 71 |
+
[/(<)(style)/, ["delimiter.html", { token: "tag.html", next: "@style" }]],
|
| 72 |
+
[/(<)([:\w]+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
|
| 73 |
+
[/(<\/)(\w+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
|
| 74 |
+
[/</, "delimiter.html"],
|
| 75 |
+
[/[^<]+/]
|
| 76 |
+
// text
|
| 77 |
+
],
|
| 78 |
+
doctype: [
|
| 79 |
+
[/<\?((php)|=)?/, { token: "@rematch", switchTo: "@phpInSimpleState.comment" }],
|
| 80 |
+
[/[^>]+/, "metatag.content.html"],
|
| 81 |
+
[/>/, "metatag.html", "@pop"]
|
| 82 |
+
],
|
| 83 |
+
comment: [
|
| 84 |
+
[/<\?((php)|=)?/, { token: "@rematch", switchTo: "@phpInSimpleState.comment" }],
|
| 85 |
+
[/-->/, "comment.html", "@pop"],
|
| 86 |
+
[/[^-]+/, "comment.content.html"],
|
| 87 |
+
[/./, "comment.content.html"]
|
| 88 |
+
],
|
| 89 |
+
otherTag: [
|
| 90 |
+
[/<\?((php)|=)?/, { token: "@rematch", switchTo: "@phpInSimpleState.otherTag" }],
|
| 91 |
+
[/\/?>/, "delimiter.html", "@pop"],
|
| 92 |
+
[/"([^"]*)"/, "attribute.value"],
|
| 93 |
+
[/'([^']*)'/, "attribute.value"],
|
| 94 |
+
[/[\w\-]+/, "attribute.name"],
|
| 95 |
+
[/=/, "delimiter"],
|
| 96 |
+
[/[ \t\r\n]+/]
|
| 97 |
+
// whitespace
|
| 98 |
+
],
|
| 99 |
+
// -- BEGIN <script> tags handling
|
| 100 |
+
// After <script
|
| 101 |
+
script: [
|
| 102 |
+
[/<\?((php)|=)?/, { token: "@rematch", switchTo: "@phpInSimpleState.script" }],
|
| 103 |
+
[/type/, "attribute.name", "@scriptAfterType"],
|
| 104 |
+
[/"([^"]*)"/, "attribute.value"],
|
| 105 |
+
[/'([^']*)'/, "attribute.value"],
|
| 106 |
+
[/[\w\-]+/, "attribute.name"],
|
| 107 |
+
[/=/, "delimiter"],
|
| 108 |
+
[
|
| 109 |
+
/>/,
|
| 110 |
+
{
|
| 111 |
+
token: "delimiter.html",
|
| 112 |
+
next: "@scriptEmbedded.text/javascript",
|
| 113 |
+
nextEmbedded: "text/javascript"
|
| 114 |
+
}
|
| 115 |
+
],
|
| 116 |
+
[/[ \t\r\n]+/],
|
| 117 |
+
// whitespace
|
| 118 |
+
[
|
| 119 |
+
/(<\/)(script\s*)(>)/,
|
| 120 |
+
["delimiter.html", "tag.html", { token: "delimiter.html", next: "@pop" }]
|
| 121 |
+
]
|
| 122 |
+
],
|
| 123 |
+
// After <script ... type
|
| 124 |
+
scriptAfterType: [
|
| 125 |
+
[
|
| 126 |
+
/<\?((php)|=)?/,
|
| 127 |
+
{
|
| 128 |
+
token: "@rematch",
|
| 129 |
+
switchTo: "@phpInSimpleState.scriptAfterType"
|
| 130 |
+
}
|
| 131 |
+
],
|
| 132 |
+
[/=/, "delimiter", "@scriptAfterTypeEquals"],
|
| 133 |
+
[
|
| 134 |
+
/>/,
|
| 135 |
+
{
|
| 136 |
+
token: "delimiter.html",
|
| 137 |
+
next: "@scriptEmbedded.text/javascript",
|
| 138 |
+
nextEmbedded: "text/javascript"
|
| 139 |
+
}
|
| 140 |
+
],
|
| 141 |
+
// cover invalid e.g. <script type>
|
| 142 |
+
[/[ \t\r\n]+/],
|
| 143 |
+
// whitespace
|
| 144 |
+
[/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
|
| 145 |
+
],
|
| 146 |
+
// After <script ... type =
|
| 147 |
+
scriptAfterTypeEquals: [
|
| 148 |
+
[
|
| 149 |
+
/<\?((php)|=)?/,
|
| 150 |
+
{
|
| 151 |
+
token: "@rematch",
|
| 152 |
+
switchTo: "@phpInSimpleState.scriptAfterTypeEquals"
|
| 153 |
+
}
|
| 154 |
+
],
|
| 155 |
+
[
|
| 156 |
+
/"([^"]*)"/,
|
| 157 |
+
{
|
| 158 |
+
token: "attribute.value",
|
| 159 |
+
switchTo: "@scriptWithCustomType.$1"
|
| 160 |
+
}
|
| 161 |
+
],
|
| 162 |
+
[
|
| 163 |
+
/'([^']*)'/,
|
| 164 |
+
{
|
| 165 |
+
token: "attribute.value",
|
| 166 |
+
switchTo: "@scriptWithCustomType.$1"
|
| 167 |
+
}
|
| 168 |
+
],
|
| 169 |
+
[
|
| 170 |
+
/>/,
|
| 171 |
+
{
|
| 172 |
+
token: "delimiter.html",
|
| 173 |
+
next: "@scriptEmbedded.text/javascript",
|
| 174 |
+
nextEmbedded: "text/javascript"
|
| 175 |
+
}
|
| 176 |
+
],
|
| 177 |
+
// cover invalid e.g. <script type=>
|
| 178 |
+
[/[ \t\r\n]+/],
|
| 179 |
+
// whitespace
|
| 180 |
+
[/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
|
| 181 |
+
],
|
| 182 |
+
// After <script ... type = $S2
|
| 183 |
+
scriptWithCustomType: [
|
| 184 |
+
[
|
| 185 |
+
/<\?((php)|=)?/,
|
| 186 |
+
{
|
| 187 |
+
token: "@rematch",
|
| 188 |
+
switchTo: "@phpInSimpleState.scriptWithCustomType.$S2"
|
| 189 |
+
}
|
| 190 |
+
],
|
| 191 |
+
[
|
| 192 |
+
/>/,
|
| 193 |
+
{
|
| 194 |
+
token: "delimiter.html",
|
| 195 |
+
next: "@scriptEmbedded.$S2",
|
| 196 |
+
nextEmbedded: "$S2"
|
| 197 |
+
}
|
| 198 |
+
],
|
| 199 |
+
[/"([^"]*)"/, "attribute.value"],
|
| 200 |
+
[/'([^']*)'/, "attribute.value"],
|
| 201 |
+
[/[\w\-]+/, "attribute.name"],
|
| 202 |
+
[/=/, "delimiter"],
|
| 203 |
+
[/[ \t\r\n]+/],
|
| 204 |
+
// whitespace
|
| 205 |
+
[/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
|
| 206 |
+
],
|
| 207 |
+
scriptEmbedded: [
|
| 208 |
+
[
|
| 209 |
+
/<\?((php)|=)?/,
|
| 210 |
+
{
|
| 211 |
+
token: "@rematch",
|
| 212 |
+
switchTo: "@phpInEmbeddedState.scriptEmbedded.$S2",
|
| 213 |
+
nextEmbedded: "@pop"
|
| 214 |
+
}
|
| 215 |
+
],
|
| 216 |
+
[/<\/script/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }]
|
| 217 |
+
],
|
| 218 |
+
// -- END <script> tags handling
|
| 219 |
+
// -- BEGIN <style> tags handling
|
| 220 |
+
// After <style
|
| 221 |
+
style: [
|
| 222 |
+
[/<\?((php)|=)?/, { token: "@rematch", switchTo: "@phpInSimpleState.style" }],
|
| 223 |
+
[/type/, "attribute.name", "@styleAfterType"],
|
| 224 |
+
[/"([^"]*)"/, "attribute.value"],
|
| 225 |
+
[/'([^']*)'/, "attribute.value"],
|
| 226 |
+
[/[\w\-]+/, "attribute.name"],
|
| 227 |
+
[/=/, "delimiter"],
|
| 228 |
+
[
|
| 229 |
+
/>/,
|
| 230 |
+
{
|
| 231 |
+
token: "delimiter.html",
|
| 232 |
+
next: "@styleEmbedded.text/css",
|
| 233 |
+
nextEmbedded: "text/css"
|
| 234 |
+
}
|
| 235 |
+
],
|
| 236 |
+
[/[ \t\r\n]+/],
|
| 237 |
+
// whitespace
|
| 238 |
+
[
|
| 239 |
+
/(<\/)(style\s*)(>)/,
|
| 240 |
+
["delimiter.html", "tag.html", { token: "delimiter.html", next: "@pop" }]
|
| 241 |
+
]
|
| 242 |
+
],
|
| 243 |
+
// After <style ... type
|
| 244 |
+
styleAfterType: [
|
| 245 |
+
[
|
| 246 |
+
/<\?((php)|=)?/,
|
| 247 |
+
{
|
| 248 |
+
token: "@rematch",
|
| 249 |
+
switchTo: "@phpInSimpleState.styleAfterType"
|
| 250 |
+
}
|
| 251 |
+
],
|
| 252 |
+
[/=/, "delimiter", "@styleAfterTypeEquals"],
|
| 253 |
+
[
|
| 254 |
+
/>/,
|
| 255 |
+
{
|
| 256 |
+
token: "delimiter.html",
|
| 257 |
+
next: "@styleEmbedded.text/css",
|
| 258 |
+
nextEmbedded: "text/css"
|
| 259 |
+
}
|
| 260 |
+
],
|
| 261 |
+
// cover invalid e.g. <style type>
|
| 262 |
+
[/[ \t\r\n]+/],
|
| 263 |
+
// whitespace
|
| 264 |
+
[/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
|
| 265 |
+
],
|
| 266 |
+
// After <style ... type =
|
| 267 |
+
styleAfterTypeEquals: [
|
| 268 |
+
[
|
| 269 |
+
/<\?((php)|=)?/,
|
| 270 |
+
{
|
| 271 |
+
token: "@rematch",
|
| 272 |
+
switchTo: "@phpInSimpleState.styleAfterTypeEquals"
|
| 273 |
+
}
|
| 274 |
+
],
|
| 275 |
+
[
|
| 276 |
+
/"([^"]*)"/,
|
| 277 |
+
{
|
| 278 |
+
token: "attribute.value",
|
| 279 |
+
switchTo: "@styleWithCustomType.$1"
|
| 280 |
+
}
|
| 281 |
+
],
|
| 282 |
+
[
|
| 283 |
+
/'([^']*)'/,
|
| 284 |
+
{
|
| 285 |
+
token: "attribute.value",
|
| 286 |
+
switchTo: "@styleWithCustomType.$1"
|
| 287 |
+
}
|
| 288 |
+
],
|
| 289 |
+
[
|
| 290 |
+
/>/,
|
| 291 |
+
{
|
| 292 |
+
token: "delimiter.html",
|
| 293 |
+
next: "@styleEmbedded.text/css",
|
| 294 |
+
nextEmbedded: "text/css"
|
| 295 |
+
}
|
| 296 |
+
],
|
| 297 |
+
// cover invalid e.g. <style type=>
|
| 298 |
+
[/[ \t\r\n]+/],
|
| 299 |
+
// whitespace
|
| 300 |
+
[/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
|
| 301 |
+
],
|
| 302 |
+
// After <style ... type = $S2
|
| 303 |
+
styleWithCustomType: [
|
| 304 |
+
[
|
| 305 |
+
/<\?((php)|=)?/,
|
| 306 |
+
{
|
| 307 |
+
token: "@rematch",
|
| 308 |
+
switchTo: "@phpInSimpleState.styleWithCustomType.$S2"
|
| 309 |
+
}
|
| 310 |
+
],
|
| 311 |
+
[
|
| 312 |
+
/>/,
|
| 313 |
+
{
|
| 314 |
+
token: "delimiter.html",
|
| 315 |
+
next: "@styleEmbedded.$S2",
|
| 316 |
+
nextEmbedded: "$S2"
|
| 317 |
+
}
|
| 318 |
+
],
|
| 319 |
+
[/"([^"]*)"/, "attribute.value"],
|
| 320 |
+
[/'([^']*)'/, "attribute.value"],
|
| 321 |
+
[/[\w\-]+/, "attribute.name"],
|
| 322 |
+
[/=/, "delimiter"],
|
| 323 |
+
[/[ \t\r\n]+/],
|
| 324 |
+
// whitespace
|
| 325 |
+
[/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
|
| 326 |
+
],
|
| 327 |
+
styleEmbedded: [
|
| 328 |
+
[
|
| 329 |
+
/<\?((php)|=)?/,
|
| 330 |
+
{
|
| 331 |
+
token: "@rematch",
|
| 332 |
+
switchTo: "@phpInEmbeddedState.styleEmbedded.$S2",
|
| 333 |
+
nextEmbedded: "@pop"
|
| 334 |
+
}
|
| 335 |
+
],
|
| 336 |
+
[/<\/style/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }]
|
| 337 |
+
],
|
| 338 |
+
// -- END <style> tags handling
|
| 339 |
+
phpInSimpleState: [
|
| 340 |
+
[/<\?((php)|=)?/, "metatag.php"],
|
| 341 |
+
[/\?>/, { token: "metatag.php", switchTo: "@$S2.$S3" }],
|
| 342 |
+
{ include: "phpRoot" }
|
| 343 |
+
],
|
| 344 |
+
phpInEmbeddedState: [
|
| 345 |
+
[/<\?((php)|=)?/, "metatag.php"],
|
| 346 |
+
[
|
| 347 |
+
/\?>/,
|
| 348 |
+
{
|
| 349 |
+
token: "metatag.php",
|
| 350 |
+
switchTo: "@$S2.$S3",
|
| 351 |
+
nextEmbedded: "$S3"
|
| 352 |
+
}
|
| 353 |
+
],
|
| 354 |
+
{ include: "phpRoot" }
|
| 355 |
+
],
|
| 356 |
+
phpRoot: [
|
| 357 |
+
[
|
| 358 |
+
/[a-zA-Z_]\w*/,
|
| 359 |
+
{
|
| 360 |
+
cases: {
|
| 361 |
+
"@phpKeywords": { token: "keyword.php" },
|
| 362 |
+
"@phpCompileTimeConstants": { token: "constant.php" },
|
| 363 |
+
"@default": "identifier.php"
|
| 364 |
+
}
|
| 365 |
+
}
|
| 366 |
+
],
|
| 367 |
+
[
|
| 368 |
+
/[$a-zA-Z_]\w*/,
|
| 369 |
+
{
|
| 370 |
+
cases: {
|
| 371 |
+
"@phpPreDefinedVariables": {
|
| 372 |
+
token: "variable.predefined.php"
|
| 373 |
+
},
|
| 374 |
+
"@default": "variable.php"
|
| 375 |
+
}
|
| 376 |
+
}
|
| 377 |
+
],
|
| 378 |
+
// brackets
|
| 379 |
+
[/[{}]/, "delimiter.bracket.php"],
|
| 380 |
+
[/[\[\]]/, "delimiter.array.php"],
|
| 381 |
+
[/[()]/, "delimiter.parenthesis.php"],
|
| 382 |
+
// whitespace
|
| 383 |
+
[/[ \t\r\n]+/],
|
| 384 |
+
// comments
|
| 385 |
+
[/(#|\/\/)$/, "comment.php"],
|
| 386 |
+
[/(#|\/\/)/, "comment.php", "@phpLineComment"],
|
| 387 |
+
// block comments
|
| 388 |
+
[/\/\*/, "comment.php", "@phpComment"],
|
| 389 |
+
// strings
|
| 390 |
+
[/"/, "string.php", "@phpDoubleQuoteString"],
|
| 391 |
+
[/'/, "string.php", "@phpSingleQuoteString"],
|
| 392 |
+
// delimiters
|
| 393 |
+
[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,\@]/, "delimiter.php"],
|
| 394 |
+
// numbers
|
| 395 |
+
[/\d*\d+[eE]([\-+]?\d+)?/, "number.float.php"],
|
| 396 |
+
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float.php"],
|
| 397 |
+
[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/, "number.hex.php"],
|
| 398 |
+
[/0[0-7']*[0-7]/, "number.octal.php"],
|
| 399 |
+
[/0[bB][0-1']*[0-1]/, "number.binary.php"],
|
| 400 |
+
[/\d[\d']*/, "number.php"],
|
| 401 |
+
[/\d/, "number.php"]
|
| 402 |
+
],
|
| 403 |
+
phpComment: [
|
| 404 |
+
[/\*\//, "comment.php", "@pop"],
|
| 405 |
+
[/[^*]+/, "comment.php"],
|
| 406 |
+
[/./, "comment.php"]
|
| 407 |
+
],
|
| 408 |
+
phpLineComment: [
|
| 409 |
+
[/\?>/, { token: "@rematch", next: "@pop" }],
|
| 410 |
+
[/.$/, "comment.php", "@pop"],
|
| 411 |
+
[/[^?]+$/, "comment.php", "@pop"],
|
| 412 |
+
[/[^?]+/, "comment.php"],
|
| 413 |
+
[/./, "comment.php"]
|
| 414 |
+
],
|
| 415 |
+
phpDoubleQuoteString: [
|
| 416 |
+
[/[^\\"]+/, "string.php"],
|
| 417 |
+
[/@escapes/, "string.escape.php"],
|
| 418 |
+
[/\\./, "string.escape.invalid.php"],
|
| 419 |
+
[/"/, "string.php", "@pop"]
|
| 420 |
+
],
|
| 421 |
+
phpSingleQuoteString: [
|
| 422 |
+
[/[^\\']+/, "string.php"],
|
| 423 |
+
[/@escapes/, "string.escape.php"],
|
| 424 |
+
[/\\./, "string.escape.invalid.php"],
|
| 425 |
+
[/'/, "string.php", "@pop"]
|
| 426 |
+
]
|
| 427 |
+
},
|
| 428 |
+
phpKeywords: [
|
| 429 |
+
"abstract",
|
| 430 |
+
"and",
|
| 431 |
+
"array",
|
| 432 |
+
"as",
|
| 433 |
+
"break",
|
| 434 |
+
"callable",
|
| 435 |
+
"case",
|
| 436 |
+
"catch",
|
| 437 |
+
"cfunction",
|
| 438 |
+
"class",
|
| 439 |
+
"clone",
|
| 440 |
+
"const",
|
| 441 |
+
"continue",
|
| 442 |
+
"declare",
|
| 443 |
+
"default",
|
| 444 |
+
"do",
|
| 445 |
+
"else",
|
| 446 |
+
"elseif",
|
| 447 |
+
"enddeclare",
|
| 448 |
+
"endfor",
|
| 449 |
+
"endforeach",
|
| 450 |
+
"endif",
|
| 451 |
+
"endswitch",
|
| 452 |
+
"endwhile",
|
| 453 |
+
"extends",
|
| 454 |
+
"false",
|
| 455 |
+
"final",
|
| 456 |
+
"for",
|
| 457 |
+
"foreach",
|
| 458 |
+
"function",
|
| 459 |
+
"global",
|
| 460 |
+
"goto",
|
| 461 |
+
"if",
|
| 462 |
+
"implements",
|
| 463 |
+
"interface",
|
| 464 |
+
"instanceof",
|
| 465 |
+
"insteadof",
|
| 466 |
+
"namespace",
|
| 467 |
+
"new",
|
| 468 |
+
"null",
|
| 469 |
+
"object",
|
| 470 |
+
"old_function",
|
| 471 |
+
"or",
|
| 472 |
+
"private",
|
| 473 |
+
"protected",
|
| 474 |
+
"public",
|
| 475 |
+
"resource",
|
| 476 |
+
"static",
|
| 477 |
+
"switch",
|
| 478 |
+
"throw",
|
| 479 |
+
"trait",
|
| 480 |
+
"try",
|
| 481 |
+
"true",
|
| 482 |
+
"use",
|
| 483 |
+
"var",
|
| 484 |
+
"while",
|
| 485 |
+
"xor",
|
| 486 |
+
"die",
|
| 487 |
+
"echo",
|
| 488 |
+
"empty",
|
| 489 |
+
"exit",
|
| 490 |
+
"eval",
|
| 491 |
+
"include",
|
| 492 |
+
"include_once",
|
| 493 |
+
"isset",
|
| 494 |
+
"list",
|
| 495 |
+
"require",
|
| 496 |
+
"require_once",
|
| 497 |
+
"return",
|
| 498 |
+
"print",
|
| 499 |
+
"unset",
|
| 500 |
+
"yield",
|
| 501 |
+
"__construct"
|
| 502 |
+
],
|
| 503 |
+
phpCompileTimeConstants: [
|
| 504 |
+
"__CLASS__",
|
| 505 |
+
"__DIR__",
|
| 506 |
+
"__FILE__",
|
| 507 |
+
"__LINE__",
|
| 508 |
+
"__NAMESPACE__",
|
| 509 |
+
"__METHOD__",
|
| 510 |
+
"__FUNCTION__",
|
| 511 |
+
"__TRAIT__"
|
| 512 |
+
],
|
| 513 |
+
phpPreDefinedVariables: [
|
| 514 |
+
"$GLOBALS",
|
| 515 |
+
"$_SERVER",
|
| 516 |
+
"$_GET",
|
| 517 |
+
"$_POST",
|
| 518 |
+
"$_FILES",
|
| 519 |
+
"$_REQUEST",
|
| 520 |
+
"$_SESSION",
|
| 521 |
+
"$_ENV",
|
| 522 |
+
"$_COOKIE",
|
| 523 |
+
"$php_errormsg",
|
| 524 |
+
"$HTTP_RAW_POST_DATA",
|
| 525 |
+
"$http_response_header",
|
| 526 |
+
"$argc",
|
| 527 |
+
"$argv"
|
| 528 |
+
],
|
| 529 |
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/
|
| 530 |
+
};
|
| 531 |
+
return __toCommonJS(php_exports);
|
| 532 |
+
})();
|
| 533 |
+
return moduleExports;
|
| 534 |
+
});
|