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 +1 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/cameligo/cameligo.contribution.js +24 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/cameligo/cameligo.js +184 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/clojure/clojure.contribution.d.ts +1 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/clojure/clojure.contribution.js +24 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/clojure/clojure.js +771 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/coffee/coffee.contribution.d.ts +1 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/coffee/coffee.contribution.js +25 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/coffee/coffee.js +242 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/cpp/cpp.contribution.d.ts +1 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/cpp/cpp.contribution.js +38 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/cpp/cpp.js +399 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/csharp/csharp.contribution.d.ts +1 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/csharp/csharp.contribution.js +24 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/csharp/csharp.js +336 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/csp/csp.contribution.d.ts +1 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/csp/csp.contribution.js +24 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/csp/csp.js +63 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/css/css.contribution.d.ts +1 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/css/css.contribution.js +25 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/css/css.js +195 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/cypher/cypher.contribution.d.ts +1 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/cypher/cypher.contribution.js +24 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/cypher/cypher.js +273 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/dart/dart.contribution.d.ts +1 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/dart/dart.contribution.js +25 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/dart/dart.js +291 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/dockerfile/dockerfile.contribution.d.ts +1 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/dockerfile/dockerfile.contribution.js +25 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/dockerfile/dockerfile.js +140 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/ecl/ecl.contribution.d.ts +1 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/ecl/ecl.contribution.js +24 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/ecl/ecl.js +466 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/elixir/elixir.contribution.d.ts +1 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/elixir/elixir.contribution.js +24 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/elixir/elixir.js +579 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/flow9/flow9.contribution.d.ts +1 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/flow9/flow9.contribution.js +24 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/flow9/flow9.js +152 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/freemarker2/freemarker2.contribution.d.ts +1 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/freemarker2/freemarker2.contribution.js +102 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/freemarker2/freemarker2.js +1021 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/fsharp/fsharp.contribution.d.ts +1 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/fsharp/fsharp.contribution.js +24 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/fsharp/fsharp.js +227 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/go/go.contribution.d.ts +1 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/go/go.contribution.js +24 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/go/go.js +228 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/graphql/graphql.contribution.d.ts +1 -0
- platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/graphql/graphql.contribution.js +25 -0
.gitattributes
CHANGED
|
@@ -1952,3 +1952,4 @@ platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-c
|
|
| 1952 |
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/esbuild/bin/esbuild filter=lfs diff=lfs merge=lfs -text
|
| 1953 |
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/dev/vs/editor/editor.main.js.map filter=lfs diff=lfs merge=lfs -text
|
| 1954 |
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/dev/vs/language/typescript/tsWorker.js filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 1952 |
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/esbuild/bin/esbuild filter=lfs diff=lfs merge=lfs -text
|
| 1953 |
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/dev/vs/editor/editor.main.js.map filter=lfs diff=lfs merge=lfs -text
|
| 1954 |
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/dev/vs/language/typescript/tsWorker.js filter=lfs diff=lfs merge=lfs -text
|
| 1955 |
+
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/language/typescript/ts.worker.js filter=lfs diff=lfs merge=lfs -text
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/cameligo/cameligo.contribution.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 8 |
+
|
| 9 |
+
// src/basic-languages/cameligo/cameligo.contribution.ts
|
| 10 |
+
import { registerLanguage } from "../_.contribution.js";
|
| 11 |
+
registerLanguage({
|
| 12 |
+
id: "cameligo",
|
| 13 |
+
extensions: [".mligo"],
|
| 14 |
+
aliases: ["Cameligo"],
|
| 15 |
+
loader: () => {
|
| 16 |
+
if (false) {
|
| 17 |
+
return new Promise((resolve, reject) => {
|
| 18 |
+
__require(["vs/basic-languages/cameligo/cameligo"], resolve, reject);
|
| 19 |
+
});
|
| 20 |
+
} else {
|
| 21 |
+
return import("./cameligo.js");
|
| 22 |
+
}
|
| 23 |
+
}
|
| 24 |
+
});
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/cameligo/cameligo.js
ADDED
|
@@ -0,0 +1,184 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 8 |
+
|
| 9 |
+
// src/basic-languages/cameligo/cameligo.ts
|
| 10 |
+
var conf = {
|
| 11 |
+
comments: {
|
| 12 |
+
lineComment: "//",
|
| 13 |
+
blockComment: ["(*", "*)"]
|
| 14 |
+
},
|
| 15 |
+
brackets: [
|
| 16 |
+
["{", "}"],
|
| 17 |
+
["[", "]"],
|
| 18 |
+
["(", ")"],
|
| 19 |
+
["<", ">"]
|
| 20 |
+
],
|
| 21 |
+
autoClosingPairs: [
|
| 22 |
+
{ open: "{", close: "}" },
|
| 23 |
+
{ open: "[", close: "]" },
|
| 24 |
+
{ open: "(", close: ")" },
|
| 25 |
+
{ open: "<", close: ">" },
|
| 26 |
+
{ open: "'", close: "'" },
|
| 27 |
+
{ open: '"', close: '"' },
|
| 28 |
+
{ open: "(*", close: "*)" }
|
| 29 |
+
],
|
| 30 |
+
surroundingPairs: [
|
| 31 |
+
{ open: "{", close: "}" },
|
| 32 |
+
{ open: "[", close: "]" },
|
| 33 |
+
{ open: "(", close: ")" },
|
| 34 |
+
{ open: "<", close: ">" },
|
| 35 |
+
{ open: "'", close: "'" },
|
| 36 |
+
{ open: '"', close: '"' },
|
| 37 |
+
{ open: "(*", close: "*)" }
|
| 38 |
+
]
|
| 39 |
+
};
|
| 40 |
+
var language = {
|
| 41 |
+
defaultToken: "",
|
| 42 |
+
tokenPostfix: ".cameligo",
|
| 43 |
+
ignoreCase: true,
|
| 44 |
+
brackets: [
|
| 45 |
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
| 46 |
+
{ open: "[", close: "]", token: "delimiter.square" },
|
| 47 |
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
| 48 |
+
{ open: "<", close: ">", token: "delimiter.angle" }
|
| 49 |
+
],
|
| 50 |
+
keywords: [
|
| 51 |
+
"abs",
|
| 52 |
+
"assert",
|
| 53 |
+
"block",
|
| 54 |
+
"Bytes",
|
| 55 |
+
"case",
|
| 56 |
+
"Crypto",
|
| 57 |
+
"Current",
|
| 58 |
+
"else",
|
| 59 |
+
"failwith",
|
| 60 |
+
"false",
|
| 61 |
+
"for",
|
| 62 |
+
"fun",
|
| 63 |
+
"if",
|
| 64 |
+
"in",
|
| 65 |
+
"let",
|
| 66 |
+
"let%entry",
|
| 67 |
+
"let%init",
|
| 68 |
+
"List",
|
| 69 |
+
"list",
|
| 70 |
+
"Map",
|
| 71 |
+
"map",
|
| 72 |
+
"match",
|
| 73 |
+
"match%nat",
|
| 74 |
+
"mod",
|
| 75 |
+
"not",
|
| 76 |
+
"operation",
|
| 77 |
+
"Operation",
|
| 78 |
+
"of",
|
| 79 |
+
"record",
|
| 80 |
+
"Set",
|
| 81 |
+
"set",
|
| 82 |
+
"sender",
|
| 83 |
+
"skip",
|
| 84 |
+
"source",
|
| 85 |
+
"String",
|
| 86 |
+
"then",
|
| 87 |
+
"to",
|
| 88 |
+
"true",
|
| 89 |
+
"type",
|
| 90 |
+
"with"
|
| 91 |
+
],
|
| 92 |
+
typeKeywords: ["int", "unit", "string", "tz", "nat", "bool"],
|
| 93 |
+
operators: [
|
| 94 |
+
"=",
|
| 95 |
+
">",
|
| 96 |
+
"<",
|
| 97 |
+
"<=",
|
| 98 |
+
">=",
|
| 99 |
+
"<>",
|
| 100 |
+
":",
|
| 101 |
+
":=",
|
| 102 |
+
"and",
|
| 103 |
+
"mod",
|
| 104 |
+
"or",
|
| 105 |
+
"+",
|
| 106 |
+
"-",
|
| 107 |
+
"*",
|
| 108 |
+
"/",
|
| 109 |
+
"@",
|
| 110 |
+
"&",
|
| 111 |
+
"^",
|
| 112 |
+
"%",
|
| 113 |
+
"->",
|
| 114 |
+
"<-",
|
| 115 |
+
"&&",
|
| 116 |
+
"||"
|
| 117 |
+
],
|
| 118 |
+
// we include these common regular expressions
|
| 119 |
+
symbols: /[=><:@\^&|+\-*\/\^%]+/,
|
| 120 |
+
// The main tokenizer for our languages
|
| 121 |
+
tokenizer: {
|
| 122 |
+
root: [
|
| 123 |
+
// identifiers and keywords
|
| 124 |
+
[
|
| 125 |
+
/[a-zA-Z_][\w]*/,
|
| 126 |
+
{
|
| 127 |
+
cases: {
|
| 128 |
+
"@keywords": { token: "keyword.$0" },
|
| 129 |
+
"@default": "identifier"
|
| 130 |
+
}
|
| 131 |
+
}
|
| 132 |
+
],
|
| 133 |
+
// whitespace
|
| 134 |
+
{ include: "@whitespace" },
|
| 135 |
+
// delimiters and operators
|
| 136 |
+
[/[{}()\[\]]/, "@brackets"],
|
| 137 |
+
[/[<>](?!@symbols)/, "@brackets"],
|
| 138 |
+
[
|
| 139 |
+
/@symbols/,
|
| 140 |
+
{
|
| 141 |
+
cases: {
|
| 142 |
+
"@operators": "delimiter",
|
| 143 |
+
"@default": ""
|
| 144 |
+
}
|
| 145 |
+
}
|
| 146 |
+
],
|
| 147 |
+
// numbers
|
| 148 |
+
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
| 149 |
+
[/\$[0-9a-fA-F]{1,16}/, "number.hex"],
|
| 150 |
+
[/\d+/, "number"],
|
| 151 |
+
// delimiter: after number because of .\d floats
|
| 152 |
+
[/[;,.]/, "delimiter"],
|
| 153 |
+
// strings
|
| 154 |
+
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
| 155 |
+
// non-teminated string
|
| 156 |
+
[/'/, "string", "@string"],
|
| 157 |
+
// characters
|
| 158 |
+
[/'[^\\']'/, "string"],
|
| 159 |
+
[/'/, "string.invalid"],
|
| 160 |
+
[/\#\d+/, "string"]
|
| 161 |
+
],
|
| 162 |
+
/* */
|
| 163 |
+
comment: [
|
| 164 |
+
[/[^\(\*]+/, "comment"],
|
| 165 |
+
//[/\(\*/, 'comment', '@push' ], // nested comment not allowed :-(
|
| 166 |
+
[/\*\)/, "comment", "@pop"],
|
| 167 |
+
[/\(\*/, "comment"]
|
| 168 |
+
],
|
| 169 |
+
string: [
|
| 170 |
+
[/[^\\']+/, "string"],
|
| 171 |
+
[/\\./, "string.escape.invalid"],
|
| 172 |
+
[/'/, { token: "string.quote", bracket: "@close", next: "@pop" }]
|
| 173 |
+
],
|
| 174 |
+
whitespace: [
|
| 175 |
+
[/[ \t\r\n]+/, "white"],
|
| 176 |
+
[/\(\*/, "comment", "@comment"],
|
| 177 |
+
[/\/\/.*$/, "comment"]
|
| 178 |
+
]
|
| 179 |
+
}
|
| 180 |
+
};
|
| 181 |
+
export {
|
| 182 |
+
conf,
|
| 183 |
+
language
|
| 184 |
+
};
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/clojure/clojure.contribution.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export {}
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/clojure/clojure.contribution.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 8 |
+
|
| 9 |
+
// src/basic-languages/clojure/clojure.contribution.ts
|
| 10 |
+
import { registerLanguage } from "../_.contribution.js";
|
| 11 |
+
registerLanguage({
|
| 12 |
+
id: "clojure",
|
| 13 |
+
extensions: [".clj", ".cljs", ".cljc", ".edn"],
|
| 14 |
+
aliases: ["clojure", "Clojure"],
|
| 15 |
+
loader: () => {
|
| 16 |
+
if (false) {
|
| 17 |
+
return new Promise((resolve, reject) => {
|
| 18 |
+
__require(["vs/basic-languages/clojure/clojure"], resolve, reject);
|
| 19 |
+
});
|
| 20 |
+
} else {
|
| 21 |
+
return import("./clojure.js");
|
| 22 |
+
}
|
| 23 |
+
}
|
| 24 |
+
});
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/clojure/clojure.js
ADDED
|
@@ -0,0 +1,771 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 8 |
+
|
| 9 |
+
// src/basic-languages/clojure/clojure.ts
|
| 10 |
+
var conf = {
|
| 11 |
+
comments: {
|
| 12 |
+
lineComment: ";;"
|
| 13 |
+
},
|
| 14 |
+
brackets: [
|
| 15 |
+
["[", "]"],
|
| 16 |
+
["(", ")"],
|
| 17 |
+
["{", "}"]
|
| 18 |
+
],
|
| 19 |
+
autoClosingPairs: [
|
| 20 |
+
{ open: "[", close: "]" },
|
| 21 |
+
{ open: '"', close: '"' },
|
| 22 |
+
{ open: "(", close: ")" },
|
| 23 |
+
{ open: "{", close: "}" }
|
| 24 |
+
],
|
| 25 |
+
surroundingPairs: [
|
| 26 |
+
{ open: "[", close: "]" },
|
| 27 |
+
{ open: '"', close: '"' },
|
| 28 |
+
{ open: "(", close: ")" },
|
| 29 |
+
{ open: "{", close: "}" }
|
| 30 |
+
]
|
| 31 |
+
};
|
| 32 |
+
var language = {
|
| 33 |
+
defaultToken: "",
|
| 34 |
+
ignoreCase: true,
|
| 35 |
+
tokenPostfix: ".clj",
|
| 36 |
+
brackets: [
|
| 37 |
+
{ open: "[", close: "]", token: "delimiter.square" },
|
| 38 |
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
| 39 |
+
{ open: "{", close: "}", token: "delimiter.curly" }
|
| 40 |
+
],
|
| 41 |
+
constants: ["true", "false", "nil"],
|
| 42 |
+
// delimiters: /[\\\[\]\s"#'(),;@^`{}~]|$/,
|
| 43 |
+
numbers: /^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,
|
| 44 |
+
characters: /^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,
|
| 45 |
+
escapes: /^\\(?:["'\\bfnrt]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
| 46 |
+
// simple-namespace := /^[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*/
|
| 47 |
+
// simple-symbol := /^(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)/
|
| 48 |
+
// qualified-symbol := (<simple-namespace>(<.><simple-namespace>)*</>)?<simple-symbol>
|
| 49 |
+
qualifiedSymbols: /^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/,
|
| 50 |
+
specialForms: [
|
| 51 |
+
".",
|
| 52 |
+
"catch",
|
| 53 |
+
"def",
|
| 54 |
+
"do",
|
| 55 |
+
"if",
|
| 56 |
+
"monitor-enter",
|
| 57 |
+
"monitor-exit",
|
| 58 |
+
"new",
|
| 59 |
+
"quote",
|
| 60 |
+
"recur",
|
| 61 |
+
"set!",
|
| 62 |
+
"throw",
|
| 63 |
+
"try",
|
| 64 |
+
"var"
|
| 65 |
+
],
|
| 66 |
+
coreSymbols: [
|
| 67 |
+
"*",
|
| 68 |
+
"*'",
|
| 69 |
+
"*1",
|
| 70 |
+
"*2",
|
| 71 |
+
"*3",
|
| 72 |
+
"*agent*",
|
| 73 |
+
"*allow-unresolved-vars*",
|
| 74 |
+
"*assert*",
|
| 75 |
+
"*clojure-version*",
|
| 76 |
+
"*command-line-args*",
|
| 77 |
+
"*compile-files*",
|
| 78 |
+
"*compile-path*",
|
| 79 |
+
"*compiler-options*",
|
| 80 |
+
"*data-readers*",
|
| 81 |
+
"*default-data-reader-fn*",
|
| 82 |
+
"*e",
|
| 83 |
+
"*err*",
|
| 84 |
+
"*file*",
|
| 85 |
+
"*flush-on-newline*",
|
| 86 |
+
"*fn-loader*",
|
| 87 |
+
"*in*",
|
| 88 |
+
"*math-context*",
|
| 89 |
+
"*ns*",
|
| 90 |
+
"*out*",
|
| 91 |
+
"*print-dup*",
|
| 92 |
+
"*print-length*",
|
| 93 |
+
"*print-level*",
|
| 94 |
+
"*print-meta*",
|
| 95 |
+
"*print-namespace-maps*",
|
| 96 |
+
"*print-readably*",
|
| 97 |
+
"*read-eval*",
|
| 98 |
+
"*reader-resolver*",
|
| 99 |
+
"*source-path*",
|
| 100 |
+
"*suppress-read*",
|
| 101 |
+
"*unchecked-math*",
|
| 102 |
+
"*use-context-classloader*",
|
| 103 |
+
"*verbose-defrecords*",
|
| 104 |
+
"*warn-on-reflection*",
|
| 105 |
+
"+",
|
| 106 |
+
"+'",
|
| 107 |
+
"-",
|
| 108 |
+
"-'",
|
| 109 |
+
"->",
|
| 110 |
+
"->>",
|
| 111 |
+
"->ArrayChunk",
|
| 112 |
+
"->Eduction",
|
| 113 |
+
"->Vec",
|
| 114 |
+
"->VecNode",
|
| 115 |
+
"->VecSeq",
|
| 116 |
+
"-cache-protocol-fn",
|
| 117 |
+
"-reset-methods",
|
| 118 |
+
"..",
|
| 119 |
+
"/",
|
| 120 |
+
"<",
|
| 121 |
+
"<=",
|
| 122 |
+
"=",
|
| 123 |
+
"==",
|
| 124 |
+
">",
|
| 125 |
+
">=",
|
| 126 |
+
"EMPTY-NODE",
|
| 127 |
+
"Inst",
|
| 128 |
+
"StackTraceElement->vec",
|
| 129 |
+
"Throwable->map",
|
| 130 |
+
"accessor",
|
| 131 |
+
"aclone",
|
| 132 |
+
"add-classpath",
|
| 133 |
+
"add-watch",
|
| 134 |
+
"agent",
|
| 135 |
+
"agent-error",
|
| 136 |
+
"agent-errors",
|
| 137 |
+
"aget",
|
| 138 |
+
"alength",
|
| 139 |
+
"alias",
|
| 140 |
+
"all-ns",
|
| 141 |
+
"alter",
|
| 142 |
+
"alter-meta!",
|
| 143 |
+
"alter-var-root",
|
| 144 |
+
"amap",
|
| 145 |
+
"ancestors",
|
| 146 |
+
"and",
|
| 147 |
+
"any?",
|
| 148 |
+
"apply",
|
| 149 |
+
"areduce",
|
| 150 |
+
"array-map",
|
| 151 |
+
"as->",
|
| 152 |
+
"aset",
|
| 153 |
+
"aset-boolean",
|
| 154 |
+
"aset-byte",
|
| 155 |
+
"aset-char",
|
| 156 |
+
"aset-double",
|
| 157 |
+
"aset-float",
|
| 158 |
+
"aset-int",
|
| 159 |
+
"aset-long",
|
| 160 |
+
"aset-short",
|
| 161 |
+
"assert",
|
| 162 |
+
"assoc",
|
| 163 |
+
"assoc!",
|
| 164 |
+
"assoc-in",
|
| 165 |
+
"associative?",
|
| 166 |
+
"atom",
|
| 167 |
+
"await",
|
| 168 |
+
"await-for",
|
| 169 |
+
"await1",
|
| 170 |
+
"bases",
|
| 171 |
+
"bean",
|
| 172 |
+
"bigdec",
|
| 173 |
+
"bigint",
|
| 174 |
+
"biginteger",
|
| 175 |
+
"binding",
|
| 176 |
+
"bit-and",
|
| 177 |
+
"bit-and-not",
|
| 178 |
+
"bit-clear",
|
| 179 |
+
"bit-flip",
|
| 180 |
+
"bit-not",
|
| 181 |
+
"bit-or",
|
| 182 |
+
"bit-set",
|
| 183 |
+
"bit-shift-left",
|
| 184 |
+
"bit-shift-right",
|
| 185 |
+
"bit-test",
|
| 186 |
+
"bit-xor",
|
| 187 |
+
"boolean",
|
| 188 |
+
"boolean-array",
|
| 189 |
+
"boolean?",
|
| 190 |
+
"booleans",
|
| 191 |
+
"bound-fn",
|
| 192 |
+
"bound-fn*",
|
| 193 |
+
"bound?",
|
| 194 |
+
"bounded-count",
|
| 195 |
+
"butlast",
|
| 196 |
+
"byte",
|
| 197 |
+
"byte-array",
|
| 198 |
+
"bytes",
|
| 199 |
+
"bytes?",
|
| 200 |
+
"case",
|
| 201 |
+
"cast",
|
| 202 |
+
"cat",
|
| 203 |
+
"char",
|
| 204 |
+
"char-array",
|
| 205 |
+
"char-escape-string",
|
| 206 |
+
"char-name-string",
|
| 207 |
+
"char?",
|
| 208 |
+
"chars",
|
| 209 |
+
"chunk",
|
| 210 |
+
"chunk-append",
|
| 211 |
+
"chunk-buffer",
|
| 212 |
+
"chunk-cons",
|
| 213 |
+
"chunk-first",
|
| 214 |
+
"chunk-next",
|
| 215 |
+
"chunk-rest",
|
| 216 |
+
"chunked-seq?",
|
| 217 |
+
"class",
|
| 218 |
+
"class?",
|
| 219 |
+
"clear-agent-errors",
|
| 220 |
+
"clojure-version",
|
| 221 |
+
"coll?",
|
| 222 |
+
"comment",
|
| 223 |
+
"commute",
|
| 224 |
+
"comp",
|
| 225 |
+
"comparator",
|
| 226 |
+
"compare",
|
| 227 |
+
"compare-and-set!",
|
| 228 |
+
"compile",
|
| 229 |
+
"complement",
|
| 230 |
+
"completing",
|
| 231 |
+
"concat",
|
| 232 |
+
"cond",
|
| 233 |
+
"cond->",
|
| 234 |
+
"cond->>",
|
| 235 |
+
"condp",
|
| 236 |
+
"conj",
|
| 237 |
+
"conj!",
|
| 238 |
+
"cons",
|
| 239 |
+
"constantly",
|
| 240 |
+
"construct-proxy",
|
| 241 |
+
"contains?",
|
| 242 |
+
"count",
|
| 243 |
+
"counted?",
|
| 244 |
+
"create-ns",
|
| 245 |
+
"create-struct",
|
| 246 |
+
"cycle",
|
| 247 |
+
"dec",
|
| 248 |
+
"dec'",
|
| 249 |
+
"decimal?",
|
| 250 |
+
"declare",
|
| 251 |
+
"dedupe",
|
| 252 |
+
"default-data-readers",
|
| 253 |
+
"definline",
|
| 254 |
+
"definterface",
|
| 255 |
+
"defmacro",
|
| 256 |
+
"defmethod",
|
| 257 |
+
"defmulti",
|
| 258 |
+
"defn",
|
| 259 |
+
"defn-",
|
| 260 |
+
"defonce",
|
| 261 |
+
"defprotocol",
|
| 262 |
+
"defrecord",
|
| 263 |
+
"defstruct",
|
| 264 |
+
"deftype",
|
| 265 |
+
"delay",
|
| 266 |
+
"delay?",
|
| 267 |
+
"deliver",
|
| 268 |
+
"denominator",
|
| 269 |
+
"deref",
|
| 270 |
+
"derive",
|
| 271 |
+
"descendants",
|
| 272 |
+
"destructure",
|
| 273 |
+
"disj",
|
| 274 |
+
"disj!",
|
| 275 |
+
"dissoc",
|
| 276 |
+
"dissoc!",
|
| 277 |
+
"distinct",
|
| 278 |
+
"distinct?",
|
| 279 |
+
"doall",
|
| 280 |
+
"dorun",
|
| 281 |
+
"doseq",
|
| 282 |
+
"dosync",
|
| 283 |
+
"dotimes",
|
| 284 |
+
"doto",
|
| 285 |
+
"double",
|
| 286 |
+
"double-array",
|
| 287 |
+
"double?",
|
| 288 |
+
"doubles",
|
| 289 |
+
"drop",
|
| 290 |
+
"drop-last",
|
| 291 |
+
"drop-while",
|
| 292 |
+
"eduction",
|
| 293 |
+
"empty",
|
| 294 |
+
"empty?",
|
| 295 |
+
"ensure",
|
| 296 |
+
"ensure-reduced",
|
| 297 |
+
"enumeration-seq",
|
| 298 |
+
"error-handler",
|
| 299 |
+
"error-mode",
|
| 300 |
+
"eval",
|
| 301 |
+
"even?",
|
| 302 |
+
"every-pred",
|
| 303 |
+
"every?",
|
| 304 |
+
"ex-data",
|
| 305 |
+
"ex-info",
|
| 306 |
+
"extend",
|
| 307 |
+
"extend-protocol",
|
| 308 |
+
"extend-type",
|
| 309 |
+
"extenders",
|
| 310 |
+
"extends?",
|
| 311 |
+
"false?",
|
| 312 |
+
"ffirst",
|
| 313 |
+
"file-seq",
|
| 314 |
+
"filter",
|
| 315 |
+
"filterv",
|
| 316 |
+
"find",
|
| 317 |
+
"find-keyword",
|
| 318 |
+
"find-ns",
|
| 319 |
+
"find-protocol-impl",
|
| 320 |
+
"find-protocol-method",
|
| 321 |
+
"find-var",
|
| 322 |
+
"first",
|
| 323 |
+
"flatten",
|
| 324 |
+
"float",
|
| 325 |
+
"float-array",
|
| 326 |
+
"float?",
|
| 327 |
+
"floats",
|
| 328 |
+
"flush",
|
| 329 |
+
"fn",
|
| 330 |
+
"fn?",
|
| 331 |
+
"fnext",
|
| 332 |
+
"fnil",
|
| 333 |
+
"for",
|
| 334 |
+
"force",
|
| 335 |
+
"format",
|
| 336 |
+
"frequencies",
|
| 337 |
+
"future",
|
| 338 |
+
"future-call",
|
| 339 |
+
"future-cancel",
|
| 340 |
+
"future-cancelled?",
|
| 341 |
+
"future-done?",
|
| 342 |
+
"future?",
|
| 343 |
+
"gen-class",
|
| 344 |
+
"gen-interface",
|
| 345 |
+
"gensym",
|
| 346 |
+
"get",
|
| 347 |
+
"get-in",
|
| 348 |
+
"get-method",
|
| 349 |
+
"get-proxy-class",
|
| 350 |
+
"get-thread-bindings",
|
| 351 |
+
"get-validator",
|
| 352 |
+
"group-by",
|
| 353 |
+
"halt-when",
|
| 354 |
+
"hash",
|
| 355 |
+
"hash-combine",
|
| 356 |
+
"hash-map",
|
| 357 |
+
"hash-ordered-coll",
|
| 358 |
+
"hash-set",
|
| 359 |
+
"hash-unordered-coll",
|
| 360 |
+
"ident?",
|
| 361 |
+
"identical?",
|
| 362 |
+
"identity",
|
| 363 |
+
"if-let",
|
| 364 |
+
"if-not",
|
| 365 |
+
"if-some",
|
| 366 |
+
"ifn?",
|
| 367 |
+
"import",
|
| 368 |
+
"in-ns",
|
| 369 |
+
"inc",
|
| 370 |
+
"inc'",
|
| 371 |
+
"indexed?",
|
| 372 |
+
"init-proxy",
|
| 373 |
+
"inst-ms",
|
| 374 |
+
"inst-ms*",
|
| 375 |
+
"inst?",
|
| 376 |
+
"instance?",
|
| 377 |
+
"int",
|
| 378 |
+
"int-array",
|
| 379 |
+
"int?",
|
| 380 |
+
"integer?",
|
| 381 |
+
"interleave",
|
| 382 |
+
"intern",
|
| 383 |
+
"interpose",
|
| 384 |
+
"into",
|
| 385 |
+
"into-array",
|
| 386 |
+
"ints",
|
| 387 |
+
"io!",
|
| 388 |
+
"isa?",
|
| 389 |
+
"iterate",
|
| 390 |
+
"iterator-seq",
|
| 391 |
+
"juxt",
|
| 392 |
+
"keep",
|
| 393 |
+
"keep-indexed",
|
| 394 |
+
"key",
|
| 395 |
+
"keys",
|
| 396 |
+
"keyword",
|
| 397 |
+
"keyword?",
|
| 398 |
+
"last",
|
| 399 |
+
"lazy-cat",
|
| 400 |
+
"lazy-seq",
|
| 401 |
+
"let",
|
| 402 |
+
"letfn",
|
| 403 |
+
"line-seq",
|
| 404 |
+
"list",
|
| 405 |
+
"list*",
|
| 406 |
+
"list?",
|
| 407 |
+
"load",
|
| 408 |
+
"load-file",
|
| 409 |
+
"load-reader",
|
| 410 |
+
"load-string",
|
| 411 |
+
"loaded-libs",
|
| 412 |
+
"locking",
|
| 413 |
+
"long",
|
| 414 |
+
"long-array",
|
| 415 |
+
"longs",
|
| 416 |
+
"loop",
|
| 417 |
+
"macroexpand",
|
| 418 |
+
"macroexpand-1",
|
| 419 |
+
"make-array",
|
| 420 |
+
"make-hierarchy",
|
| 421 |
+
"map",
|
| 422 |
+
"map-entry?",
|
| 423 |
+
"map-indexed",
|
| 424 |
+
"map?",
|
| 425 |
+
"mapcat",
|
| 426 |
+
"mapv",
|
| 427 |
+
"max",
|
| 428 |
+
"max-key",
|
| 429 |
+
"memfn",
|
| 430 |
+
"memoize",
|
| 431 |
+
"merge",
|
| 432 |
+
"merge-with",
|
| 433 |
+
"meta",
|
| 434 |
+
"method-sig",
|
| 435 |
+
"methods",
|
| 436 |
+
"min",
|
| 437 |
+
"min-key",
|
| 438 |
+
"mix-collection-hash",
|
| 439 |
+
"mod",
|
| 440 |
+
"munge",
|
| 441 |
+
"name",
|
| 442 |
+
"namespace",
|
| 443 |
+
"namespace-munge",
|
| 444 |
+
"nat-int?",
|
| 445 |
+
"neg-int?",
|
| 446 |
+
"neg?",
|
| 447 |
+
"newline",
|
| 448 |
+
"next",
|
| 449 |
+
"nfirst",
|
| 450 |
+
"nil?",
|
| 451 |
+
"nnext",
|
| 452 |
+
"not",
|
| 453 |
+
"not-any?",
|
| 454 |
+
"not-empty",
|
| 455 |
+
"not-every?",
|
| 456 |
+
"not=",
|
| 457 |
+
"ns",
|
| 458 |
+
"ns-aliases",
|
| 459 |
+
"ns-imports",
|
| 460 |
+
"ns-interns",
|
| 461 |
+
"ns-map",
|
| 462 |
+
"ns-name",
|
| 463 |
+
"ns-publics",
|
| 464 |
+
"ns-refers",
|
| 465 |
+
"ns-resolve",
|
| 466 |
+
"ns-unalias",
|
| 467 |
+
"ns-unmap",
|
| 468 |
+
"nth",
|
| 469 |
+
"nthnext",
|
| 470 |
+
"nthrest",
|
| 471 |
+
"num",
|
| 472 |
+
"number?",
|
| 473 |
+
"numerator",
|
| 474 |
+
"object-array",
|
| 475 |
+
"odd?",
|
| 476 |
+
"or",
|
| 477 |
+
"parents",
|
| 478 |
+
"partial",
|
| 479 |
+
"partition",
|
| 480 |
+
"partition-all",
|
| 481 |
+
"partition-by",
|
| 482 |
+
"pcalls",
|
| 483 |
+
"peek",
|
| 484 |
+
"persistent!",
|
| 485 |
+
"pmap",
|
| 486 |
+
"pop",
|
| 487 |
+
"pop!",
|
| 488 |
+
"pop-thread-bindings",
|
| 489 |
+
"pos-int?",
|
| 490 |
+
"pos?",
|
| 491 |
+
"pr",
|
| 492 |
+
"pr-str",
|
| 493 |
+
"prefer-method",
|
| 494 |
+
"prefers",
|
| 495 |
+
"primitives-classnames",
|
| 496 |
+
"print",
|
| 497 |
+
"print-ctor",
|
| 498 |
+
"print-dup",
|
| 499 |
+
"print-method",
|
| 500 |
+
"print-simple",
|
| 501 |
+
"print-str",
|
| 502 |
+
"printf",
|
| 503 |
+
"println",
|
| 504 |
+
"println-str",
|
| 505 |
+
"prn",
|
| 506 |
+
"prn-str",
|
| 507 |
+
"promise",
|
| 508 |
+
"proxy",
|
| 509 |
+
"proxy-call-with-super",
|
| 510 |
+
"proxy-mappings",
|
| 511 |
+
"proxy-name",
|
| 512 |
+
"proxy-super",
|
| 513 |
+
"push-thread-bindings",
|
| 514 |
+
"pvalues",
|
| 515 |
+
"qualified-ident?",
|
| 516 |
+
"qualified-keyword?",
|
| 517 |
+
"qualified-symbol?",
|
| 518 |
+
"quot",
|
| 519 |
+
"rand",
|
| 520 |
+
"rand-int",
|
| 521 |
+
"rand-nth",
|
| 522 |
+
"random-sample",
|
| 523 |
+
"range",
|
| 524 |
+
"ratio?",
|
| 525 |
+
"rational?",
|
| 526 |
+
"rationalize",
|
| 527 |
+
"re-find",
|
| 528 |
+
"re-groups",
|
| 529 |
+
"re-matcher",
|
| 530 |
+
"re-matches",
|
| 531 |
+
"re-pattern",
|
| 532 |
+
"re-seq",
|
| 533 |
+
"read",
|
| 534 |
+
"read-line",
|
| 535 |
+
"read-string",
|
| 536 |
+
"reader-conditional",
|
| 537 |
+
"reader-conditional?",
|
| 538 |
+
"realized?",
|
| 539 |
+
"record?",
|
| 540 |
+
"reduce",
|
| 541 |
+
"reduce-kv",
|
| 542 |
+
"reduced",
|
| 543 |
+
"reduced?",
|
| 544 |
+
"reductions",
|
| 545 |
+
"ref",
|
| 546 |
+
"ref-history-count",
|
| 547 |
+
"ref-max-history",
|
| 548 |
+
"ref-min-history",
|
| 549 |
+
"ref-set",
|
| 550 |
+
"refer",
|
| 551 |
+
"refer-clojure",
|
| 552 |
+
"reify",
|
| 553 |
+
"release-pending-sends",
|
| 554 |
+
"rem",
|
| 555 |
+
"remove",
|
| 556 |
+
"remove-all-methods",
|
| 557 |
+
"remove-method",
|
| 558 |
+
"remove-ns",
|
| 559 |
+
"remove-watch",
|
| 560 |
+
"repeat",
|
| 561 |
+
"repeatedly",
|
| 562 |
+
"replace",
|
| 563 |
+
"replicate",
|
| 564 |
+
"require",
|
| 565 |
+
"reset!",
|
| 566 |
+
"reset-meta!",
|
| 567 |
+
"reset-vals!",
|
| 568 |
+
"resolve",
|
| 569 |
+
"rest",
|
| 570 |
+
"restart-agent",
|
| 571 |
+
"resultset-seq",
|
| 572 |
+
"reverse",
|
| 573 |
+
"reversible?",
|
| 574 |
+
"rseq",
|
| 575 |
+
"rsubseq",
|
| 576 |
+
"run!",
|
| 577 |
+
"satisfies?",
|
| 578 |
+
"second",
|
| 579 |
+
"select-keys",
|
| 580 |
+
"send",
|
| 581 |
+
"send-off",
|
| 582 |
+
"send-via",
|
| 583 |
+
"seq",
|
| 584 |
+
"seq?",
|
| 585 |
+
"seqable?",
|
| 586 |
+
"seque",
|
| 587 |
+
"sequence",
|
| 588 |
+
"sequential?",
|
| 589 |
+
"set",
|
| 590 |
+
"set-agent-send-executor!",
|
| 591 |
+
"set-agent-send-off-executor!",
|
| 592 |
+
"set-error-handler!",
|
| 593 |
+
"set-error-mode!",
|
| 594 |
+
"set-validator!",
|
| 595 |
+
"set?",
|
| 596 |
+
"short",
|
| 597 |
+
"short-array",
|
| 598 |
+
"shorts",
|
| 599 |
+
"shuffle",
|
| 600 |
+
"shutdown-agents",
|
| 601 |
+
"simple-ident?",
|
| 602 |
+
"simple-keyword?",
|
| 603 |
+
"simple-symbol?",
|
| 604 |
+
"slurp",
|
| 605 |
+
"some",
|
| 606 |
+
"some->",
|
| 607 |
+
"some->>",
|
| 608 |
+
"some-fn",
|
| 609 |
+
"some?",
|
| 610 |
+
"sort",
|
| 611 |
+
"sort-by",
|
| 612 |
+
"sorted-map",
|
| 613 |
+
"sorted-map-by",
|
| 614 |
+
"sorted-set",
|
| 615 |
+
"sorted-set-by",
|
| 616 |
+
"sorted?",
|
| 617 |
+
"special-symbol?",
|
| 618 |
+
"spit",
|
| 619 |
+
"split-at",
|
| 620 |
+
"split-with",
|
| 621 |
+
"str",
|
| 622 |
+
"string?",
|
| 623 |
+
"struct",
|
| 624 |
+
"struct-map",
|
| 625 |
+
"subs",
|
| 626 |
+
"subseq",
|
| 627 |
+
"subvec",
|
| 628 |
+
"supers",
|
| 629 |
+
"swap!",
|
| 630 |
+
"swap-vals!",
|
| 631 |
+
"symbol",
|
| 632 |
+
"symbol?",
|
| 633 |
+
"sync",
|
| 634 |
+
"tagged-literal",
|
| 635 |
+
"tagged-literal?",
|
| 636 |
+
"take",
|
| 637 |
+
"take-last",
|
| 638 |
+
"take-nth",
|
| 639 |
+
"take-while",
|
| 640 |
+
"test",
|
| 641 |
+
"the-ns",
|
| 642 |
+
"thread-bound?",
|
| 643 |
+
"time",
|
| 644 |
+
"to-array",
|
| 645 |
+
"to-array-2d",
|
| 646 |
+
"trampoline",
|
| 647 |
+
"transduce",
|
| 648 |
+
"transient",
|
| 649 |
+
"tree-seq",
|
| 650 |
+
"true?",
|
| 651 |
+
"type",
|
| 652 |
+
"unchecked-add",
|
| 653 |
+
"unchecked-add-int",
|
| 654 |
+
"unchecked-byte",
|
| 655 |
+
"unchecked-char",
|
| 656 |
+
"unchecked-dec",
|
| 657 |
+
"unchecked-dec-int",
|
| 658 |
+
"unchecked-divide-int",
|
| 659 |
+
"unchecked-double",
|
| 660 |
+
"unchecked-float",
|
| 661 |
+
"unchecked-inc",
|
| 662 |
+
"unchecked-inc-int",
|
| 663 |
+
"unchecked-int",
|
| 664 |
+
"unchecked-long",
|
| 665 |
+
"unchecked-multiply",
|
| 666 |
+
"unchecked-multiply-int",
|
| 667 |
+
"unchecked-negate",
|
| 668 |
+
"unchecked-negate-int",
|
| 669 |
+
"unchecked-remainder-int",
|
| 670 |
+
"unchecked-short",
|
| 671 |
+
"unchecked-subtract",
|
| 672 |
+
"unchecked-subtract-int",
|
| 673 |
+
"underive",
|
| 674 |
+
"unquote",
|
| 675 |
+
"unquote-splicing",
|
| 676 |
+
"unreduced",
|
| 677 |
+
"unsigned-bit-shift-right",
|
| 678 |
+
"update",
|
| 679 |
+
"update-in",
|
| 680 |
+
"update-proxy",
|
| 681 |
+
"uri?",
|
| 682 |
+
"use",
|
| 683 |
+
"uuid?",
|
| 684 |
+
"val",
|
| 685 |
+
"vals",
|
| 686 |
+
"var-get",
|
| 687 |
+
"var-set",
|
| 688 |
+
"var?",
|
| 689 |
+
"vary-meta",
|
| 690 |
+
"vec",
|
| 691 |
+
"vector",
|
| 692 |
+
"vector-of",
|
| 693 |
+
"vector?",
|
| 694 |
+
"volatile!",
|
| 695 |
+
"volatile?",
|
| 696 |
+
"vreset!",
|
| 697 |
+
"vswap!",
|
| 698 |
+
"when",
|
| 699 |
+
"when-first",
|
| 700 |
+
"when-let",
|
| 701 |
+
"when-not",
|
| 702 |
+
"when-some",
|
| 703 |
+
"while",
|
| 704 |
+
"with-bindings",
|
| 705 |
+
"with-bindings*",
|
| 706 |
+
"with-in-str",
|
| 707 |
+
"with-loading-context",
|
| 708 |
+
"with-local-vars",
|
| 709 |
+
"with-meta",
|
| 710 |
+
"with-open",
|
| 711 |
+
"with-out-str",
|
| 712 |
+
"with-precision",
|
| 713 |
+
"with-redefs",
|
| 714 |
+
"with-redefs-fn",
|
| 715 |
+
"xml-seq",
|
| 716 |
+
"zero?",
|
| 717 |
+
"zipmap"
|
| 718 |
+
],
|
| 719 |
+
tokenizer: {
|
| 720 |
+
root: [
|
| 721 |
+
// whitespaces and comments
|
| 722 |
+
{ include: "@whitespace" },
|
| 723 |
+
// numbers
|
| 724 |
+
[/@numbers/, "number"],
|
| 725 |
+
// characters
|
| 726 |
+
[/@characters/, "string"],
|
| 727 |
+
// strings
|
| 728 |
+
{ include: "@string" },
|
| 729 |
+
// brackets
|
| 730 |
+
[/[()\[\]{}]/, "@brackets"],
|
| 731 |
+
// regular expressions
|
| 732 |
+
[/\/#"(?:\.|(?:")|[^"\n])*"\/g/, "regexp"],
|
| 733 |
+
// reader macro characters
|
| 734 |
+
[/[#'@^`~]/, "meta"],
|
| 735 |
+
// symbols
|
| 736 |
+
[
|
| 737 |
+
/@qualifiedSymbols/,
|
| 738 |
+
{
|
| 739 |
+
cases: {
|
| 740 |
+
"^:.+$": "constant",
|
| 741 |
+
// Clojure keywords (e.g., `:foo/bar`)
|
| 742 |
+
"@specialForms": "keyword",
|
| 743 |
+
"@coreSymbols": "keyword",
|
| 744 |
+
"@constants": "constant",
|
| 745 |
+
"@default": "identifier"
|
| 746 |
+
}
|
| 747 |
+
}
|
| 748 |
+
]
|
| 749 |
+
],
|
| 750 |
+
whitespace: [
|
| 751 |
+
[/[\s,]+/, "white"],
|
| 752 |
+
[/;.*$/, "comment"],
|
| 753 |
+
[/\(comment\b/, "comment", "@comment"]
|
| 754 |
+
],
|
| 755 |
+
comment: [
|
| 756 |
+
[/\(/, "comment", "@push"],
|
| 757 |
+
[/\)/, "comment", "@pop"],
|
| 758 |
+
[/[^()]/, "comment"]
|
| 759 |
+
],
|
| 760 |
+
string: [[/"/, "string", "@multiLineString"]],
|
| 761 |
+
multiLineString: [
|
| 762 |
+
[/"/, "string", "@popall"],
|
| 763 |
+
[/@escapes/, "string.escape"],
|
| 764 |
+
[/./, "string"]
|
| 765 |
+
]
|
| 766 |
+
}
|
| 767 |
+
};
|
| 768 |
+
export {
|
| 769 |
+
conf,
|
| 770 |
+
language
|
| 771 |
+
};
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/coffee/coffee.contribution.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export {}
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/coffee/coffee.contribution.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 8 |
+
|
| 9 |
+
// src/basic-languages/coffee/coffee.contribution.ts
|
| 10 |
+
import { registerLanguage } from "../_.contribution.js";
|
| 11 |
+
registerLanguage({
|
| 12 |
+
id: "coffeescript",
|
| 13 |
+
extensions: [".coffee"],
|
| 14 |
+
aliases: ["CoffeeScript", "coffeescript", "coffee"],
|
| 15 |
+
mimetypes: ["text/x-coffeescript", "text/coffeescript"],
|
| 16 |
+
loader: () => {
|
| 17 |
+
if (false) {
|
| 18 |
+
return new Promise((resolve, reject) => {
|
| 19 |
+
__require(["vs/basic-languages/coffee/coffee"], resolve, reject);
|
| 20 |
+
});
|
| 21 |
+
} else {
|
| 22 |
+
return import("./coffee.js");
|
| 23 |
+
}
|
| 24 |
+
}
|
| 25 |
+
});
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/coffee/coffee.js
ADDED
|
@@ -0,0 +1,242 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 8 |
+
|
| 9 |
+
// src/basic-languages/coffee/coffee.ts
|
| 10 |
+
var conf = {
|
| 11 |
+
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
|
| 12 |
+
comments: {
|
| 13 |
+
blockComment: ["###", "###"],
|
| 14 |
+
lineComment: "#"
|
| 15 |
+
},
|
| 16 |
+
brackets: [
|
| 17 |
+
["{", "}"],
|
| 18 |
+
["[", "]"],
|
| 19 |
+
["(", ")"]
|
| 20 |
+
],
|
| 21 |
+
autoClosingPairs: [
|
| 22 |
+
{ open: "{", close: "}" },
|
| 23 |
+
{ open: "[", close: "]" },
|
| 24 |
+
{ open: "(", close: ")" },
|
| 25 |
+
{ open: '"', close: '"' },
|
| 26 |
+
{ open: "'", close: "'" }
|
| 27 |
+
],
|
| 28 |
+
surroundingPairs: [
|
| 29 |
+
{ open: "{", close: "}" },
|
| 30 |
+
{ open: "[", close: "]" },
|
| 31 |
+
{ open: "(", close: ")" },
|
| 32 |
+
{ open: '"', close: '"' },
|
| 33 |
+
{ open: "'", close: "'" }
|
| 34 |
+
],
|
| 35 |
+
folding: {
|
| 36 |
+
markers: {
|
| 37 |
+
start: new RegExp("^\\s*#region\\b"),
|
| 38 |
+
end: new RegExp("^\\s*#endregion\\b")
|
| 39 |
+
}
|
| 40 |
+
}
|
| 41 |
+
};
|
| 42 |
+
var language = {
|
| 43 |
+
defaultToken: "",
|
| 44 |
+
ignoreCase: true,
|
| 45 |
+
tokenPostfix: ".coffee",
|
| 46 |
+
brackets: [
|
| 47 |
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
| 48 |
+
{ open: "[", close: "]", token: "delimiter.square" },
|
| 49 |
+
{ open: "(", close: ")", token: "delimiter.parenthesis" }
|
| 50 |
+
],
|
| 51 |
+
regEx: /\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,
|
| 52 |
+
keywords: [
|
| 53 |
+
"and",
|
| 54 |
+
"or",
|
| 55 |
+
"is",
|
| 56 |
+
"isnt",
|
| 57 |
+
"not",
|
| 58 |
+
"on",
|
| 59 |
+
"yes",
|
| 60 |
+
"@",
|
| 61 |
+
"no",
|
| 62 |
+
"off",
|
| 63 |
+
"true",
|
| 64 |
+
"false",
|
| 65 |
+
"null",
|
| 66 |
+
"this",
|
| 67 |
+
"new",
|
| 68 |
+
"delete",
|
| 69 |
+
"typeof",
|
| 70 |
+
"in",
|
| 71 |
+
"instanceof",
|
| 72 |
+
"return",
|
| 73 |
+
"throw",
|
| 74 |
+
"break",
|
| 75 |
+
"continue",
|
| 76 |
+
"debugger",
|
| 77 |
+
"if",
|
| 78 |
+
"else",
|
| 79 |
+
"switch",
|
| 80 |
+
"for",
|
| 81 |
+
"while",
|
| 82 |
+
"do",
|
| 83 |
+
"try",
|
| 84 |
+
"catch",
|
| 85 |
+
"finally",
|
| 86 |
+
"class",
|
| 87 |
+
"extends",
|
| 88 |
+
"super",
|
| 89 |
+
"undefined",
|
| 90 |
+
"then",
|
| 91 |
+
"unless",
|
| 92 |
+
"until",
|
| 93 |
+
"loop",
|
| 94 |
+
"of",
|
| 95 |
+
"by",
|
| 96 |
+
"when"
|
| 97 |
+
],
|
| 98 |
+
// we include these common regular expressions
|
| 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 |
+
// The main tokenizer for our languages
|
| 102 |
+
tokenizer: {
|
| 103 |
+
root: [
|
| 104 |
+
// identifiers and keywords
|
| 105 |
+
[/\@[a-zA-Z_]\w*/, "variable.predefined"],
|
| 106 |
+
[
|
| 107 |
+
/[a-zA-Z_]\w*/,
|
| 108 |
+
{
|
| 109 |
+
cases: {
|
| 110 |
+
this: "variable.predefined",
|
| 111 |
+
"@keywords": { token: "keyword.$0" },
|
| 112 |
+
"@default": ""
|
| 113 |
+
}
|
| 114 |
+
}
|
| 115 |
+
],
|
| 116 |
+
// whitespace
|
| 117 |
+
[/[ \t\r\n]+/, ""],
|
| 118 |
+
// Comments
|
| 119 |
+
[/###/, "comment", "@comment"],
|
| 120 |
+
[/#.*$/, "comment"],
|
| 121 |
+
// regular expressions
|
| 122 |
+
["///", { token: "regexp", next: "@hereregexp" }],
|
| 123 |
+
[/^(\s*)(@regEx)/, ["", "regexp"]],
|
| 124 |
+
[/(\()(\s*)(@regEx)/, ["@brackets", "", "regexp"]],
|
| 125 |
+
[/(\,)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
| 126 |
+
[/(\=)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
| 127 |
+
[/(\:)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
| 128 |
+
[/(\[)(\s*)(@regEx)/, ["@brackets", "", "regexp"]],
|
| 129 |
+
[/(\!)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
| 130 |
+
[/(\&)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
| 131 |
+
[/(\|)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
| 132 |
+
[/(\?)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
| 133 |
+
[/(\{)(\s*)(@regEx)/, ["@brackets", "", "regexp"]],
|
| 134 |
+
[/(\;)(\s*)(@regEx)/, ["", "", "regexp"]],
|
| 135 |
+
// delimiters
|
| 136 |
+
[
|
| 137 |
+
/}/,
|
| 138 |
+
{
|
| 139 |
+
cases: {
|
| 140 |
+
"$S2==interpolatedstring": {
|
| 141 |
+
token: "string",
|
| 142 |
+
next: "@pop"
|
| 143 |
+
},
|
| 144 |
+
"@default": "@brackets"
|
| 145 |
+
}
|
| 146 |
+
}
|
| 147 |
+
],
|
| 148 |
+
[/[{}()\[\]]/, "@brackets"],
|
| 149 |
+
[/@symbols/, "delimiter"],
|
| 150 |
+
// numbers
|
| 151 |
+
[/\d+[eE]([\-+]?\d+)?/, "number.float"],
|
| 152 |
+
[/\d+\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
| 153 |
+
[/0[xX][0-9a-fA-F]+/, "number.hex"],
|
| 154 |
+
[/0[0-7]+(?!\d)/, "number.octal"],
|
| 155 |
+
[/\d+/, "number"],
|
| 156 |
+
// delimiter: after number because of .\d floats
|
| 157 |
+
[/[,.]/, "delimiter"],
|
| 158 |
+
// strings:
|
| 159 |
+
[/"""/, "string", '@herestring."""'],
|
| 160 |
+
[/'''/, "string", "@herestring.'''"],
|
| 161 |
+
[
|
| 162 |
+
/"/,
|
| 163 |
+
{
|
| 164 |
+
cases: {
|
| 165 |
+
"@eos": "string",
|
| 166 |
+
"@default": { token: "string", next: '@string."' }
|
| 167 |
+
}
|
| 168 |
+
}
|
| 169 |
+
],
|
| 170 |
+
[
|
| 171 |
+
/'/,
|
| 172 |
+
{
|
| 173 |
+
cases: {
|
| 174 |
+
"@eos": "string",
|
| 175 |
+
"@default": { token: "string", next: "@string.'" }
|
| 176 |
+
}
|
| 177 |
+
}
|
| 178 |
+
]
|
| 179 |
+
],
|
| 180 |
+
string: [
|
| 181 |
+
[/[^"'\#\\]+/, "string"],
|
| 182 |
+
[/@escapes/, "string.escape"],
|
| 183 |
+
[/\./, "string.escape.invalid"],
|
| 184 |
+
[/\./, "string.escape.invalid"],
|
| 185 |
+
[
|
| 186 |
+
/#{/,
|
| 187 |
+
{
|
| 188 |
+
cases: {
|
| 189 |
+
'$S2=="': {
|
| 190 |
+
token: "string",
|
| 191 |
+
next: "root.interpolatedstring"
|
| 192 |
+
},
|
| 193 |
+
"@default": "string"
|
| 194 |
+
}
|
| 195 |
+
}
|
| 196 |
+
],
|
| 197 |
+
[
|
| 198 |
+
/["']/,
|
| 199 |
+
{
|
| 200 |
+
cases: {
|
| 201 |
+
"$#==$S2": { token: "string", next: "@pop" },
|
| 202 |
+
"@default": "string"
|
| 203 |
+
}
|
| 204 |
+
}
|
| 205 |
+
],
|
| 206 |
+
[/#/, "string"]
|
| 207 |
+
],
|
| 208 |
+
herestring: [
|
| 209 |
+
[
|
| 210 |
+
/("""|''')/,
|
| 211 |
+
{
|
| 212 |
+
cases: {
|
| 213 |
+
"$1==$S2": { token: "string", next: "@pop" },
|
| 214 |
+
"@default": "string"
|
| 215 |
+
}
|
| 216 |
+
}
|
| 217 |
+
],
|
| 218 |
+
[/[^#\\'"]+/, "string"],
|
| 219 |
+
[/['"]+/, "string"],
|
| 220 |
+
[/@escapes/, "string.escape"],
|
| 221 |
+
[/\./, "string.escape.invalid"],
|
| 222 |
+
[/#{/, { token: "string.quote", next: "root.interpolatedstring" }],
|
| 223 |
+
[/#/, "string"]
|
| 224 |
+
],
|
| 225 |
+
comment: [
|
| 226 |
+
[/[^#]+/, "comment"],
|
| 227 |
+
[/###/, "comment", "@pop"],
|
| 228 |
+
[/#/, "comment"]
|
| 229 |
+
],
|
| 230 |
+
hereregexp: [
|
| 231 |
+
[/[^\\\/#]+/, "regexp"],
|
| 232 |
+
[/\\./, "regexp"],
|
| 233 |
+
[/#.*$/, "comment"],
|
| 234 |
+
["///[igm]*", { token: "regexp", next: "@pop" }],
|
| 235 |
+
[/\//, "regexp"]
|
| 236 |
+
]
|
| 237 |
+
}
|
| 238 |
+
};
|
| 239 |
+
export {
|
| 240 |
+
conf,
|
| 241 |
+
language
|
| 242 |
+
};
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/cpp/cpp.contribution.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export {}
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/cpp/cpp.contribution.js
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 8 |
+
|
| 9 |
+
// src/basic-languages/cpp/cpp.contribution.ts
|
| 10 |
+
import { registerLanguage } from "../_.contribution.js";
|
| 11 |
+
registerLanguage({
|
| 12 |
+
id: "c",
|
| 13 |
+
extensions: [".c", ".h"],
|
| 14 |
+
aliases: ["C", "c"],
|
| 15 |
+
loader: () => {
|
| 16 |
+
if (false) {
|
| 17 |
+
return new Promise((resolve, reject) => {
|
| 18 |
+
__require(["vs/basic-languages/cpp/cpp"], resolve, reject);
|
| 19 |
+
});
|
| 20 |
+
} else {
|
| 21 |
+
return import("./cpp.js");
|
| 22 |
+
}
|
| 23 |
+
}
|
| 24 |
+
});
|
| 25 |
+
registerLanguage({
|
| 26 |
+
id: "cpp",
|
| 27 |
+
extensions: [".cpp", ".cc", ".cxx", ".hpp", ".hh", ".hxx"],
|
| 28 |
+
aliases: ["C++", "Cpp", "cpp"],
|
| 29 |
+
loader: () => {
|
| 30 |
+
if (false) {
|
| 31 |
+
return new Promise((resolve, reject) => {
|
| 32 |
+
__require(["vs/basic-languages/cpp/cpp"], resolve, reject);
|
| 33 |
+
});
|
| 34 |
+
} else {
|
| 35 |
+
return import("./cpp.js");
|
| 36 |
+
}
|
| 37 |
+
}
|
| 38 |
+
});
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/cpp/cpp.js
ADDED
|
@@ -0,0 +1,399 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 8 |
+
|
| 9 |
+
// src/basic-languages/cpp/cpp.ts
|
| 10 |
+
var conf = {
|
| 11 |
+
comments: {
|
| 12 |
+
lineComment: "//",
|
| 13 |
+
blockComment: ["/*", "*/"]
|
| 14 |
+
},
|
| 15 |
+
brackets: [
|
| 16 |
+
["{", "}"],
|
| 17 |
+
["[", "]"],
|
| 18 |
+
["(", ")"]
|
| 19 |
+
],
|
| 20 |
+
autoClosingPairs: [
|
| 21 |
+
{ open: "[", close: "]" },
|
| 22 |
+
{ open: "{", close: "}" },
|
| 23 |
+
{ open: "(", close: ")" },
|
| 24 |
+
{ open: "'", close: "'", notIn: ["string", "comment"] },
|
| 25 |
+
{ open: '"', close: '"', notIn: ["string"] }
|
| 26 |
+
],
|
| 27 |
+
surroundingPairs: [
|
| 28 |
+
{ open: "{", close: "}" },
|
| 29 |
+
{ open: "[", close: "]" },
|
| 30 |
+
{ open: "(", close: ")" },
|
| 31 |
+
{ open: '"', close: '"' },
|
| 32 |
+
{ open: "'", close: "'" }
|
| 33 |
+
],
|
| 34 |
+
folding: {
|
| 35 |
+
markers: {
|
| 36 |
+
start: new RegExp("^\\s*#pragma\\s+region\\b"),
|
| 37 |
+
end: new RegExp("^\\s*#pragma\\s+endregion\\b")
|
| 38 |
+
}
|
| 39 |
+
}
|
| 40 |
+
};
|
| 41 |
+
var language = {
|
| 42 |
+
defaultToken: "",
|
| 43 |
+
tokenPostfix: ".cpp",
|
| 44 |
+
brackets: [
|
| 45 |
+
{ token: "delimiter.curly", open: "{", close: "}" },
|
| 46 |
+
{ token: "delimiter.parenthesis", open: "(", close: ")" },
|
| 47 |
+
{ token: "delimiter.square", open: "[", close: "]" },
|
| 48 |
+
{ token: "delimiter.angle", open: "<", close: ">" }
|
| 49 |
+
],
|
| 50 |
+
keywords: [
|
| 51 |
+
"abstract",
|
| 52 |
+
"amp",
|
| 53 |
+
"array",
|
| 54 |
+
"auto",
|
| 55 |
+
"bool",
|
| 56 |
+
"break",
|
| 57 |
+
"case",
|
| 58 |
+
"catch",
|
| 59 |
+
"char",
|
| 60 |
+
"class",
|
| 61 |
+
"const",
|
| 62 |
+
"constexpr",
|
| 63 |
+
"const_cast",
|
| 64 |
+
"continue",
|
| 65 |
+
"cpu",
|
| 66 |
+
"decltype",
|
| 67 |
+
"default",
|
| 68 |
+
"delegate",
|
| 69 |
+
"delete",
|
| 70 |
+
"do",
|
| 71 |
+
"double",
|
| 72 |
+
"dynamic_cast",
|
| 73 |
+
"each",
|
| 74 |
+
"else",
|
| 75 |
+
"enum",
|
| 76 |
+
"event",
|
| 77 |
+
"explicit",
|
| 78 |
+
"export",
|
| 79 |
+
"extern",
|
| 80 |
+
"false",
|
| 81 |
+
"final",
|
| 82 |
+
"finally",
|
| 83 |
+
"float",
|
| 84 |
+
"for",
|
| 85 |
+
"friend",
|
| 86 |
+
"gcnew",
|
| 87 |
+
"generic",
|
| 88 |
+
"goto",
|
| 89 |
+
"if",
|
| 90 |
+
"in",
|
| 91 |
+
"initonly",
|
| 92 |
+
"inline",
|
| 93 |
+
"int",
|
| 94 |
+
"interface",
|
| 95 |
+
"interior_ptr",
|
| 96 |
+
"internal",
|
| 97 |
+
"literal",
|
| 98 |
+
"long",
|
| 99 |
+
"mutable",
|
| 100 |
+
"namespace",
|
| 101 |
+
"new",
|
| 102 |
+
"noexcept",
|
| 103 |
+
"nullptr",
|
| 104 |
+
"__nullptr",
|
| 105 |
+
"operator",
|
| 106 |
+
"override",
|
| 107 |
+
"partial",
|
| 108 |
+
"pascal",
|
| 109 |
+
"pin_ptr",
|
| 110 |
+
"private",
|
| 111 |
+
"property",
|
| 112 |
+
"protected",
|
| 113 |
+
"public",
|
| 114 |
+
"ref",
|
| 115 |
+
"register",
|
| 116 |
+
"reinterpret_cast",
|
| 117 |
+
"restrict",
|
| 118 |
+
"return",
|
| 119 |
+
"safe_cast",
|
| 120 |
+
"sealed",
|
| 121 |
+
"short",
|
| 122 |
+
"signed",
|
| 123 |
+
"sizeof",
|
| 124 |
+
"static",
|
| 125 |
+
"static_assert",
|
| 126 |
+
"static_cast",
|
| 127 |
+
"struct",
|
| 128 |
+
"switch",
|
| 129 |
+
"template",
|
| 130 |
+
"this",
|
| 131 |
+
"thread_local",
|
| 132 |
+
"throw",
|
| 133 |
+
"tile_static",
|
| 134 |
+
"true",
|
| 135 |
+
"try",
|
| 136 |
+
"typedef",
|
| 137 |
+
"typeid",
|
| 138 |
+
"typename",
|
| 139 |
+
"union",
|
| 140 |
+
"unsigned",
|
| 141 |
+
"using",
|
| 142 |
+
"virtual",
|
| 143 |
+
"void",
|
| 144 |
+
"volatile",
|
| 145 |
+
"wchar_t",
|
| 146 |
+
"where",
|
| 147 |
+
"while",
|
| 148 |
+
"_asm",
|
| 149 |
+
// reserved word with one underscores
|
| 150 |
+
"_based",
|
| 151 |
+
"_cdecl",
|
| 152 |
+
"_declspec",
|
| 153 |
+
"_fastcall",
|
| 154 |
+
"_if_exists",
|
| 155 |
+
"_if_not_exists",
|
| 156 |
+
"_inline",
|
| 157 |
+
"_multiple_inheritance",
|
| 158 |
+
"_pascal",
|
| 159 |
+
"_single_inheritance",
|
| 160 |
+
"_stdcall",
|
| 161 |
+
"_virtual_inheritance",
|
| 162 |
+
"_w64",
|
| 163 |
+
"__abstract",
|
| 164 |
+
// reserved word with two underscores
|
| 165 |
+
"__alignof",
|
| 166 |
+
"__asm",
|
| 167 |
+
"__assume",
|
| 168 |
+
"__based",
|
| 169 |
+
"__box",
|
| 170 |
+
"__builtin_alignof",
|
| 171 |
+
"__cdecl",
|
| 172 |
+
"__clrcall",
|
| 173 |
+
"__declspec",
|
| 174 |
+
"__delegate",
|
| 175 |
+
"__event",
|
| 176 |
+
"__except",
|
| 177 |
+
"__fastcall",
|
| 178 |
+
"__finally",
|
| 179 |
+
"__forceinline",
|
| 180 |
+
"__gc",
|
| 181 |
+
"__hook",
|
| 182 |
+
"__identifier",
|
| 183 |
+
"__if_exists",
|
| 184 |
+
"__if_not_exists",
|
| 185 |
+
"__inline",
|
| 186 |
+
"__int128",
|
| 187 |
+
"__int16",
|
| 188 |
+
"__int32",
|
| 189 |
+
"__int64",
|
| 190 |
+
"__int8",
|
| 191 |
+
"__interface",
|
| 192 |
+
"__leave",
|
| 193 |
+
"__m128",
|
| 194 |
+
"__m128d",
|
| 195 |
+
"__m128i",
|
| 196 |
+
"__m256",
|
| 197 |
+
"__m256d",
|
| 198 |
+
"__m256i",
|
| 199 |
+
"__m512",
|
| 200 |
+
"__m512d",
|
| 201 |
+
"__m512i",
|
| 202 |
+
"__m64",
|
| 203 |
+
"__multiple_inheritance",
|
| 204 |
+
"__newslot",
|
| 205 |
+
"__nogc",
|
| 206 |
+
"__noop",
|
| 207 |
+
"__nounwind",
|
| 208 |
+
"__novtordisp",
|
| 209 |
+
"__pascal",
|
| 210 |
+
"__pin",
|
| 211 |
+
"__pragma",
|
| 212 |
+
"__property",
|
| 213 |
+
"__ptr32",
|
| 214 |
+
"__ptr64",
|
| 215 |
+
"__raise",
|
| 216 |
+
"__restrict",
|
| 217 |
+
"__resume",
|
| 218 |
+
"__sealed",
|
| 219 |
+
"__single_inheritance",
|
| 220 |
+
"__stdcall",
|
| 221 |
+
"__super",
|
| 222 |
+
"__thiscall",
|
| 223 |
+
"__try",
|
| 224 |
+
"__try_cast",
|
| 225 |
+
"__typeof",
|
| 226 |
+
"__unaligned",
|
| 227 |
+
"__unhook",
|
| 228 |
+
"__uuidof",
|
| 229 |
+
"__value",
|
| 230 |
+
"__virtual_inheritance",
|
| 231 |
+
"__w64",
|
| 232 |
+
"__wchar_t"
|
| 233 |
+
],
|
| 234 |
+
operators: [
|
| 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 |
+
"/=",
|
| 264 |
+
"&=",
|
| 265 |
+
"|=",
|
| 266 |
+
"^=",
|
| 267 |
+
"%=",
|
| 268 |
+
"<<=",
|
| 269 |
+
">>="
|
| 270 |
+
],
|
| 271 |
+
// we include these common regular expressions
|
| 272 |
+
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
| 273 |
+
escapes: /\\(?:[0abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
| 274 |
+
integersuffix: /([uU](ll|LL|l|L)|(ll|LL|l|L)?[uU]?)/,
|
| 275 |
+
floatsuffix: /[fFlL]?/,
|
| 276 |
+
encoding: /u|u8|U|L/,
|
| 277 |
+
// The main tokenizer for our languages
|
| 278 |
+
tokenizer: {
|
| 279 |
+
root: [
|
| 280 |
+
// C++ 11 Raw String
|
| 281 |
+
[/@encoding?R\"(?:([^ ()\\\t]*))\(/, { token: "string.raw.begin", next: "@raw.$1" }],
|
| 282 |
+
// identifiers and keywords
|
| 283 |
+
[
|
| 284 |
+
/[a-zA-Z_]\w*/,
|
| 285 |
+
{
|
| 286 |
+
cases: {
|
| 287 |
+
"@keywords": { token: "keyword.$0" },
|
| 288 |
+
"@default": "identifier"
|
| 289 |
+
}
|
| 290 |
+
}
|
| 291 |
+
],
|
| 292 |
+
// The preprocessor checks must be before whitespace as they check /^\s*#/ which
|
| 293 |
+
// otherwise fails to match later after other whitespace has been removed.
|
| 294 |
+
// Inclusion
|
| 295 |
+
[/^\s*#\s*include/, { token: "keyword.directive.include", next: "@include" }],
|
| 296 |
+
// Preprocessor directive
|
| 297 |
+
[/^\s*#\s*\w+/, "keyword.directive"],
|
| 298 |
+
// whitespace
|
| 299 |
+
{ include: "@whitespace" },
|
| 300 |
+
// [[ attributes ]].
|
| 301 |
+
[/\[\s*\[/, { token: "annotation", next: "@annotation" }],
|
| 302 |
+
// delimiters and operators
|
| 303 |
+
[/[{}()<>\[\]]/, "@brackets"],
|
| 304 |
+
[
|
| 305 |
+
/@symbols/,
|
| 306 |
+
{
|
| 307 |
+
cases: {
|
| 308 |
+
"@operators": "delimiter",
|
| 309 |
+
"@default": ""
|
| 310 |
+
}
|
| 311 |
+
}
|
| 312 |
+
],
|
| 313 |
+
// numbers
|
| 314 |
+
[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/, "number.float"],
|
| 315 |
+
[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/, "number.float"],
|
| 316 |
+
[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/, "number.hex"],
|
| 317 |
+
[/0[0-7']*[0-7](@integersuffix)/, "number.octal"],
|
| 318 |
+
[/0[bB][0-1']*[0-1](@integersuffix)/, "number.binary"],
|
| 319 |
+
[/\d[\d']*\d(@integersuffix)/, "number"],
|
| 320 |
+
[/\d(@integersuffix)/, "number"],
|
| 321 |
+
// delimiter: after number because of .\d floats
|
| 322 |
+
[/[;,.]/, "delimiter"],
|
| 323 |
+
// strings
|
| 324 |
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
| 325 |
+
// non-teminated string
|
| 326 |
+
[/"/, "string", "@string"],
|
| 327 |
+
// characters
|
| 328 |
+
[/'[^\\']'/, "string"],
|
| 329 |
+
[/(')(@escapes)(')/, ["string", "string.escape", "string"]],
|
| 330 |
+
[/'/, "string.invalid"]
|
| 331 |
+
],
|
| 332 |
+
whitespace: [
|
| 333 |
+
[/[ \t\r\n]+/, ""],
|
| 334 |
+
[/\/\*\*(?!\/)/, "comment.doc", "@doccomment"],
|
| 335 |
+
[/\/\*/, "comment", "@comment"],
|
| 336 |
+
[/\/\/.*\\$/, "comment", "@linecomment"],
|
| 337 |
+
[/\/\/.*$/, "comment"]
|
| 338 |
+
],
|
| 339 |
+
comment: [
|
| 340 |
+
[/[^\/*]+/, "comment"],
|
| 341 |
+
[/\*\//, "comment", "@pop"],
|
| 342 |
+
[/[\/*]/, "comment"]
|
| 343 |
+
],
|
| 344 |
+
//For use with continuous line comments
|
| 345 |
+
linecomment: [
|
| 346 |
+
[/.*[^\\]$/, "comment", "@pop"],
|
| 347 |
+
[/[^]+/, "comment"]
|
| 348 |
+
],
|
| 349 |
+
//Identical copy of comment above, except for the addition of .doc
|
| 350 |
+
doccomment: [
|
| 351 |
+
[/[^\/*]+/, "comment.doc"],
|
| 352 |
+
[/\*\//, "comment.doc", "@pop"],
|
| 353 |
+
[/[\/*]/, "comment.doc"]
|
| 354 |
+
],
|
| 355 |
+
string: [
|
| 356 |
+
[/[^\\"]+/, "string"],
|
| 357 |
+
[/@escapes/, "string.escape"],
|
| 358 |
+
[/\\./, "string.escape.invalid"],
|
| 359 |
+
[/"/, "string", "@pop"]
|
| 360 |
+
],
|
| 361 |
+
raw: [
|
| 362 |
+
[/[^)]+/, "string.raw"],
|
| 363 |
+
[/\)$S2\"/, { token: "string.raw.end", next: "@pop" }],
|
| 364 |
+
[/\)/, "string.raw"]
|
| 365 |
+
],
|
| 366 |
+
annotation: [
|
| 367 |
+
{ include: "@whitespace" },
|
| 368 |
+
[/using|alignas/, "keyword"],
|
| 369 |
+
[/[a-zA-Z0-9_]+/, "annotation"],
|
| 370 |
+
[/[,:]/, "delimiter"],
|
| 371 |
+
[/[()]/, "@brackets"],
|
| 372 |
+
[/\]\s*\]/, { token: "annotation", next: "@pop" }]
|
| 373 |
+
],
|
| 374 |
+
include: [
|
| 375 |
+
[
|
| 376 |
+
/(\s*)(<)([^<>]*)(>)/,
|
| 377 |
+
[
|
| 378 |
+
"",
|
| 379 |
+
"keyword.directive.include.begin",
|
| 380 |
+
"string.include.identifier",
|
| 381 |
+
{ token: "keyword.directive.include.end", next: "@pop" }
|
| 382 |
+
]
|
| 383 |
+
],
|
| 384 |
+
[
|
| 385 |
+
/(\s*)(")([^"]*)(")/,
|
| 386 |
+
[
|
| 387 |
+
"",
|
| 388 |
+
"keyword.directive.include.begin",
|
| 389 |
+
"string.include.identifier",
|
| 390 |
+
{ token: "keyword.directive.include.end", next: "@pop" }
|
| 391 |
+
]
|
| 392 |
+
]
|
| 393 |
+
]
|
| 394 |
+
}
|
| 395 |
+
};
|
| 396 |
+
export {
|
| 397 |
+
conf,
|
| 398 |
+
language
|
| 399 |
+
};
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/csharp/csharp.contribution.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export {}
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/csharp/csharp.contribution.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 8 |
+
|
| 9 |
+
// src/basic-languages/csharp/csharp.contribution.ts
|
| 10 |
+
import { registerLanguage } from "../_.contribution.js";
|
| 11 |
+
registerLanguage({
|
| 12 |
+
id: "csharp",
|
| 13 |
+
extensions: [".cs", ".csx", ".cake"],
|
| 14 |
+
aliases: ["C#", "csharp"],
|
| 15 |
+
loader: () => {
|
| 16 |
+
if (false) {
|
| 17 |
+
return new Promise((resolve, reject) => {
|
| 18 |
+
__require(["vs/basic-languages/csharp/csharp"], resolve, reject);
|
| 19 |
+
});
|
| 20 |
+
} else {
|
| 21 |
+
return import("./csharp.js");
|
| 22 |
+
}
|
| 23 |
+
}
|
| 24 |
+
});
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/csharp/csharp.js
ADDED
|
@@ -0,0 +1,336 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 8 |
+
|
| 9 |
+
// src/basic-languages/csharp/csharp.ts
|
| 10 |
+
var conf = {
|
| 11 |
+
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\#\$\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
|
| 12 |
+
comments: {
|
| 13 |
+
lineComment: "//",
|
| 14 |
+
blockComment: ["/*", "*/"]
|
| 15 |
+
},
|
| 16 |
+
brackets: [
|
| 17 |
+
["{", "}"],
|
| 18 |
+
["[", "]"],
|
| 19 |
+
["(", ")"]
|
| 20 |
+
],
|
| 21 |
+
autoClosingPairs: [
|
| 22 |
+
{ open: "{", close: "}" },
|
| 23 |
+
{ open: "[", close: "]" },
|
| 24 |
+
{ open: "(", close: ")" },
|
| 25 |
+
{ open: "'", close: "'", notIn: ["string", "comment"] },
|
| 26 |
+
{ open: '"', close: '"', notIn: ["string", "comment"] }
|
| 27 |
+
],
|
| 28 |
+
surroundingPairs: [
|
| 29 |
+
{ open: "{", close: "}" },
|
| 30 |
+
{ open: "[", close: "]" },
|
| 31 |
+
{ open: "(", close: ")" },
|
| 32 |
+
{ open: "<", close: ">" },
|
| 33 |
+
{ open: "'", close: "'" },
|
| 34 |
+
{ open: '"', close: '"' }
|
| 35 |
+
],
|
| 36 |
+
folding: {
|
| 37 |
+
markers: {
|
| 38 |
+
start: new RegExp("^\\s*#region\\b"),
|
| 39 |
+
end: new RegExp("^\\s*#endregion\\b")
|
| 40 |
+
}
|
| 41 |
+
}
|
| 42 |
+
};
|
| 43 |
+
var language = {
|
| 44 |
+
defaultToken: "",
|
| 45 |
+
tokenPostfix: ".cs",
|
| 46 |
+
brackets: [
|
| 47 |
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
| 48 |
+
{ open: "[", close: "]", token: "delimiter.square" },
|
| 49 |
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
| 50 |
+
{ open: "<", close: ">", token: "delimiter.angle" }
|
| 51 |
+
],
|
| 52 |
+
keywords: [
|
| 53 |
+
"extern",
|
| 54 |
+
"alias",
|
| 55 |
+
"using",
|
| 56 |
+
"bool",
|
| 57 |
+
"decimal",
|
| 58 |
+
"sbyte",
|
| 59 |
+
"byte",
|
| 60 |
+
"short",
|
| 61 |
+
"ushort",
|
| 62 |
+
"int",
|
| 63 |
+
"uint",
|
| 64 |
+
"long",
|
| 65 |
+
"ulong",
|
| 66 |
+
"char",
|
| 67 |
+
"float",
|
| 68 |
+
"double",
|
| 69 |
+
"object",
|
| 70 |
+
"dynamic",
|
| 71 |
+
"string",
|
| 72 |
+
"assembly",
|
| 73 |
+
"is",
|
| 74 |
+
"as",
|
| 75 |
+
"ref",
|
| 76 |
+
"out",
|
| 77 |
+
"this",
|
| 78 |
+
"base",
|
| 79 |
+
"new",
|
| 80 |
+
"typeof",
|
| 81 |
+
"void",
|
| 82 |
+
"checked",
|
| 83 |
+
"unchecked",
|
| 84 |
+
"default",
|
| 85 |
+
"delegate",
|
| 86 |
+
"var",
|
| 87 |
+
"const",
|
| 88 |
+
"if",
|
| 89 |
+
"else",
|
| 90 |
+
"switch",
|
| 91 |
+
"case",
|
| 92 |
+
"while",
|
| 93 |
+
"do",
|
| 94 |
+
"for",
|
| 95 |
+
"foreach",
|
| 96 |
+
"in",
|
| 97 |
+
"break",
|
| 98 |
+
"continue",
|
| 99 |
+
"goto",
|
| 100 |
+
"return",
|
| 101 |
+
"throw",
|
| 102 |
+
"try",
|
| 103 |
+
"catch",
|
| 104 |
+
"finally",
|
| 105 |
+
"lock",
|
| 106 |
+
"yield",
|
| 107 |
+
"from",
|
| 108 |
+
"let",
|
| 109 |
+
"where",
|
| 110 |
+
"join",
|
| 111 |
+
"on",
|
| 112 |
+
"equals",
|
| 113 |
+
"into",
|
| 114 |
+
"orderby",
|
| 115 |
+
"ascending",
|
| 116 |
+
"descending",
|
| 117 |
+
"select",
|
| 118 |
+
"group",
|
| 119 |
+
"by",
|
| 120 |
+
"namespace",
|
| 121 |
+
"partial",
|
| 122 |
+
"class",
|
| 123 |
+
"field",
|
| 124 |
+
"event",
|
| 125 |
+
"method",
|
| 126 |
+
"param",
|
| 127 |
+
"public",
|
| 128 |
+
"protected",
|
| 129 |
+
"internal",
|
| 130 |
+
"private",
|
| 131 |
+
"abstract",
|
| 132 |
+
"sealed",
|
| 133 |
+
"static",
|
| 134 |
+
"struct",
|
| 135 |
+
"readonly",
|
| 136 |
+
"volatile",
|
| 137 |
+
"virtual",
|
| 138 |
+
"override",
|
| 139 |
+
"params",
|
| 140 |
+
"get",
|
| 141 |
+
"set",
|
| 142 |
+
"add",
|
| 143 |
+
"remove",
|
| 144 |
+
"operator",
|
| 145 |
+
"true",
|
| 146 |
+
"false",
|
| 147 |
+
"implicit",
|
| 148 |
+
"explicit",
|
| 149 |
+
"interface",
|
| 150 |
+
"enum",
|
| 151 |
+
"null",
|
| 152 |
+
"async",
|
| 153 |
+
"await",
|
| 154 |
+
"fixed",
|
| 155 |
+
"sizeof",
|
| 156 |
+
"stackalloc",
|
| 157 |
+
"unsafe",
|
| 158 |
+
"nameof",
|
| 159 |
+
"when"
|
| 160 |
+
],
|
| 161 |
+
namespaceFollows: ["namespace", "using"],
|
| 162 |
+
parenFollows: ["if", "for", "while", "switch", "foreach", "using", "catch", "when"],
|
| 163 |
+
operators: [
|
| 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 |
+
"|=",
|
| 192 |
+
"^=",
|
| 193 |
+
"<<=",
|
| 194 |
+
">>=",
|
| 195 |
+
">>",
|
| 196 |
+
"=>"
|
| 197 |
+
],
|
| 198 |
+
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
| 199 |
+
// escape sequences
|
| 200 |
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
| 201 |
+
// The main tokenizer for our languages
|
| 202 |
+
tokenizer: {
|
| 203 |
+
root: [
|
| 204 |
+
// identifiers and keywords
|
| 205 |
+
[
|
| 206 |
+
/\@?[a-zA-Z_]\w*/,
|
| 207 |
+
{
|
| 208 |
+
cases: {
|
| 209 |
+
"@namespaceFollows": {
|
| 210 |
+
token: "keyword.$0",
|
| 211 |
+
next: "@namespace"
|
| 212 |
+
},
|
| 213 |
+
"@keywords": {
|
| 214 |
+
token: "keyword.$0",
|
| 215 |
+
next: "@qualified"
|
| 216 |
+
},
|
| 217 |
+
"@default": { token: "identifier", next: "@qualified" }
|
| 218 |
+
}
|
| 219 |
+
}
|
| 220 |
+
],
|
| 221 |
+
// whitespace
|
| 222 |
+
{ include: "@whitespace" },
|
| 223 |
+
// delimiters and operators
|
| 224 |
+
[
|
| 225 |
+
/}/,
|
| 226 |
+
{
|
| 227 |
+
cases: {
|
| 228 |
+
"$S2==interpolatedstring": {
|
| 229 |
+
token: "string.quote",
|
| 230 |
+
next: "@pop"
|
| 231 |
+
},
|
| 232 |
+
"$S2==litinterpstring": {
|
| 233 |
+
token: "string.quote",
|
| 234 |
+
next: "@pop"
|
| 235 |
+
},
|
| 236 |
+
"@default": "@brackets"
|
| 237 |
+
}
|
| 238 |
+
}
|
| 239 |
+
],
|
| 240 |
+
[/[{}()\[\]]/, "@brackets"],
|
| 241 |
+
[/[<>](?!@symbols)/, "@brackets"],
|
| 242 |
+
[
|
| 243 |
+
/@symbols/,
|
| 244 |
+
{
|
| 245 |
+
cases: {
|
| 246 |
+
"@operators": "delimiter",
|
| 247 |
+
"@default": ""
|
| 248 |
+
}
|
| 249 |
+
}
|
| 250 |
+
],
|
| 251 |
+
// numbers
|
| 252 |
+
[/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?[fFdD]?/, "number.float"],
|
| 253 |
+
[/0[xX][0-9a-fA-F_]+/, "number.hex"],
|
| 254 |
+
[/0[bB][01_]+/, "number.hex"],
|
| 255 |
+
// binary: use same theme style as hex
|
| 256 |
+
[/[0-9_]+/, "number"],
|
| 257 |
+
// delimiter: after number because of .\d floats
|
| 258 |
+
[/[;,.]/, "delimiter"],
|
| 259 |
+
// strings
|
| 260 |
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
| 261 |
+
// non-teminated string
|
| 262 |
+
[/"/, { token: "string.quote", next: "@string" }],
|
| 263 |
+
[/\$\@"/, { token: "string.quote", next: "@litinterpstring" }],
|
| 264 |
+
[/\@"/, { token: "string.quote", next: "@litstring" }],
|
| 265 |
+
[/\$"/, { token: "string.quote", next: "@interpolatedstring" }],
|
| 266 |
+
// characters
|
| 267 |
+
[/'[^\\']'/, "string"],
|
| 268 |
+
[/(')(@escapes)(')/, ["string", "string.escape", "string"]],
|
| 269 |
+
[/'/, "string.invalid"]
|
| 270 |
+
],
|
| 271 |
+
qualified: [
|
| 272 |
+
[
|
| 273 |
+
/[a-zA-Z_][\w]*/,
|
| 274 |
+
{
|
| 275 |
+
cases: {
|
| 276 |
+
"@keywords": { token: "keyword.$0" },
|
| 277 |
+
"@default": "identifier"
|
| 278 |
+
}
|
| 279 |
+
}
|
| 280 |
+
],
|
| 281 |
+
[/\./, "delimiter"],
|
| 282 |
+
["", "", "@pop"]
|
| 283 |
+
],
|
| 284 |
+
namespace: [
|
| 285 |
+
{ include: "@whitespace" },
|
| 286 |
+
[/[A-Z]\w*/, "namespace"],
|
| 287 |
+
[/[\.=]/, "delimiter"],
|
| 288 |
+
["", "", "@pop"]
|
| 289 |
+
],
|
| 290 |
+
comment: [
|
| 291 |
+
[/[^\/*]+/, "comment"],
|
| 292 |
+
// [/\/\*/, 'comment', '@push' ], // no nested comments :-(
|
| 293 |
+
["\\*/", "comment", "@pop"],
|
| 294 |
+
[/[\/*]/, "comment"]
|
| 295 |
+
],
|
| 296 |
+
string: [
|
| 297 |
+
[/[^\\"]+/, "string"],
|
| 298 |
+
[/@escapes/, "string.escape"],
|
| 299 |
+
[/\\./, "string.escape.invalid"],
|
| 300 |
+
[/"/, { token: "string.quote", next: "@pop" }]
|
| 301 |
+
],
|
| 302 |
+
litstring: [
|
| 303 |
+
[/[^"]+/, "string"],
|
| 304 |
+
[/""/, "string.escape"],
|
| 305 |
+
[/"/, { token: "string.quote", next: "@pop" }]
|
| 306 |
+
],
|
| 307 |
+
litinterpstring: [
|
| 308 |
+
[/[^"{]+/, "string"],
|
| 309 |
+
[/""/, "string.escape"],
|
| 310 |
+
[/{{/, "string.escape"],
|
| 311 |
+
[/}}/, "string.escape"],
|
| 312 |
+
[/{/, { token: "string.quote", next: "root.litinterpstring" }],
|
| 313 |
+
[/"/, { token: "string.quote", next: "@pop" }]
|
| 314 |
+
],
|
| 315 |
+
interpolatedstring: [
|
| 316 |
+
[/[^\\"{]+/, "string"],
|
| 317 |
+
[/@escapes/, "string.escape"],
|
| 318 |
+
[/\\./, "string.escape.invalid"],
|
| 319 |
+
[/{{/, "string.escape"],
|
| 320 |
+
[/}}/, "string.escape"],
|
| 321 |
+
[/{/, { token: "string.quote", next: "root.interpolatedstring" }],
|
| 322 |
+
[/"/, { token: "string.quote", next: "@pop" }]
|
| 323 |
+
],
|
| 324 |
+
whitespace: [
|
| 325 |
+
[/^[ \t\v\f]*#((r)|(load))(?=\s)/, "directive.csx"],
|
| 326 |
+
[/^[ \t\v\f]*#\w.*$/, "namespace.cpp"],
|
| 327 |
+
[/[ \t\v\f\r\n]+/, ""],
|
| 328 |
+
[/\/\*/, "comment", "@comment"],
|
| 329 |
+
[/\/\/.*$/, "comment"]
|
| 330 |
+
]
|
| 331 |
+
}
|
| 332 |
+
};
|
| 333 |
+
export {
|
| 334 |
+
conf,
|
| 335 |
+
language
|
| 336 |
+
};
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/csp/csp.contribution.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export {}
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/csp/csp.contribution.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 8 |
+
|
| 9 |
+
// src/basic-languages/csp/csp.contribution.ts
|
| 10 |
+
import { registerLanguage } from "../_.contribution.js";
|
| 11 |
+
registerLanguage({
|
| 12 |
+
id: "csp",
|
| 13 |
+
extensions: [".csp"],
|
| 14 |
+
aliases: ["CSP", "csp"],
|
| 15 |
+
loader: () => {
|
| 16 |
+
if (false) {
|
| 17 |
+
return new Promise((resolve, reject) => {
|
| 18 |
+
__require(["vs/basic-languages/csp/csp"], resolve, reject);
|
| 19 |
+
});
|
| 20 |
+
} else {
|
| 21 |
+
return import("./csp.js");
|
| 22 |
+
}
|
| 23 |
+
}
|
| 24 |
+
});
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/csp/csp.js
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 8 |
+
|
| 9 |
+
// src/basic-languages/csp/csp.ts
|
| 10 |
+
var conf = {
|
| 11 |
+
brackets: [],
|
| 12 |
+
autoClosingPairs: [],
|
| 13 |
+
surroundingPairs: []
|
| 14 |
+
};
|
| 15 |
+
var language = {
|
| 16 |
+
// Set defaultToken to invalid to see what you do not tokenize yet
|
| 17 |
+
// defaultToken: 'invalid',
|
| 18 |
+
keywords: [],
|
| 19 |
+
typeKeywords: [],
|
| 20 |
+
tokenPostfix: ".csp",
|
| 21 |
+
operators: [],
|
| 22 |
+
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
| 23 |
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
| 24 |
+
tokenizer: {
|
| 25 |
+
root: [
|
| 26 |
+
[/child-src/, "string.quote"],
|
| 27 |
+
[/connect-src/, "string.quote"],
|
| 28 |
+
[/default-src/, "string.quote"],
|
| 29 |
+
[/font-src/, "string.quote"],
|
| 30 |
+
[/frame-src/, "string.quote"],
|
| 31 |
+
[/img-src/, "string.quote"],
|
| 32 |
+
[/manifest-src/, "string.quote"],
|
| 33 |
+
[/media-src/, "string.quote"],
|
| 34 |
+
[/object-src/, "string.quote"],
|
| 35 |
+
[/script-src/, "string.quote"],
|
| 36 |
+
[/style-src/, "string.quote"],
|
| 37 |
+
[/worker-src/, "string.quote"],
|
| 38 |
+
[/base-uri/, "string.quote"],
|
| 39 |
+
[/plugin-types/, "string.quote"],
|
| 40 |
+
[/sandbox/, "string.quote"],
|
| 41 |
+
[/disown-opener/, "string.quote"],
|
| 42 |
+
[/form-action/, "string.quote"],
|
| 43 |
+
[/frame-ancestors/, "string.quote"],
|
| 44 |
+
[/report-uri/, "string.quote"],
|
| 45 |
+
[/report-to/, "string.quote"],
|
| 46 |
+
[/upgrade-insecure-requests/, "string.quote"],
|
| 47 |
+
[/block-all-mixed-content/, "string.quote"],
|
| 48 |
+
[/require-sri-for/, "string.quote"],
|
| 49 |
+
[/reflected-xss/, "string.quote"],
|
| 50 |
+
[/referrer/, "string.quote"],
|
| 51 |
+
[/policy-uri/, "string.quote"],
|
| 52 |
+
[/'self'/, "string.quote"],
|
| 53 |
+
[/'unsafe-inline'/, "string.quote"],
|
| 54 |
+
[/'unsafe-eval'/, "string.quote"],
|
| 55 |
+
[/'strict-dynamic'/, "string.quote"],
|
| 56 |
+
[/'unsafe-hashed-attributes'/, "string.quote"]
|
| 57 |
+
]
|
| 58 |
+
}
|
| 59 |
+
};
|
| 60 |
+
export {
|
| 61 |
+
conf,
|
| 62 |
+
language
|
| 63 |
+
};
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/css/css.contribution.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export {}
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/css/css.contribution.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 8 |
+
|
| 9 |
+
// src/basic-languages/css/css.contribution.ts
|
| 10 |
+
import { registerLanguage } from "../_.contribution.js";
|
| 11 |
+
registerLanguage({
|
| 12 |
+
id: "css",
|
| 13 |
+
extensions: [".css"],
|
| 14 |
+
aliases: ["CSS", "css"],
|
| 15 |
+
mimetypes: ["text/css"],
|
| 16 |
+
loader: () => {
|
| 17 |
+
if (false) {
|
| 18 |
+
return new Promise((resolve, reject) => {
|
| 19 |
+
__require(["vs/basic-languages/css/css"], resolve, reject);
|
| 20 |
+
});
|
| 21 |
+
} else {
|
| 22 |
+
return import("./css.js");
|
| 23 |
+
}
|
| 24 |
+
}
|
| 25 |
+
});
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/css/css.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 |
+
|
| 8 |
+
|
| 9 |
+
// src/basic-languages/css/css.ts
|
| 10 |
+
var conf = {
|
| 11 |
+
wordPattern: /(#?-?\d*\.\d\w*%?)|((::|[@#.!:])?[\w-?]+%?)|::|[@#.!:]/g,
|
| 12 |
+
comments: {
|
| 13 |
+
blockComment: ["/*", "*/"]
|
| 14 |
+
},
|
| 15 |
+
brackets: [
|
| 16 |
+
["{", "}"],
|
| 17 |
+
["[", "]"],
|
| 18 |
+
["(", ")"]
|
| 19 |
+
],
|
| 20 |
+
autoClosingPairs: [
|
| 21 |
+
{ open: "{", close: "}", notIn: ["string", "comment"] },
|
| 22 |
+
{ open: "[", close: "]", notIn: ["string", "comment"] },
|
| 23 |
+
{ open: "(", close: ")", notIn: ["string", "comment"] },
|
| 24 |
+
{ open: '"', close: '"', notIn: ["string", "comment"] },
|
| 25 |
+
{ open: "'", close: "'", notIn: ["string", "comment"] }
|
| 26 |
+
],
|
| 27 |
+
surroundingPairs: [
|
| 28 |
+
{ open: "{", close: "}" },
|
| 29 |
+
{ open: "[", close: "]" },
|
| 30 |
+
{ open: "(", close: ")" },
|
| 31 |
+
{ open: '"', close: '"' },
|
| 32 |
+
{ open: "'", close: "'" }
|
| 33 |
+
],
|
| 34 |
+
folding: {
|
| 35 |
+
markers: {
|
| 36 |
+
start: new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),
|
| 37 |
+
end: new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")
|
| 38 |
+
}
|
| 39 |
+
}
|
| 40 |
+
};
|
| 41 |
+
var language = {
|
| 42 |
+
defaultToken: "",
|
| 43 |
+
tokenPostfix: ".css",
|
| 44 |
+
ws: "[ \n\r\f]*",
|
| 45 |
+
// whitespaces (referenced in several rules)
|
| 46 |
+
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])))*",
|
| 47 |
+
brackets: [
|
| 48 |
+
{ open: "{", close: "}", token: "delimiter.bracket" },
|
| 49 |
+
{ open: "[", close: "]", token: "delimiter.bracket" },
|
| 50 |
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
| 51 |
+
{ open: "<", close: ">", token: "delimiter.angle" }
|
| 52 |
+
],
|
| 53 |
+
tokenizer: {
|
| 54 |
+
root: [{ include: "@selector" }],
|
| 55 |
+
selector: [
|
| 56 |
+
{ include: "@comments" },
|
| 57 |
+
{ include: "@import" },
|
| 58 |
+
{ include: "@strings" },
|
| 59 |
+
[
|
| 60 |
+
"[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",
|
| 61 |
+
{ token: "keyword", next: "@keyframedeclaration" }
|
| 62 |
+
],
|
| 63 |
+
["[@](page|content|font-face|-moz-document)", { token: "keyword" }],
|
| 64 |
+
["[@](charset|namespace)", { token: "keyword", next: "@declarationbody" }],
|
| 65 |
+
[
|
| 66 |
+
"(url-prefix)(\\()",
|
| 67 |
+
["attribute.value", { token: "delimiter.parenthesis", next: "@urldeclaration" }]
|
| 68 |
+
],
|
| 69 |
+
[
|
| 70 |
+
"(url)(\\()",
|
| 71 |
+
["attribute.value", { token: "delimiter.parenthesis", next: "@urldeclaration" }]
|
| 72 |
+
],
|
| 73 |
+
{ include: "@selectorname" },
|
| 74 |
+
["[\\*]", "tag"],
|
| 75 |
+
// selector symbols
|
| 76 |
+
["[>\\+,]", "delimiter"],
|
| 77 |
+
// selector operators
|
| 78 |
+
["\\[", { token: "delimiter.bracket", next: "@selectorattribute" }],
|
| 79 |
+
["{", { token: "delimiter.bracket", next: "@selectorbody" }]
|
| 80 |
+
],
|
| 81 |
+
selectorbody: [
|
| 82 |
+
{ include: "@comments" },
|
| 83 |
+
["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))", "attribute.name", "@rulevalue"],
|
| 84 |
+
// rule definition: to distinguish from a nested selector check for whitespace, number or a semicolon
|
| 85 |
+
["}", { token: "delimiter.bracket", next: "@pop" }]
|
| 86 |
+
],
|
| 87 |
+
selectorname: [
|
| 88 |
+
["(\\.|#(?=[^{])|%|(@identifier)|:)+", "tag"]
|
| 89 |
+
// selector (.foo, div, ...)
|
| 90 |
+
],
|
| 91 |
+
selectorattribute: [{ include: "@term" }, ["]", { token: "delimiter.bracket", next: "@pop" }]],
|
| 92 |
+
term: [
|
| 93 |
+
{ include: "@comments" },
|
| 94 |
+
[
|
| 95 |
+
"(url-prefix)(\\()",
|
| 96 |
+
["attribute.value", { token: "delimiter.parenthesis", next: "@urldeclaration" }]
|
| 97 |
+
],
|
| 98 |
+
[
|
| 99 |
+
"(url)(\\()",
|
| 100 |
+
["attribute.value", { token: "delimiter.parenthesis", next: "@urldeclaration" }]
|
| 101 |
+
],
|
| 102 |
+
{ include: "@functioninvocation" },
|
| 103 |
+
{ include: "@numbers" },
|
| 104 |
+
{ include: "@name" },
|
| 105 |
+
{ include: "@strings" },
|
| 106 |
+
["([<>=\\+\\-\\*\\/\\^\\|\\~,])", "delimiter"],
|
| 107 |
+
[",", "delimiter"]
|
| 108 |
+
],
|
| 109 |
+
rulevalue: [
|
| 110 |
+
{ include: "@comments" },
|
| 111 |
+
{ include: "@strings" },
|
| 112 |
+
{ include: "@term" },
|
| 113 |
+
["!important", "keyword"],
|
| 114 |
+
[";", "delimiter", "@pop"],
|
| 115 |
+
["(?=})", { token: "", next: "@pop" }]
|
| 116 |
+
// missing semicolon
|
| 117 |
+
],
|
| 118 |
+
warndebug: [["[@](warn|debug)", { token: "keyword", next: "@declarationbody" }]],
|
| 119 |
+
import: [["[@](import)", { token: "keyword", next: "@declarationbody" }]],
|
| 120 |
+
urldeclaration: [
|
| 121 |
+
{ include: "@strings" },
|
| 122 |
+
["[^)\r\n]+", "string"],
|
| 123 |
+
["\\)", { token: "delimiter.parenthesis", next: "@pop" }]
|
| 124 |
+
],
|
| 125 |
+
parenthizedterm: [
|
| 126 |
+
{ include: "@term" },
|
| 127 |
+
["\\)", { token: "delimiter.parenthesis", next: "@pop" }]
|
| 128 |
+
],
|
| 129 |
+
declarationbody: [
|
| 130 |
+
{ include: "@term" },
|
| 131 |
+
[";", "delimiter", "@pop"],
|
| 132 |
+
["(?=})", { token: "", next: "@pop" }]
|
| 133 |
+
// missing semicolon
|
| 134 |
+
],
|
| 135 |
+
comments: [
|
| 136 |
+
["\\/\\*", "comment", "@comment"],
|
| 137 |
+
["\\/\\/+.*", "comment"]
|
| 138 |
+
],
|
| 139 |
+
comment: [
|
| 140 |
+
["\\*\\/", "comment", "@pop"],
|
| 141 |
+
[/[^*/]+/, "comment"],
|
| 142 |
+
[/./, "comment"]
|
| 143 |
+
],
|
| 144 |
+
name: [["@identifier", "attribute.value"]],
|
| 145 |
+
numbers: [
|
| 146 |
+
["-?(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?", { token: "attribute.value.number", next: "@units" }],
|
| 147 |
+
["#[0-9a-fA-F_]+(?!\\w)", "attribute.value.hex"]
|
| 148 |
+
],
|
| 149 |
+
units: [
|
| 150 |
+
[
|
| 151 |
+
"(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?",
|
| 152 |
+
"attribute.value.unit",
|
| 153 |
+
"@pop"
|
| 154 |
+
]
|
| 155 |
+
],
|
| 156 |
+
keyframedeclaration: [
|
| 157 |
+
["@identifier", "attribute.value"],
|
| 158 |
+
["{", { token: "delimiter.bracket", switchTo: "@keyframebody" }]
|
| 159 |
+
],
|
| 160 |
+
keyframebody: [
|
| 161 |
+
{ include: "@term" },
|
| 162 |
+
["{", { token: "delimiter.bracket", next: "@selectorbody" }],
|
| 163 |
+
["}", { token: "delimiter.bracket", next: "@pop" }]
|
| 164 |
+
],
|
| 165 |
+
functioninvocation: [
|
| 166 |
+
["@identifier\\(", { token: "attribute.value", next: "@functionarguments" }]
|
| 167 |
+
],
|
| 168 |
+
functionarguments: [
|
| 169 |
+
["\\$@identifier@ws:", "attribute.name"],
|
| 170 |
+
["[,]", "delimiter"],
|
| 171 |
+
{ include: "@term" },
|
| 172 |
+
["\\)", { token: "attribute.value", next: "@pop" }]
|
| 173 |
+
],
|
| 174 |
+
strings: [
|
| 175 |
+
['~?"', { token: "string", next: "@stringenddoublequote" }],
|
| 176 |
+
["~?'", { token: "string", next: "@stringendquote" }]
|
| 177 |
+
],
|
| 178 |
+
stringenddoublequote: [
|
| 179 |
+
["\\\\.", "string"],
|
| 180 |
+
['"', { token: "string", next: "@pop" }],
|
| 181 |
+
[/[^\\"]+/, "string"],
|
| 182 |
+
[".", "string"]
|
| 183 |
+
],
|
| 184 |
+
stringendquote: [
|
| 185 |
+
["\\\\.", "string"],
|
| 186 |
+
["'", { token: "string", next: "@pop" }],
|
| 187 |
+
[/[^\\']+/, "string"],
|
| 188 |
+
[".", "string"]
|
| 189 |
+
]
|
| 190 |
+
}
|
| 191 |
+
};
|
| 192 |
+
export {
|
| 193 |
+
conf,
|
| 194 |
+
language
|
| 195 |
+
};
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/cypher/cypher.contribution.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export {}
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/cypher/cypher.contribution.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 8 |
+
|
| 9 |
+
// src/basic-languages/cypher/cypher.contribution.ts
|
| 10 |
+
import { registerLanguage } from "../_.contribution.js";
|
| 11 |
+
registerLanguage({
|
| 12 |
+
id: "cypher",
|
| 13 |
+
extensions: [".cypher", ".cyp"],
|
| 14 |
+
aliases: ["Cypher", "OpenCypher"],
|
| 15 |
+
loader: () => {
|
| 16 |
+
if (false) {
|
| 17 |
+
return new Promise((resolve, reject) => {
|
| 18 |
+
__require(["vs/basic-languages/cypher/cypher"], resolve, reject);
|
| 19 |
+
});
|
| 20 |
+
} else {
|
| 21 |
+
return import("./cypher.js");
|
| 22 |
+
}
|
| 23 |
+
}
|
| 24 |
+
});
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/cypher/cypher.js
ADDED
|
@@ -0,0 +1,273 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 8 |
+
|
| 9 |
+
// src/basic-languages/cypher/cypher.ts
|
| 10 |
+
var conf = {
|
| 11 |
+
comments: {
|
| 12 |
+
lineComment: "//",
|
| 13 |
+
blockComment: ["/*", "*/"]
|
| 14 |
+
},
|
| 15 |
+
brackets: [
|
| 16 |
+
["{", "}"],
|
| 17 |
+
["[", "]"],
|
| 18 |
+
["(", ")"]
|
| 19 |
+
],
|
| 20 |
+
autoClosingPairs: [
|
| 21 |
+
{ open: "{", close: "}" },
|
| 22 |
+
{ open: "[", close: "]" },
|
| 23 |
+
{ open: "(", close: ")" },
|
| 24 |
+
{ open: '"', close: '"' },
|
| 25 |
+
{ open: "'", close: "'" },
|
| 26 |
+
{ open: "`", close: "`" }
|
| 27 |
+
],
|
| 28 |
+
surroundingPairs: [
|
| 29 |
+
{ open: "{", close: "}" },
|
| 30 |
+
{ open: "[", close: "]" },
|
| 31 |
+
{ open: "(", close: ")" },
|
| 32 |
+
{ open: '"', close: '"' },
|
| 33 |
+
{ open: "'", close: "'" },
|
| 34 |
+
{ open: "`", close: "`" }
|
| 35 |
+
]
|
| 36 |
+
};
|
| 37 |
+
var language = {
|
| 38 |
+
defaultToken: "",
|
| 39 |
+
tokenPostfix: `.cypher`,
|
| 40 |
+
ignoreCase: true,
|
| 41 |
+
brackets: [
|
| 42 |
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
| 43 |
+
{ open: "[", close: "]", token: "delimiter.bracket" },
|
| 44 |
+
{ open: "(", close: ")", token: "delimiter.parenthesis" }
|
| 45 |
+
],
|
| 46 |
+
keywords: [
|
| 47 |
+
"ALL",
|
| 48 |
+
"AND",
|
| 49 |
+
"AS",
|
| 50 |
+
"ASC",
|
| 51 |
+
"ASCENDING",
|
| 52 |
+
"BY",
|
| 53 |
+
"CALL",
|
| 54 |
+
"CASE",
|
| 55 |
+
"CONTAINS",
|
| 56 |
+
"CREATE",
|
| 57 |
+
"DELETE",
|
| 58 |
+
"DESC",
|
| 59 |
+
"DESCENDING",
|
| 60 |
+
"DETACH",
|
| 61 |
+
"DISTINCT",
|
| 62 |
+
"ELSE",
|
| 63 |
+
"END",
|
| 64 |
+
"ENDS",
|
| 65 |
+
"EXISTS",
|
| 66 |
+
"IN",
|
| 67 |
+
"IS",
|
| 68 |
+
"LIMIT",
|
| 69 |
+
"MANDATORY",
|
| 70 |
+
"MATCH",
|
| 71 |
+
"MERGE",
|
| 72 |
+
"NOT",
|
| 73 |
+
"ON",
|
| 74 |
+
"ON",
|
| 75 |
+
"OPTIONAL",
|
| 76 |
+
"OR",
|
| 77 |
+
"ORDER",
|
| 78 |
+
"REMOVE",
|
| 79 |
+
"RETURN",
|
| 80 |
+
"SET",
|
| 81 |
+
"SKIP",
|
| 82 |
+
"STARTS",
|
| 83 |
+
"THEN",
|
| 84 |
+
"UNION",
|
| 85 |
+
"UNWIND",
|
| 86 |
+
"WHEN",
|
| 87 |
+
"WHERE",
|
| 88 |
+
"WITH",
|
| 89 |
+
"XOR",
|
| 90 |
+
"YIELD"
|
| 91 |
+
],
|
| 92 |
+
builtinLiterals: ["true", "TRUE", "false", "FALSE", "null", "NULL"],
|
| 93 |
+
builtinFunctions: [
|
| 94 |
+
"abs",
|
| 95 |
+
"acos",
|
| 96 |
+
"asin",
|
| 97 |
+
"atan",
|
| 98 |
+
"atan2",
|
| 99 |
+
"avg",
|
| 100 |
+
"ceil",
|
| 101 |
+
"coalesce",
|
| 102 |
+
"collect",
|
| 103 |
+
"cos",
|
| 104 |
+
"cot",
|
| 105 |
+
"count",
|
| 106 |
+
"degrees",
|
| 107 |
+
"e",
|
| 108 |
+
"endNode",
|
| 109 |
+
"exists",
|
| 110 |
+
"exp",
|
| 111 |
+
"floor",
|
| 112 |
+
"head",
|
| 113 |
+
"id",
|
| 114 |
+
"keys",
|
| 115 |
+
"labels",
|
| 116 |
+
"last",
|
| 117 |
+
"left",
|
| 118 |
+
"length",
|
| 119 |
+
"log",
|
| 120 |
+
"log10",
|
| 121 |
+
"lTrim",
|
| 122 |
+
"max",
|
| 123 |
+
"min",
|
| 124 |
+
"nodes",
|
| 125 |
+
"percentileCont",
|
| 126 |
+
"percentileDisc",
|
| 127 |
+
"pi",
|
| 128 |
+
"properties",
|
| 129 |
+
"radians",
|
| 130 |
+
"rand",
|
| 131 |
+
"range",
|
| 132 |
+
"relationships",
|
| 133 |
+
"replace",
|
| 134 |
+
"reverse",
|
| 135 |
+
"right",
|
| 136 |
+
"round",
|
| 137 |
+
"rTrim",
|
| 138 |
+
"sign",
|
| 139 |
+
"sin",
|
| 140 |
+
"size",
|
| 141 |
+
"split",
|
| 142 |
+
"sqrt",
|
| 143 |
+
"startNode",
|
| 144 |
+
"stDev",
|
| 145 |
+
"stDevP",
|
| 146 |
+
"substring",
|
| 147 |
+
"sum",
|
| 148 |
+
"tail",
|
| 149 |
+
"tan",
|
| 150 |
+
"timestamp",
|
| 151 |
+
"toBoolean",
|
| 152 |
+
"toFloat",
|
| 153 |
+
"toInteger",
|
| 154 |
+
"toLower",
|
| 155 |
+
"toString",
|
| 156 |
+
"toUpper",
|
| 157 |
+
"trim",
|
| 158 |
+
"type"
|
| 159 |
+
],
|
| 160 |
+
operators: [
|
| 161 |
+
// Math operators
|
| 162 |
+
"+",
|
| 163 |
+
"-",
|
| 164 |
+
"*",
|
| 165 |
+
"/",
|
| 166 |
+
"%",
|
| 167 |
+
"^",
|
| 168 |
+
// Comparison operators
|
| 169 |
+
"=",
|
| 170 |
+
"<>",
|
| 171 |
+
"<",
|
| 172 |
+
">",
|
| 173 |
+
"<=",
|
| 174 |
+
">=",
|
| 175 |
+
// Pattern operators
|
| 176 |
+
"->",
|
| 177 |
+
"<-",
|
| 178 |
+
"-->",
|
| 179 |
+
"<--"
|
| 180 |
+
],
|
| 181 |
+
escapes: /\\(?:[tbnrf\\"'`]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
| 182 |
+
digits: /\d+/,
|
| 183 |
+
octaldigits: /[0-7]+/,
|
| 184 |
+
hexdigits: /[0-9a-fA-F]+/,
|
| 185 |
+
tokenizer: {
|
| 186 |
+
root: [[/[{}[\]()]/, "@brackets"], { include: "common" }],
|
| 187 |
+
common: [
|
| 188 |
+
{ include: "@whitespace" },
|
| 189 |
+
{ include: "@numbers" },
|
| 190 |
+
{ include: "@strings" },
|
| 191 |
+
// Cypher labels on nodes/relationships, e.g. (n:NodeLabel)-[e:RelationshipLabel]
|
| 192 |
+
[/:[a-zA-Z_][\w]*/, "type.identifier"],
|
| 193 |
+
[
|
| 194 |
+
/[a-zA-Z_][\w]*(?=\()/,
|
| 195 |
+
{
|
| 196 |
+
cases: {
|
| 197 |
+
"@builtinFunctions": "predefined.function"
|
| 198 |
+
}
|
| 199 |
+
}
|
| 200 |
+
],
|
| 201 |
+
[
|
| 202 |
+
/[a-zA-Z_$][\w$]*/,
|
| 203 |
+
{
|
| 204 |
+
cases: {
|
| 205 |
+
"@keywords": "keyword",
|
| 206 |
+
"@builtinLiterals": "predefined.literal",
|
| 207 |
+
"@default": "identifier"
|
| 208 |
+
}
|
| 209 |
+
}
|
| 210 |
+
],
|
| 211 |
+
[/`/, "identifier.escape", "@identifierBacktick"],
|
| 212 |
+
// delimiter and operator after number because of `.\d` floats and `:` in labels
|
| 213 |
+
[/[;,.:|]/, "delimiter"],
|
| 214 |
+
[
|
| 215 |
+
/[<>=%+\-*/^]+/,
|
| 216 |
+
{
|
| 217 |
+
cases: {
|
| 218 |
+
"@operators": "delimiter",
|
| 219 |
+
"@default": ""
|
| 220 |
+
}
|
| 221 |
+
}
|
| 222 |
+
]
|
| 223 |
+
],
|
| 224 |
+
numbers: [
|
| 225 |
+
[/-?(@digits)[eE](-?(@digits))?/, "number.float"],
|
| 226 |
+
[/-?(@digits)?\.(@digits)([eE]-?(@digits))?/, "number.float"],
|
| 227 |
+
[/-?0x(@hexdigits)/, "number.hex"],
|
| 228 |
+
[/-?0(@octaldigits)/, "number.octal"],
|
| 229 |
+
[/-?(@digits)/, "number"]
|
| 230 |
+
],
|
| 231 |
+
strings: [
|
| 232 |
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
| 233 |
+
// non-teminated string
|
| 234 |
+
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
| 235 |
+
// non-teminated string
|
| 236 |
+
[/"/, "string", "@stringDouble"],
|
| 237 |
+
[/'/, "string", "@stringSingle"]
|
| 238 |
+
],
|
| 239 |
+
whitespace: [
|
| 240 |
+
[/[ \t\r\n]+/, "white"],
|
| 241 |
+
[/\/\*/, "comment", "@comment"],
|
| 242 |
+
[/\/\/.*$/, "comment"]
|
| 243 |
+
],
|
| 244 |
+
comment: [
|
| 245 |
+
[/\/\/.*/, "comment"],
|
| 246 |
+
[/[^/*]+/, "comment"],
|
| 247 |
+
[/\*\//, "comment", "@pop"],
|
| 248 |
+
[/[/*]/, "comment"]
|
| 249 |
+
],
|
| 250 |
+
stringDouble: [
|
| 251 |
+
[/[^\\"]+/, "string"],
|
| 252 |
+
[/@escapes/, "string"],
|
| 253 |
+
[/\\./, "string.invalid"],
|
| 254 |
+
[/"/, "string", "@pop"]
|
| 255 |
+
],
|
| 256 |
+
stringSingle: [
|
| 257 |
+
[/[^\\']+/, "string"],
|
| 258 |
+
[/@escapes/, "string"],
|
| 259 |
+
[/\\./, "string.invalid"],
|
| 260 |
+
[/'/, "string", "@pop"]
|
| 261 |
+
],
|
| 262 |
+
identifierBacktick: [
|
| 263 |
+
[/[^\\`]+/, "identifier.escape"],
|
| 264 |
+
[/@escapes/, "identifier.escape"],
|
| 265 |
+
[/\\./, "identifier.escape.invalid"],
|
| 266 |
+
[/`/, "identifier.escape", "@pop"]
|
| 267 |
+
]
|
| 268 |
+
}
|
| 269 |
+
};
|
| 270 |
+
export {
|
| 271 |
+
conf,
|
| 272 |
+
language
|
| 273 |
+
};
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/dart/dart.contribution.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export {}
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/dart/dart.contribution.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 8 |
+
|
| 9 |
+
// src/basic-languages/dart/dart.contribution.ts
|
| 10 |
+
import { registerLanguage } from "../_.contribution.js";
|
| 11 |
+
registerLanguage({
|
| 12 |
+
id: "dart",
|
| 13 |
+
extensions: [".dart"],
|
| 14 |
+
aliases: ["Dart", "dart"],
|
| 15 |
+
mimetypes: ["text/x-dart-source", "text/x-dart"],
|
| 16 |
+
loader: () => {
|
| 17 |
+
if (false) {
|
| 18 |
+
return new Promise((resolve, reject) => {
|
| 19 |
+
__require(["vs/basic-languages/dart/dart"], resolve, reject);
|
| 20 |
+
});
|
| 21 |
+
} else {
|
| 22 |
+
return import("./dart.js");
|
| 23 |
+
}
|
| 24 |
+
}
|
| 25 |
+
});
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/dart/dart.js
ADDED
|
@@ -0,0 +1,291 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 8 |
+
|
| 9 |
+
// src/basic-languages/dart/dart.ts
|
| 10 |
+
var conf = {
|
| 11 |
+
comments: {
|
| 12 |
+
lineComment: "//",
|
| 13 |
+
blockComment: ["/*", "*/"]
|
| 14 |
+
},
|
| 15 |
+
brackets: [
|
| 16 |
+
["{", "}"],
|
| 17 |
+
["[", "]"],
|
| 18 |
+
["(", ")"]
|
| 19 |
+
],
|
| 20 |
+
autoClosingPairs: [
|
| 21 |
+
{ open: "{", close: "}" },
|
| 22 |
+
{ open: "[", close: "]" },
|
| 23 |
+
{ open: "(", close: ")" },
|
| 24 |
+
{ open: "'", close: "'", notIn: ["string", "comment"] },
|
| 25 |
+
{ open: '"', close: '"', notIn: ["string"] },
|
| 26 |
+
{ open: "`", close: "`", notIn: ["string", "comment"] },
|
| 27 |
+
{ open: "/**", close: " */", notIn: ["string"] }
|
| 28 |
+
],
|
| 29 |
+
surroundingPairs: [
|
| 30 |
+
{ open: "{", close: "}" },
|
| 31 |
+
{ open: "[", close: "]" },
|
| 32 |
+
{ open: "(", close: ")" },
|
| 33 |
+
{ open: "<", close: ">" },
|
| 34 |
+
{ open: "'", close: "'" },
|
| 35 |
+
{ open: "(", close: ")" },
|
| 36 |
+
{ open: '"', close: '"' },
|
| 37 |
+
{ open: "`", close: "`" }
|
| 38 |
+
],
|
| 39 |
+
folding: {
|
| 40 |
+
markers: {
|
| 41 |
+
start: /^\s*\s*#?region\b/,
|
| 42 |
+
end: /^\s*\s*#?endregion\b/
|
| 43 |
+
}
|
| 44 |
+
}
|
| 45 |
+
};
|
| 46 |
+
var language = {
|
| 47 |
+
defaultToken: "invalid",
|
| 48 |
+
tokenPostfix: ".dart",
|
| 49 |
+
keywords: [
|
| 50 |
+
"abstract",
|
| 51 |
+
"dynamic",
|
| 52 |
+
"implements",
|
| 53 |
+
"show",
|
| 54 |
+
"as",
|
| 55 |
+
"else",
|
| 56 |
+
"import",
|
| 57 |
+
"static",
|
| 58 |
+
"assert",
|
| 59 |
+
"enum",
|
| 60 |
+
"in",
|
| 61 |
+
"super",
|
| 62 |
+
"async",
|
| 63 |
+
"export",
|
| 64 |
+
"interface",
|
| 65 |
+
"switch",
|
| 66 |
+
"await",
|
| 67 |
+
"extends",
|
| 68 |
+
"is",
|
| 69 |
+
"sync",
|
| 70 |
+
"break",
|
| 71 |
+
"external",
|
| 72 |
+
"library",
|
| 73 |
+
"this",
|
| 74 |
+
"case",
|
| 75 |
+
"factory",
|
| 76 |
+
"mixin",
|
| 77 |
+
"throw",
|
| 78 |
+
"catch",
|
| 79 |
+
"false",
|
| 80 |
+
"new",
|
| 81 |
+
"true",
|
| 82 |
+
"class",
|
| 83 |
+
"final",
|
| 84 |
+
"null",
|
| 85 |
+
"try",
|
| 86 |
+
"const",
|
| 87 |
+
"finally",
|
| 88 |
+
"on",
|
| 89 |
+
"typedef",
|
| 90 |
+
"continue",
|
| 91 |
+
"for",
|
| 92 |
+
"operator",
|
| 93 |
+
"var",
|
| 94 |
+
"covariant",
|
| 95 |
+
"Function",
|
| 96 |
+
"part",
|
| 97 |
+
"void",
|
| 98 |
+
"default",
|
| 99 |
+
"get",
|
| 100 |
+
"rethrow",
|
| 101 |
+
"while",
|
| 102 |
+
"deferred",
|
| 103 |
+
"hide",
|
| 104 |
+
"return",
|
| 105 |
+
"with",
|
| 106 |
+
"do",
|
| 107 |
+
"if",
|
| 108 |
+
"set",
|
| 109 |
+
"yield"
|
| 110 |
+
],
|
| 111 |
+
typeKeywords: ["int", "double", "String", "bool"],
|
| 112 |
+
operators: [
|
| 113 |
+
"+",
|
| 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 |
+
// we include these common regular expressions
|
| 155 |
+
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
| 156 |
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
| 157 |
+
digits: /\d+(_+\d+)*/,
|
| 158 |
+
octaldigits: /[0-7]+(_+[0-7]+)*/,
|
| 159 |
+
binarydigits: /[0-1]+(_+[0-1]+)*/,
|
| 160 |
+
hexdigits: /[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,
|
| 161 |
+
regexpctl: /[(){}\[\]\$\^|\-*+?\.]/,
|
| 162 |
+
regexpesc: /\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,
|
| 163 |
+
// The main tokenizer for our languages
|
| 164 |
+
tokenizer: {
|
| 165 |
+
root: [[/[{}]/, "delimiter.bracket"], { include: "common" }],
|
| 166 |
+
common: [
|
| 167 |
+
// identifiers and keywords
|
| 168 |
+
[
|
| 169 |
+
/[a-z_$][\w$]*/,
|
| 170 |
+
{
|
| 171 |
+
cases: {
|
| 172 |
+
"@typeKeywords": "type.identifier",
|
| 173 |
+
"@keywords": "keyword",
|
| 174 |
+
"@default": "identifier"
|
| 175 |
+
}
|
| 176 |
+
}
|
| 177 |
+
],
|
| 178 |
+
[/[A-Z_$][\w\$]*/, "type.identifier"],
|
| 179 |
+
// show class names
|
| 180 |
+
// [/[A-Z][\w\$]*/, 'identifier'],
|
| 181 |
+
// whitespace
|
| 182 |
+
{ include: "@whitespace" },
|
| 183 |
+
// regular expression: ensure it is terminated before beginning (otherwise it is an opeator)
|
| 184 |
+
[
|
| 185 |
+
/\/(?=([^\\\/]|\\.)+\/([gimsuy]*)(\s*)(\.|;|,|\)|\]|\}|$))/,
|
| 186 |
+
{ token: "regexp", bracket: "@open", next: "@regexp" }
|
| 187 |
+
],
|
| 188 |
+
// @ annotations.
|
| 189 |
+
[/@[a-zA-Z]+/, "annotation"],
|
| 190 |
+
// variable
|
| 191 |
+
// delimiters and operators
|
| 192 |
+
[/[()\[\]]/, "@brackets"],
|
| 193 |
+
[/[<>](?!@symbols)/, "@brackets"],
|
| 194 |
+
[/!(?=([^=]|$))/, "delimiter"],
|
| 195 |
+
[
|
| 196 |
+
/@symbols/,
|
| 197 |
+
{
|
| 198 |
+
cases: {
|
| 199 |
+
"@operators": "delimiter",
|
| 200 |
+
"@default": ""
|
| 201 |
+
}
|
| 202 |
+
}
|
| 203 |
+
],
|
| 204 |
+
// numbers
|
| 205 |
+
[/(@digits)[eE]([\-+]?(@digits))?/, "number.float"],
|
| 206 |
+
[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/, "number.float"],
|
| 207 |
+
[/0[xX](@hexdigits)n?/, "number.hex"],
|
| 208 |
+
[/0[oO]?(@octaldigits)n?/, "number.octal"],
|
| 209 |
+
[/0[bB](@binarydigits)n?/, "number.binary"],
|
| 210 |
+
[/(@digits)n?/, "number"],
|
| 211 |
+
// delimiter: after number because of .\d floats
|
| 212 |
+
[/[;,.]/, "delimiter"],
|
| 213 |
+
// strings
|
| 214 |
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
| 215 |
+
// non-teminated string
|
| 216 |
+
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
| 217 |
+
// non-teminated string
|
| 218 |
+
[/"/, "string", "@string_double"],
|
| 219 |
+
[/'/, "string", "@string_single"]
|
| 220 |
+
// [/[a-zA-Z]+/, "variable"]
|
| 221 |
+
],
|
| 222 |
+
whitespace: [
|
| 223 |
+
[/[ \t\r\n]+/, ""],
|
| 224 |
+
[/\/\*\*(?!\/)/, "comment.doc", "@jsdoc"],
|
| 225 |
+
[/\/\*/, "comment", "@comment"],
|
| 226 |
+
[/\/\/\/.*$/, "comment.doc"],
|
| 227 |
+
[/\/\/.*$/, "comment"]
|
| 228 |
+
],
|
| 229 |
+
comment: [
|
| 230 |
+
[/[^\/*]+/, "comment"],
|
| 231 |
+
[/\*\//, "comment", "@pop"],
|
| 232 |
+
[/[\/*]/, "comment"]
|
| 233 |
+
],
|
| 234 |
+
jsdoc: [
|
| 235 |
+
[/[^\/*]+/, "comment.doc"],
|
| 236 |
+
[/\*\//, "comment.doc", "@pop"],
|
| 237 |
+
[/[\/*]/, "comment.doc"]
|
| 238 |
+
],
|
| 239 |
+
// We match regular expression quite precisely
|
| 240 |
+
regexp: [
|
| 241 |
+
[
|
| 242 |
+
/(\{)(\d+(?:,\d*)?)(\})/,
|
| 243 |
+
["regexp.escape.control", "regexp.escape.control", "regexp.escape.control"]
|
| 244 |
+
],
|
| 245 |
+
[
|
| 246 |
+
/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,
|
| 247 |
+
["regexp.escape.control", { token: "regexp.escape.control", next: "@regexrange" }]
|
| 248 |
+
],
|
| 249 |
+
[/(\()(\?:|\?=|\?!)/, ["regexp.escape.control", "regexp.escape.control"]],
|
| 250 |
+
[/[()]/, "regexp.escape.control"],
|
| 251 |
+
[/@regexpctl/, "regexp.escape.control"],
|
| 252 |
+
[/[^\\\/]/, "regexp"],
|
| 253 |
+
[/@regexpesc/, "regexp.escape"],
|
| 254 |
+
[/\\\./, "regexp.invalid"],
|
| 255 |
+
[/(\/)([gimsuy]*)/, [{ token: "regexp", bracket: "@close", next: "@pop" }, "keyword.other"]]
|
| 256 |
+
],
|
| 257 |
+
regexrange: [
|
| 258 |
+
[/-/, "regexp.escape.control"],
|
| 259 |
+
[/\^/, "regexp.invalid"],
|
| 260 |
+
[/@regexpesc/, "regexp.escape"],
|
| 261 |
+
[/[^\]]/, "regexp"],
|
| 262 |
+
[
|
| 263 |
+
/\]/,
|
| 264 |
+
{
|
| 265 |
+
token: "regexp.escape.control",
|
| 266 |
+
next: "@pop",
|
| 267 |
+
bracket: "@close"
|
| 268 |
+
}
|
| 269 |
+
]
|
| 270 |
+
],
|
| 271 |
+
string_double: [
|
| 272 |
+
[/[^\\"\$]+/, "string"],
|
| 273 |
+
[/[^\\"]+/, "string"],
|
| 274 |
+
[/@escapes/, "string.escape"],
|
| 275 |
+
[/\\./, "string.escape.invalid"],
|
| 276 |
+
[/"/, "string", "@pop"],
|
| 277 |
+
[/\$\w+/, "identifier"]
|
| 278 |
+
],
|
| 279 |
+
string_single: [
|
| 280 |
+
[/[^\\'\$]+/, "string"],
|
| 281 |
+
[/@escapes/, "string.escape"],
|
| 282 |
+
[/\\./, "string.escape.invalid"],
|
| 283 |
+
[/'/, "string", "@pop"],
|
| 284 |
+
[/\$\w+/, "identifier"]
|
| 285 |
+
]
|
| 286 |
+
}
|
| 287 |
+
};
|
| 288 |
+
export {
|
| 289 |
+
conf,
|
| 290 |
+
language
|
| 291 |
+
};
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/dockerfile/dockerfile.contribution.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export {}
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/dockerfile/dockerfile.contribution.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 8 |
+
|
| 9 |
+
// src/basic-languages/dockerfile/dockerfile.contribution.ts
|
| 10 |
+
import { registerLanguage } from "../_.contribution.js";
|
| 11 |
+
registerLanguage({
|
| 12 |
+
id: "dockerfile",
|
| 13 |
+
extensions: [".dockerfile"],
|
| 14 |
+
filenames: ["Dockerfile"],
|
| 15 |
+
aliases: ["Dockerfile"],
|
| 16 |
+
loader: () => {
|
| 17 |
+
if (false) {
|
| 18 |
+
return new Promise((resolve, reject) => {
|
| 19 |
+
__require(["vs/basic-languages/dockerfile/dockerfile"], resolve, reject);
|
| 20 |
+
});
|
| 21 |
+
} else {
|
| 22 |
+
return import("./dockerfile.js");
|
| 23 |
+
}
|
| 24 |
+
}
|
| 25 |
+
});
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/dockerfile/dockerfile.js
ADDED
|
@@ -0,0 +1,140 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 8 |
+
|
| 9 |
+
// src/basic-languages/dockerfile/dockerfile.ts
|
| 10 |
+
var conf = {
|
| 11 |
+
brackets: [
|
| 12 |
+
["{", "}"],
|
| 13 |
+
["[", "]"],
|
| 14 |
+
["(", ")"]
|
| 15 |
+
],
|
| 16 |
+
autoClosingPairs: [
|
| 17 |
+
{ open: "{", close: "}" },
|
| 18 |
+
{ open: "[", close: "]" },
|
| 19 |
+
{ open: "(", close: ")" },
|
| 20 |
+
{ open: '"', close: '"' },
|
| 21 |
+
{ open: "'", close: "'" }
|
| 22 |
+
],
|
| 23 |
+
surroundingPairs: [
|
| 24 |
+
{ open: "{", close: "}" },
|
| 25 |
+
{ open: "[", close: "]" },
|
| 26 |
+
{ open: "(", close: ")" },
|
| 27 |
+
{ open: '"', close: '"' },
|
| 28 |
+
{ open: "'", close: "'" }
|
| 29 |
+
]
|
| 30 |
+
};
|
| 31 |
+
var language = {
|
| 32 |
+
defaultToken: "",
|
| 33 |
+
tokenPostfix: ".dockerfile",
|
| 34 |
+
variable: /\${?[\w]+}?/,
|
| 35 |
+
tokenizer: {
|
| 36 |
+
root: [
|
| 37 |
+
{ include: "@whitespace" },
|
| 38 |
+
{ include: "@comment" },
|
| 39 |
+
[/(ONBUILD)(\s+)/, ["keyword", ""]],
|
| 40 |
+
[/(ENV)(\s+)([\w]+)/, ["keyword", "", { token: "variable", next: "@arguments" }]],
|
| 41 |
+
[
|
| 42 |
+
/(FROM|MAINTAINER|RUN|EXPOSE|ENV|ADD|ARG|VOLUME|LABEL|USER|WORKDIR|COPY|CMD|STOPSIGNAL|SHELL|HEALTHCHECK|ENTRYPOINT)/,
|
| 43 |
+
{ token: "keyword", next: "@arguments" }
|
| 44 |
+
]
|
| 45 |
+
],
|
| 46 |
+
arguments: [
|
| 47 |
+
{ include: "@whitespace" },
|
| 48 |
+
{ include: "@strings" },
|
| 49 |
+
[
|
| 50 |
+
/(@variable)/,
|
| 51 |
+
{
|
| 52 |
+
cases: {
|
| 53 |
+
"@eos": { token: "variable", next: "@popall" },
|
| 54 |
+
"@default": "variable"
|
| 55 |
+
}
|
| 56 |
+
}
|
| 57 |
+
],
|
| 58 |
+
[
|
| 59 |
+
/\\/,
|
| 60 |
+
{
|
| 61 |
+
cases: {
|
| 62 |
+
"@eos": "",
|
| 63 |
+
"@default": ""
|
| 64 |
+
}
|
| 65 |
+
}
|
| 66 |
+
],
|
| 67 |
+
[
|
| 68 |
+
/./,
|
| 69 |
+
{
|
| 70 |
+
cases: {
|
| 71 |
+
"@eos": { token: "", next: "@popall" },
|
| 72 |
+
"@default": ""
|
| 73 |
+
}
|
| 74 |
+
}
|
| 75 |
+
]
|
| 76 |
+
],
|
| 77 |
+
// Deal with white space, including comments
|
| 78 |
+
whitespace: [
|
| 79 |
+
[
|
| 80 |
+
/\s+/,
|
| 81 |
+
{
|
| 82 |
+
cases: {
|
| 83 |
+
"@eos": { token: "", next: "@popall" },
|
| 84 |
+
"@default": ""
|
| 85 |
+
}
|
| 86 |
+
}
|
| 87 |
+
]
|
| 88 |
+
],
|
| 89 |
+
comment: [[/(^#.*$)/, "comment", "@popall"]],
|
| 90 |
+
// Recognize strings, including those broken across lines with \ (but not without)
|
| 91 |
+
strings: [
|
| 92 |
+
[/\\'$/, "", "@popall"],
|
| 93 |
+
// \' leaves @arguments at eol
|
| 94 |
+
[/\\'/, ""],
|
| 95 |
+
// \' is not a string
|
| 96 |
+
[/'$/, "string", "@popall"],
|
| 97 |
+
[/'/, "string", "@stringBody"],
|
| 98 |
+
[/"$/, "string", "@popall"],
|
| 99 |
+
[/"/, "string", "@dblStringBody"]
|
| 100 |
+
],
|
| 101 |
+
stringBody: [
|
| 102 |
+
[
|
| 103 |
+
/[^\\\$']/,
|
| 104 |
+
{
|
| 105 |
+
cases: {
|
| 106 |
+
"@eos": { token: "string", next: "@popall" },
|
| 107 |
+
"@default": "string"
|
| 108 |
+
}
|
| 109 |
+
}
|
| 110 |
+
],
|
| 111 |
+
[/\\./, "string.escape"],
|
| 112 |
+
[/'$/, "string", "@popall"],
|
| 113 |
+
[/'/, "string", "@pop"],
|
| 114 |
+
[/(@variable)/, "variable"],
|
| 115 |
+
[/\\$/, "string"],
|
| 116 |
+
[/$/, "string", "@popall"]
|
| 117 |
+
],
|
| 118 |
+
dblStringBody: [
|
| 119 |
+
[
|
| 120 |
+
/[^\\\$"]/,
|
| 121 |
+
{
|
| 122 |
+
cases: {
|
| 123 |
+
"@eos": { token: "string", next: "@popall" },
|
| 124 |
+
"@default": "string"
|
| 125 |
+
}
|
| 126 |
+
}
|
| 127 |
+
],
|
| 128 |
+
[/\\./, "string.escape"],
|
| 129 |
+
[/"$/, "string", "@popall"],
|
| 130 |
+
[/"/, "string", "@pop"],
|
| 131 |
+
[/(@variable)/, "variable"],
|
| 132 |
+
[/\\$/, "string"],
|
| 133 |
+
[/$/, "string", "@popall"]
|
| 134 |
+
]
|
| 135 |
+
}
|
| 136 |
+
};
|
| 137 |
+
export {
|
| 138 |
+
conf,
|
| 139 |
+
language
|
| 140 |
+
};
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/ecl/ecl.contribution.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export {}
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/ecl/ecl.contribution.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 8 |
+
|
| 9 |
+
// src/basic-languages/ecl/ecl.contribution.ts
|
| 10 |
+
import { registerLanguage } from "../_.contribution.js";
|
| 11 |
+
registerLanguage({
|
| 12 |
+
id: "ecl",
|
| 13 |
+
extensions: [".ecl"],
|
| 14 |
+
aliases: ["ECL", "Ecl", "ecl"],
|
| 15 |
+
loader: () => {
|
| 16 |
+
if (false) {
|
| 17 |
+
return new Promise((resolve, reject) => {
|
| 18 |
+
__require(["vs/basic-languages/ecl/ecl"], resolve, reject);
|
| 19 |
+
});
|
| 20 |
+
} else {
|
| 21 |
+
return import("./ecl.js");
|
| 22 |
+
}
|
| 23 |
+
}
|
| 24 |
+
});
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/ecl/ecl.js
ADDED
|
@@ -0,0 +1,466 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 8 |
+
|
| 9 |
+
// src/basic-languages/ecl/ecl.ts
|
| 10 |
+
var conf = {
|
| 11 |
+
comments: {
|
| 12 |
+
lineComment: "//",
|
| 13 |
+
blockComment: ["/*", "*/"]
|
| 14 |
+
},
|
| 15 |
+
brackets: [
|
| 16 |
+
["{", "}"],
|
| 17 |
+
["[", "]"],
|
| 18 |
+
["(", ")"]
|
| 19 |
+
],
|
| 20 |
+
autoClosingPairs: [
|
| 21 |
+
{ open: "{", close: "}" },
|
| 22 |
+
{ open: "[", close: "]" },
|
| 23 |
+
{ open: "(", close: ")" },
|
| 24 |
+
{ open: "'", close: "'", notIn: ["string", "comment"] },
|
| 25 |
+
{ open: '"', close: '"', notIn: ["string", "comment"] }
|
| 26 |
+
],
|
| 27 |
+
surroundingPairs: [
|
| 28 |
+
{ open: "{", close: "}" },
|
| 29 |
+
{ open: "[", close: "]" },
|
| 30 |
+
{ open: "(", close: ")" },
|
| 31 |
+
{ open: "<", close: ">" },
|
| 32 |
+
{ open: "'", close: "'" },
|
| 33 |
+
{ open: '"', close: '"' }
|
| 34 |
+
]
|
| 35 |
+
};
|
| 36 |
+
var language = {
|
| 37 |
+
defaultToken: "",
|
| 38 |
+
tokenPostfix: ".ecl",
|
| 39 |
+
ignoreCase: true,
|
| 40 |
+
brackets: [
|
| 41 |
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
| 42 |
+
{ open: "[", close: "]", token: "delimiter.square" },
|
| 43 |
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
| 44 |
+
{ open: "<", close: ">", token: "delimiter.angle" }
|
| 45 |
+
],
|
| 46 |
+
pounds: [
|
| 47 |
+
"append",
|
| 48 |
+
"break",
|
| 49 |
+
"declare",
|
| 50 |
+
"demangle",
|
| 51 |
+
"end",
|
| 52 |
+
"for",
|
| 53 |
+
"getdatatype",
|
| 54 |
+
"if",
|
| 55 |
+
"inmodule",
|
| 56 |
+
"loop",
|
| 57 |
+
"mangle",
|
| 58 |
+
"onwarning",
|
| 59 |
+
"option",
|
| 60 |
+
"set",
|
| 61 |
+
"stored",
|
| 62 |
+
"uniquename"
|
| 63 |
+
].join("|"),
|
| 64 |
+
keywords: [
|
| 65 |
+
"__compressed__",
|
| 66 |
+
"after",
|
| 67 |
+
"all",
|
| 68 |
+
"and",
|
| 69 |
+
"any",
|
| 70 |
+
"as",
|
| 71 |
+
"atmost",
|
| 72 |
+
"before",
|
| 73 |
+
"beginc",
|
| 74 |
+
"best",
|
| 75 |
+
"between",
|
| 76 |
+
"case",
|
| 77 |
+
"cluster",
|
| 78 |
+
"compressed",
|
| 79 |
+
"compression",
|
| 80 |
+
"const",
|
| 81 |
+
"counter",
|
| 82 |
+
"csv",
|
| 83 |
+
"default",
|
| 84 |
+
"descend",
|
| 85 |
+
"embed",
|
| 86 |
+
"encoding",
|
| 87 |
+
"encrypt",
|
| 88 |
+
"end",
|
| 89 |
+
"endc",
|
| 90 |
+
"endembed",
|
| 91 |
+
"endmacro",
|
| 92 |
+
"enum",
|
| 93 |
+
"escape",
|
| 94 |
+
"except",
|
| 95 |
+
"exclusive",
|
| 96 |
+
"expire",
|
| 97 |
+
"export",
|
| 98 |
+
"extend",
|
| 99 |
+
"fail",
|
| 100 |
+
"few",
|
| 101 |
+
"fileposition",
|
| 102 |
+
"first",
|
| 103 |
+
"flat",
|
| 104 |
+
"forward",
|
| 105 |
+
"from",
|
| 106 |
+
"full",
|
| 107 |
+
"function",
|
| 108 |
+
"functionmacro",
|
| 109 |
+
"group",
|
| 110 |
+
"grouped",
|
| 111 |
+
"heading",
|
| 112 |
+
"hole",
|
| 113 |
+
"ifblock",
|
| 114 |
+
"import",
|
| 115 |
+
"in",
|
| 116 |
+
"inner",
|
| 117 |
+
"interface",
|
| 118 |
+
"internal",
|
| 119 |
+
"joined",
|
| 120 |
+
"keep",
|
| 121 |
+
"keyed",
|
| 122 |
+
"last",
|
| 123 |
+
"left",
|
| 124 |
+
"limit",
|
| 125 |
+
"linkcounted",
|
| 126 |
+
"literal",
|
| 127 |
+
"little_endian",
|
| 128 |
+
"load",
|
| 129 |
+
"local",
|
| 130 |
+
"locale",
|
| 131 |
+
"lookup",
|
| 132 |
+
"lzw",
|
| 133 |
+
"macro",
|
| 134 |
+
"many",
|
| 135 |
+
"maxcount",
|
| 136 |
+
"maxlength",
|
| 137 |
+
"min skew",
|
| 138 |
+
"module",
|
| 139 |
+
"mofn",
|
| 140 |
+
"multiple",
|
| 141 |
+
"named",
|
| 142 |
+
"namespace",
|
| 143 |
+
"nocase",
|
| 144 |
+
"noroot",
|
| 145 |
+
"noscan",
|
| 146 |
+
"nosort",
|
| 147 |
+
"not",
|
| 148 |
+
"noxpath",
|
| 149 |
+
"of",
|
| 150 |
+
"onfail",
|
| 151 |
+
"only",
|
| 152 |
+
"opt",
|
| 153 |
+
"or",
|
| 154 |
+
"outer",
|
| 155 |
+
"overwrite",
|
| 156 |
+
"packed",
|
| 157 |
+
"partition",
|
| 158 |
+
"penalty",
|
| 159 |
+
"physicallength",
|
| 160 |
+
"pipe",
|
| 161 |
+
"prefetch",
|
| 162 |
+
"quote",
|
| 163 |
+
"record",
|
| 164 |
+
"repeat",
|
| 165 |
+
"retry",
|
| 166 |
+
"return",
|
| 167 |
+
"right",
|
| 168 |
+
"right1",
|
| 169 |
+
"right2",
|
| 170 |
+
"rows",
|
| 171 |
+
"rowset",
|
| 172 |
+
"scan",
|
| 173 |
+
"scope",
|
| 174 |
+
"self",
|
| 175 |
+
"separator",
|
| 176 |
+
"service",
|
| 177 |
+
"shared",
|
| 178 |
+
"skew",
|
| 179 |
+
"skip",
|
| 180 |
+
"smart",
|
| 181 |
+
"soapaction",
|
| 182 |
+
"sql",
|
| 183 |
+
"stable",
|
| 184 |
+
"store",
|
| 185 |
+
"terminator",
|
| 186 |
+
"thor",
|
| 187 |
+
"threshold",
|
| 188 |
+
"timelimit",
|
| 189 |
+
"timeout",
|
| 190 |
+
"token",
|
| 191 |
+
"transform",
|
| 192 |
+
"trim",
|
| 193 |
+
"type",
|
| 194 |
+
"unicodeorder",
|
| 195 |
+
"unordered",
|
| 196 |
+
"unsorted",
|
| 197 |
+
"unstable",
|
| 198 |
+
"update",
|
| 199 |
+
"use",
|
| 200 |
+
"validate",
|
| 201 |
+
"virtual",
|
| 202 |
+
"whole",
|
| 203 |
+
"width",
|
| 204 |
+
"wild",
|
| 205 |
+
"within",
|
| 206 |
+
"wnotrim",
|
| 207 |
+
"xml",
|
| 208 |
+
"xpath"
|
| 209 |
+
],
|
| 210 |
+
functions: [
|
| 211 |
+
"abs",
|
| 212 |
+
"acos",
|
| 213 |
+
"aggregate",
|
| 214 |
+
"allnodes",
|
| 215 |
+
"apply",
|
| 216 |
+
"ascii",
|
| 217 |
+
"asin",
|
| 218 |
+
"assert",
|
| 219 |
+
"asstring",
|
| 220 |
+
"atan",
|
| 221 |
+
"atan2",
|
| 222 |
+
"ave",
|
| 223 |
+
"build",
|
| 224 |
+
"buildindex",
|
| 225 |
+
"case",
|
| 226 |
+
"catch",
|
| 227 |
+
"choose",
|
| 228 |
+
"choosen",
|
| 229 |
+
"choosesets",
|
| 230 |
+
"clustersize",
|
| 231 |
+
"combine",
|
| 232 |
+
"correlation",
|
| 233 |
+
"cos",
|
| 234 |
+
"cosh",
|
| 235 |
+
"count",
|
| 236 |
+
"covariance",
|
| 237 |
+
"cron",
|
| 238 |
+
"dataset",
|
| 239 |
+
"dedup",
|
| 240 |
+
"define",
|
| 241 |
+
"denormalize",
|
| 242 |
+
"dictionary",
|
| 243 |
+
"distribute",
|
| 244 |
+
"distributed",
|
| 245 |
+
"distribution",
|
| 246 |
+
"ebcdic",
|
| 247 |
+
"enth",
|
| 248 |
+
"error",
|
| 249 |
+
"evaluate",
|
| 250 |
+
"event",
|
| 251 |
+
"eventextra",
|
| 252 |
+
"eventname",
|
| 253 |
+
"exists",
|
| 254 |
+
"exp",
|
| 255 |
+
"fail",
|
| 256 |
+
"failcode",
|
| 257 |
+
"failmessage",
|
| 258 |
+
"fetch",
|
| 259 |
+
"fromunicode",
|
| 260 |
+
"fromxml",
|
| 261 |
+
"getenv",
|
| 262 |
+
"getisvalid",
|
| 263 |
+
"global",
|
| 264 |
+
"graph",
|
| 265 |
+
"group",
|
| 266 |
+
"hash",
|
| 267 |
+
"hash32",
|
| 268 |
+
"hash64",
|
| 269 |
+
"hashcrc",
|
| 270 |
+
"hashmd5",
|
| 271 |
+
"having",
|
| 272 |
+
"httpcall",
|
| 273 |
+
"httpheader",
|
| 274 |
+
"if",
|
| 275 |
+
"iff",
|
| 276 |
+
"index",
|
| 277 |
+
"intformat",
|
| 278 |
+
"isvalid",
|
| 279 |
+
"iterate",
|
| 280 |
+
"join",
|
| 281 |
+
"keydiff",
|
| 282 |
+
"keypatch",
|
| 283 |
+
"keyunicode",
|
| 284 |
+
"length",
|
| 285 |
+
"library",
|
| 286 |
+
"limit",
|
| 287 |
+
"ln",
|
| 288 |
+
"loadxml",
|
| 289 |
+
"local",
|
| 290 |
+
"log",
|
| 291 |
+
"loop",
|
| 292 |
+
"map",
|
| 293 |
+
"matched",
|
| 294 |
+
"matchlength",
|
| 295 |
+
"matchposition",
|
| 296 |
+
"matchtext",
|
| 297 |
+
"matchunicode",
|
| 298 |
+
"max",
|
| 299 |
+
"merge",
|
| 300 |
+
"mergejoin",
|
| 301 |
+
"min",
|
| 302 |
+
"nofold",
|
| 303 |
+
"nolocal",
|
| 304 |
+
"nonempty",
|
| 305 |
+
"normalize",
|
| 306 |
+
"nothor",
|
| 307 |
+
"notify",
|
| 308 |
+
"output",
|
| 309 |
+
"parallel",
|
| 310 |
+
"parse",
|
| 311 |
+
"pipe",
|
| 312 |
+
"power",
|
| 313 |
+
"preload",
|
| 314 |
+
"process",
|
| 315 |
+
"project",
|
| 316 |
+
"pull",
|
| 317 |
+
"random",
|
| 318 |
+
"range",
|
| 319 |
+
"rank",
|
| 320 |
+
"ranked",
|
| 321 |
+
"realformat",
|
| 322 |
+
"recordof",
|
| 323 |
+
"regexfind",
|
| 324 |
+
"regexreplace",
|
| 325 |
+
"regroup",
|
| 326 |
+
"rejected",
|
| 327 |
+
"rollup",
|
| 328 |
+
"round",
|
| 329 |
+
"roundup",
|
| 330 |
+
"row",
|
| 331 |
+
"rowdiff",
|
| 332 |
+
"sample",
|
| 333 |
+
"sequential",
|
| 334 |
+
"set",
|
| 335 |
+
"sin",
|
| 336 |
+
"sinh",
|
| 337 |
+
"sizeof",
|
| 338 |
+
"soapcall",
|
| 339 |
+
"sort",
|
| 340 |
+
"sorted",
|
| 341 |
+
"sqrt",
|
| 342 |
+
"stepped",
|
| 343 |
+
"stored",
|
| 344 |
+
"sum",
|
| 345 |
+
"table",
|
| 346 |
+
"tan",
|
| 347 |
+
"tanh",
|
| 348 |
+
"thisnode",
|
| 349 |
+
"topn",
|
| 350 |
+
"tounicode",
|
| 351 |
+
"toxml",
|
| 352 |
+
"transfer",
|
| 353 |
+
"transform",
|
| 354 |
+
"trim",
|
| 355 |
+
"truncate",
|
| 356 |
+
"typeof",
|
| 357 |
+
"ungroup",
|
| 358 |
+
"unicodeorder",
|
| 359 |
+
"variance",
|
| 360 |
+
"wait",
|
| 361 |
+
"which",
|
| 362 |
+
"workunit",
|
| 363 |
+
"xmldecode",
|
| 364 |
+
"xmlencode",
|
| 365 |
+
"xmltext",
|
| 366 |
+
"xmlunicode"
|
| 367 |
+
],
|
| 368 |
+
typesint: ["integer", "unsigned"].join("|"),
|
| 369 |
+
typesnum: ["data", "qstring", "string", "unicode", "utf8", "varstring", "varunicode"],
|
| 370 |
+
typesone: [
|
| 371 |
+
"ascii",
|
| 372 |
+
"big_endian",
|
| 373 |
+
"boolean",
|
| 374 |
+
"data",
|
| 375 |
+
"decimal",
|
| 376 |
+
"ebcdic",
|
| 377 |
+
"grouped",
|
| 378 |
+
"integer",
|
| 379 |
+
"linkcounted",
|
| 380 |
+
"pattern",
|
| 381 |
+
"qstring",
|
| 382 |
+
"real",
|
| 383 |
+
"record",
|
| 384 |
+
"rule",
|
| 385 |
+
"set of",
|
| 386 |
+
"streamed",
|
| 387 |
+
"string",
|
| 388 |
+
"token",
|
| 389 |
+
"udecimal",
|
| 390 |
+
"unicode",
|
| 391 |
+
"unsigned",
|
| 392 |
+
"utf8",
|
| 393 |
+
"varstring",
|
| 394 |
+
"varunicode"
|
| 395 |
+
].join("|"),
|
| 396 |
+
operators: ["+", "-", "/", ":=", "<", "<>", "=", ">", "\\", "and", "in", "not", "or"],
|
| 397 |
+
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
| 398 |
+
// escape sequences
|
| 399 |
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
| 400 |
+
// The main tokenizer for our languages
|
| 401 |
+
tokenizer: {
|
| 402 |
+
root: [
|
| 403 |
+
[/@typesint[4|8]/, "type"],
|
| 404 |
+
[/#(@pounds)/, "type"],
|
| 405 |
+
[/@typesone/, "type"],
|
| 406 |
+
[
|
| 407 |
+
/[a-zA-Z_$][\w-$]*/,
|
| 408 |
+
{
|
| 409 |
+
cases: {
|
| 410 |
+
"@functions": "keyword.function",
|
| 411 |
+
"@keywords": "keyword",
|
| 412 |
+
"@operators": "operator"
|
| 413 |
+
}
|
| 414 |
+
}
|
| 415 |
+
],
|
| 416 |
+
// whitespace
|
| 417 |
+
{ include: "@whitespace" },
|
| 418 |
+
[/[{}()\[\]]/, "@brackets"],
|
| 419 |
+
[/[<>](?!@symbols)/, "@brackets"],
|
| 420 |
+
[
|
| 421 |
+
/@symbols/,
|
| 422 |
+
{
|
| 423 |
+
cases: {
|
| 424 |
+
"@operators": "delimiter",
|
| 425 |
+
"@default": ""
|
| 426 |
+
}
|
| 427 |
+
}
|
| 428 |
+
],
|
| 429 |
+
// numbers
|
| 430 |
+
[/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?/, "number.float"],
|
| 431 |
+
[/0[xX][0-9a-fA-F_]+/, "number.hex"],
|
| 432 |
+
[/0[bB][01]+/, "number.hex"],
|
| 433 |
+
// binary: use same theme style as hex
|
| 434 |
+
[/[0-9_]+/, "number"],
|
| 435 |
+
// delimiter: after number because of .\d floats
|
| 436 |
+
[/[;,.]/, "delimiter"],
|
| 437 |
+
// strings
|
| 438 |
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
| 439 |
+
[/"/, "string", "@string"],
|
| 440 |
+
// characters
|
| 441 |
+
[/'[^\\']'/, "string"],
|
| 442 |
+
[/(')(@escapes)(')/, ["string", "string.escape", "string"]],
|
| 443 |
+
[/'/, "string.invalid"]
|
| 444 |
+
],
|
| 445 |
+
whitespace: [
|
| 446 |
+
[/[ \t\v\f\r\n]+/, ""],
|
| 447 |
+
[/\/\*/, "comment", "@comment"],
|
| 448 |
+
[/\/\/.*$/, "comment"]
|
| 449 |
+
],
|
| 450 |
+
comment: [
|
| 451 |
+
[/[^\/*]+/, "comment"],
|
| 452 |
+
[/\*\//, "comment", "@pop"],
|
| 453 |
+
[/[\/*]/, "comment"]
|
| 454 |
+
],
|
| 455 |
+
string: [
|
| 456 |
+
[/[^\\']+/, "string"],
|
| 457 |
+
[/@escapes/, "string.escape"],
|
| 458 |
+
[/\\./, "string.escape.invalid"],
|
| 459 |
+
[/'/, "string", "@pop"]
|
| 460 |
+
]
|
| 461 |
+
}
|
| 462 |
+
};
|
| 463 |
+
export {
|
| 464 |
+
conf,
|
| 465 |
+
language
|
| 466 |
+
};
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/elixir/elixir.contribution.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export {}
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/elixir/elixir.contribution.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 8 |
+
|
| 9 |
+
// src/basic-languages/elixir/elixir.contribution.ts
|
| 10 |
+
import { registerLanguage } from "../_.contribution.js";
|
| 11 |
+
registerLanguage({
|
| 12 |
+
id: "elixir",
|
| 13 |
+
extensions: [".ex", ".exs"],
|
| 14 |
+
aliases: ["Elixir", "elixir", "ex"],
|
| 15 |
+
loader: () => {
|
| 16 |
+
if (false) {
|
| 17 |
+
return new Promise((resolve, reject) => {
|
| 18 |
+
__require(["vs/basic-languages/elixir/elixir"], resolve, reject);
|
| 19 |
+
});
|
| 20 |
+
} else {
|
| 21 |
+
return import("./elixir.js");
|
| 22 |
+
}
|
| 23 |
+
}
|
| 24 |
+
});
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/elixir/elixir.js
ADDED
|
@@ -0,0 +1,579 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 8 |
+
|
| 9 |
+
// src/basic-languages/elixir/elixir.ts
|
| 10 |
+
var conf = {
|
| 11 |
+
comments: {
|
| 12 |
+
lineComment: "#"
|
| 13 |
+
},
|
| 14 |
+
brackets: [
|
| 15 |
+
["{", "}"],
|
| 16 |
+
["[", "]"],
|
| 17 |
+
["(", ")"]
|
| 18 |
+
],
|
| 19 |
+
surroundingPairs: [
|
| 20 |
+
{ open: "{", close: "}" },
|
| 21 |
+
{ open: "[", close: "]" },
|
| 22 |
+
{ open: "(", close: ")" },
|
| 23 |
+
{ open: "'", close: "'" },
|
| 24 |
+
{ open: '"', close: '"' }
|
| 25 |
+
],
|
| 26 |
+
autoClosingPairs: [
|
| 27 |
+
{ open: "'", close: "'", notIn: ["string", "comment"] },
|
| 28 |
+
{ open: '"', close: '"', notIn: ["comment"] },
|
| 29 |
+
{ open: '"""', close: '"""' },
|
| 30 |
+
{ open: "`", close: "`", notIn: ["string", "comment"] },
|
| 31 |
+
{ open: "(", close: ")" },
|
| 32 |
+
{ open: "{", close: "}" },
|
| 33 |
+
{ open: "[", close: "]" },
|
| 34 |
+
{ open: "<<", close: ">>" }
|
| 35 |
+
],
|
| 36 |
+
indentationRules: {
|
| 37 |
+
increaseIndentPattern: /^\s*(after|else|catch|rescue|fn|[^#]*(do|<\-|\->|\{|\[|\=))\s*$/,
|
| 38 |
+
decreaseIndentPattern: /^\s*((\}|\])\s*$|(after|else|catch|rescue|end)\b)/
|
| 39 |
+
}
|
| 40 |
+
};
|
| 41 |
+
var language = {
|
| 42 |
+
defaultToken: "source",
|
| 43 |
+
tokenPostfix: ".elixir",
|
| 44 |
+
brackets: [
|
| 45 |
+
{ open: "[", close: "]", token: "delimiter.square" },
|
| 46 |
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
| 47 |
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
| 48 |
+
{ open: "<<", close: ">>", token: "delimiter.angle.special" }
|
| 49 |
+
],
|
| 50 |
+
// Below are lists/regexps to which we reference later.
|
| 51 |
+
declarationKeywords: [
|
| 52 |
+
"def",
|
| 53 |
+
"defp",
|
| 54 |
+
"defn",
|
| 55 |
+
"defnp",
|
| 56 |
+
"defguard",
|
| 57 |
+
"defguardp",
|
| 58 |
+
"defmacro",
|
| 59 |
+
"defmacrop",
|
| 60 |
+
"defdelegate",
|
| 61 |
+
"defcallback",
|
| 62 |
+
"defmacrocallback",
|
| 63 |
+
"defmodule",
|
| 64 |
+
"defprotocol",
|
| 65 |
+
"defexception",
|
| 66 |
+
"defimpl",
|
| 67 |
+
"defstruct"
|
| 68 |
+
],
|
| 69 |
+
operatorKeywords: ["and", "in", "not", "or", "when"],
|
| 70 |
+
namespaceKeywords: ["alias", "import", "require", "use"],
|
| 71 |
+
otherKeywords: [
|
| 72 |
+
"after",
|
| 73 |
+
"case",
|
| 74 |
+
"catch",
|
| 75 |
+
"cond",
|
| 76 |
+
"do",
|
| 77 |
+
"else",
|
| 78 |
+
"end",
|
| 79 |
+
"fn",
|
| 80 |
+
"for",
|
| 81 |
+
"if",
|
| 82 |
+
"quote",
|
| 83 |
+
"raise",
|
| 84 |
+
"receive",
|
| 85 |
+
"rescue",
|
| 86 |
+
"super",
|
| 87 |
+
"throw",
|
| 88 |
+
"try",
|
| 89 |
+
"unless",
|
| 90 |
+
"unquote_splicing",
|
| 91 |
+
"unquote",
|
| 92 |
+
"with"
|
| 93 |
+
],
|
| 94 |
+
constants: ["true", "false", "nil"],
|
| 95 |
+
nameBuiltin: ["__MODULE__", "__DIR__", "__ENV__", "__CALLER__", "__STACKTRACE__"],
|
| 96 |
+
// Matches any of the operator names:
|
| 97 |
+
// <<< >>> ||| &&& ^^^ ~~~ === !== ~>> <~> |~> <|> == != <= >= && || \\ <> ++ -- |> =~ -> <- ~> <~ :: .. = < > + - * / | . ^ & !
|
| 98 |
+
operator: /-[->]?|!={0,2}|\*{1,2}|\/|\\\\|&{1,3}|\.\.?|\^(?:\^\^)?|\+\+?|<(?:-|<<|=|>|\|>|~>?)?|=~|={1,3}|>(?:=|>>)?|\|~>|\|>|\|{1,3}|~>>?|~~~|::/,
|
| 99 |
+
// See https://hexdocs.pm/elixir/syntax-reference.html#variables
|
| 100 |
+
variableName: /[a-z_][a-zA-Z0-9_]*[?!]?/,
|
| 101 |
+
// See https://hexdocs.pm/elixir/syntax-reference.html#atoms
|
| 102 |
+
atomName: /[a-zA-Z_][a-zA-Z0-9_@]*[?!]?|@specialAtomName|@operator/,
|
| 103 |
+
specialAtomName: /\.\.\.|<<>>|%\{\}|%|\{\}/,
|
| 104 |
+
aliasPart: /[A-Z][a-zA-Z0-9_]*/,
|
| 105 |
+
moduleName: /@aliasPart(?:\.@aliasPart)*/,
|
| 106 |
+
// Sigil pairs are: """ """, ''' ''', " ", ' ', / /, | |, < >, { }, [ ], ( )
|
| 107 |
+
sigilSymmetricDelimiter: /"""|'''|"|'|\/|\|/,
|
| 108 |
+
sigilStartDelimiter: /@sigilSymmetricDelimiter|<|\{|\[|\(/,
|
| 109 |
+
sigilEndDelimiter: /@sigilSymmetricDelimiter|>|\}|\]|\)/,
|
| 110 |
+
sigilModifiers: /[a-zA-Z0-9]*/,
|
| 111 |
+
decimal: /\d(?:_?\d)*/,
|
| 112 |
+
hex: /[0-9a-fA-F](_?[0-9a-fA-F])*/,
|
| 113 |
+
octal: /[0-7](_?[0-7])*/,
|
| 114 |
+
binary: /[01](_?[01])*/,
|
| 115 |
+
// See https://hexdocs.pm/elixir/master/String.html#module-escape-characters
|
| 116 |
+
escape: /\\u[0-9a-fA-F]{4}|\\x[0-9a-fA-F]{2}|\\./,
|
| 117 |
+
// The keys below correspond to tokenizer states.
|
| 118 |
+
// We start from the root state and match against its rules
|
| 119 |
+
// until we explicitly transition into another state.
|
| 120 |
+
// The `include` simply brings in all operations from the given state
|
| 121 |
+
// and is useful for improving readability.
|
| 122 |
+
tokenizer: {
|
| 123 |
+
root: [
|
| 124 |
+
{ include: "@whitespace" },
|
| 125 |
+
{ include: "@comments" },
|
| 126 |
+
// Keywords start as either an identifier or a string,
|
| 127 |
+
// but end with a : so it's important to match this first.
|
| 128 |
+
{ include: "@keywordsShorthand" },
|
| 129 |
+
{ include: "@numbers" },
|
| 130 |
+
{ include: "@identifiers" },
|
| 131 |
+
{ include: "@strings" },
|
| 132 |
+
{ include: "@atoms" },
|
| 133 |
+
{ include: "@sigils" },
|
| 134 |
+
{ include: "@attributes" },
|
| 135 |
+
{ include: "@symbols" }
|
| 136 |
+
],
|
| 137 |
+
// Whitespace
|
| 138 |
+
whitespace: [[/\s+/, "white"]],
|
| 139 |
+
// Comments
|
| 140 |
+
comments: [[/(#)(.*)/, ["comment.punctuation", "comment"]]],
|
| 141 |
+
// Keyword list shorthand
|
| 142 |
+
keywordsShorthand: [
|
| 143 |
+
[/(@atomName)(:)(\s+)/, ["constant", "constant.punctuation", "white"]],
|
| 144 |
+
// Use positive look-ahead to ensure the string is followed by :
|
| 145 |
+
// and should be considered a keyword.
|
| 146 |
+
[
|
| 147 |
+
/"(?=([^"]|#\{.*?\}|\\")*":)/,
|
| 148 |
+
{ token: "constant.delimiter", next: "@doubleQuotedStringKeyword" }
|
| 149 |
+
],
|
| 150 |
+
[
|
| 151 |
+
/'(?=([^']|#\{.*?\}|\\')*':)/,
|
| 152 |
+
{ token: "constant.delimiter", next: "@singleQuotedStringKeyword" }
|
| 153 |
+
]
|
| 154 |
+
],
|
| 155 |
+
doubleQuotedStringKeyword: [
|
| 156 |
+
[/":/, { token: "constant.delimiter", next: "@pop" }],
|
| 157 |
+
{ include: "@stringConstantContentInterpol" }
|
| 158 |
+
],
|
| 159 |
+
singleQuotedStringKeyword: [
|
| 160 |
+
[/':/, { token: "constant.delimiter", next: "@pop" }],
|
| 161 |
+
{ include: "@stringConstantContentInterpol" }
|
| 162 |
+
],
|
| 163 |
+
// Numbers
|
| 164 |
+
numbers: [
|
| 165 |
+
[/0b@binary/, "number.binary"],
|
| 166 |
+
[/0o@octal/, "number.octal"],
|
| 167 |
+
[/0x@hex/, "number.hex"],
|
| 168 |
+
[/@decimal\.@decimal([eE]-?@decimal)?/, "number.float"],
|
| 169 |
+
[/@decimal/, "number"]
|
| 170 |
+
],
|
| 171 |
+
// Identifiers
|
| 172 |
+
identifiers: [
|
| 173 |
+
// Tokenize identifier name in function-like definitions.
|
| 174 |
+
// Note: given `def a + b, do: nil`, `a` is not a function name,
|
| 175 |
+
// so we use negative look-ahead to ensure there's no operator.
|
| 176 |
+
[
|
| 177 |
+
/\b(defp?|defnp?|defmacrop?|defguardp?|defdelegate)(\s+)(@variableName)(?!\s+@operator)/,
|
| 178 |
+
[
|
| 179 |
+
"keyword.declaration",
|
| 180 |
+
"white",
|
| 181 |
+
{
|
| 182 |
+
cases: {
|
| 183 |
+
unquote: "keyword",
|
| 184 |
+
"@default": "function"
|
| 185 |
+
}
|
| 186 |
+
}
|
| 187 |
+
]
|
| 188 |
+
],
|
| 189 |
+
// Tokenize function calls
|
| 190 |
+
[
|
| 191 |
+
// In-scope call - an identifier followed by ( or .(
|
| 192 |
+
/(@variableName)(?=\s*\.?\s*\()/,
|
| 193 |
+
{
|
| 194 |
+
cases: {
|
| 195 |
+
// Tokenize as keyword in cases like `if(..., do: ..., else: ...)`
|
| 196 |
+
"@declarationKeywords": "keyword.declaration",
|
| 197 |
+
"@namespaceKeywords": "keyword",
|
| 198 |
+
"@otherKeywords": "keyword",
|
| 199 |
+
"@default": "function.call"
|
| 200 |
+
}
|
| 201 |
+
}
|
| 202 |
+
],
|
| 203 |
+
[
|
| 204 |
+
// Referencing function in a module
|
| 205 |
+
/(@moduleName)(\s*)(\.)(\s*)(@variableName)/,
|
| 206 |
+
["type.identifier", "white", "operator", "white", "function.call"]
|
| 207 |
+
],
|
| 208 |
+
[
|
| 209 |
+
// Referencing function in an Erlang module
|
| 210 |
+
/(:)(@atomName)(\s*)(\.)(\s*)(@variableName)/,
|
| 211 |
+
["constant.punctuation", "constant", "white", "operator", "white", "function.call"]
|
| 212 |
+
],
|
| 213 |
+
[
|
| 214 |
+
// Piping into a function (tokenized separately as it may not have parentheses)
|
| 215 |
+
/(\|>)(\s*)(@variableName)/,
|
| 216 |
+
[
|
| 217 |
+
"operator",
|
| 218 |
+
"white",
|
| 219 |
+
{
|
| 220 |
+
cases: {
|
| 221 |
+
"@otherKeywords": "keyword",
|
| 222 |
+
"@default": "function.call"
|
| 223 |
+
}
|
| 224 |
+
}
|
| 225 |
+
]
|
| 226 |
+
],
|
| 227 |
+
[
|
| 228 |
+
// Function reference passed to another function
|
| 229 |
+
/(&)(\s*)(@variableName)/,
|
| 230 |
+
["operator", "white", "function.call"]
|
| 231 |
+
],
|
| 232 |
+
// Language keywords, builtins, constants and variables
|
| 233 |
+
[
|
| 234 |
+
/@variableName/,
|
| 235 |
+
{
|
| 236 |
+
cases: {
|
| 237 |
+
"@declarationKeywords": "keyword.declaration",
|
| 238 |
+
"@operatorKeywords": "keyword.operator",
|
| 239 |
+
"@namespaceKeywords": "keyword",
|
| 240 |
+
"@otherKeywords": "keyword",
|
| 241 |
+
"@constants": "constant.language",
|
| 242 |
+
"@nameBuiltin": "variable.language",
|
| 243 |
+
"_.*": "comment.unused",
|
| 244 |
+
"@default": "identifier"
|
| 245 |
+
}
|
| 246 |
+
}
|
| 247 |
+
],
|
| 248 |
+
// Module names
|
| 249 |
+
[/@moduleName/, "type.identifier"]
|
| 250 |
+
],
|
| 251 |
+
// Strings
|
| 252 |
+
strings: [
|
| 253 |
+
[/"""/, { token: "string.delimiter", next: "@doubleQuotedHeredoc" }],
|
| 254 |
+
[/'''/, { token: "string.delimiter", next: "@singleQuotedHeredoc" }],
|
| 255 |
+
[/"/, { token: "string.delimiter", next: "@doubleQuotedString" }],
|
| 256 |
+
[/'/, { token: "string.delimiter", next: "@singleQuotedString" }]
|
| 257 |
+
],
|
| 258 |
+
doubleQuotedHeredoc: [
|
| 259 |
+
[/"""/, { token: "string.delimiter", next: "@pop" }],
|
| 260 |
+
{ include: "@stringContentInterpol" }
|
| 261 |
+
],
|
| 262 |
+
singleQuotedHeredoc: [
|
| 263 |
+
[/'''/, { token: "string.delimiter", next: "@pop" }],
|
| 264 |
+
{ include: "@stringContentInterpol" }
|
| 265 |
+
],
|
| 266 |
+
doubleQuotedString: [
|
| 267 |
+
[/"/, { token: "string.delimiter", next: "@pop" }],
|
| 268 |
+
{ include: "@stringContentInterpol" }
|
| 269 |
+
],
|
| 270 |
+
singleQuotedString: [
|
| 271 |
+
[/'/, { token: "string.delimiter", next: "@pop" }],
|
| 272 |
+
{ include: "@stringContentInterpol" }
|
| 273 |
+
],
|
| 274 |
+
// Atoms
|
| 275 |
+
atoms: [
|
| 276 |
+
[/(:)(@atomName)/, ["constant.punctuation", "constant"]],
|
| 277 |
+
[/:"/, { token: "constant.delimiter", next: "@doubleQuotedStringAtom" }],
|
| 278 |
+
[/:'/, { token: "constant.delimiter", next: "@singleQuotedStringAtom" }]
|
| 279 |
+
],
|
| 280 |
+
doubleQuotedStringAtom: [
|
| 281 |
+
[/"/, { token: "constant.delimiter", next: "@pop" }],
|
| 282 |
+
{ include: "@stringConstantContentInterpol" }
|
| 283 |
+
],
|
| 284 |
+
singleQuotedStringAtom: [
|
| 285 |
+
[/'/, { token: "constant.delimiter", next: "@pop" }],
|
| 286 |
+
{ include: "@stringConstantContentInterpol" }
|
| 287 |
+
],
|
| 288 |
+
// Sigils
|
| 289 |
+
// See https://elixir-lang.org/getting-started/sigils.html
|
| 290 |
+
// Sigils allow for typing values using their textual representation.
|
| 291 |
+
// All sigils start with ~ followed by a letter or
|
| 292 |
+
// multi-letter uppercase starting at Elixir v1.15.0, indicating sigil type
|
| 293 |
+
// and then a delimiter pair enclosing the textual representation.
|
| 294 |
+
// Optional modifiers are allowed after the closing delimiter.
|
| 295 |
+
// For instance a regular expressions can be written as:
|
| 296 |
+
// ~r/foo|bar/ ~r{foo|bar} ~r/foo|bar/g
|
| 297 |
+
//
|
| 298 |
+
// In general lowercase sigils allow for interpolation
|
| 299 |
+
// and escaped characters, whereas uppercase sigils don't
|
| 300 |
+
//
|
| 301 |
+
// During tokenization we want to distinguish some
|
| 302 |
+
// specific sigil types, namely string and regexp,
|
| 303 |
+
// so that they cen be themed separately.
|
| 304 |
+
//
|
| 305 |
+
// To reasonably handle all those combinations we leverage
|
| 306 |
+
// dot-separated states, so if we transition to @sigilStart.interpol.s.{.}
|
| 307 |
+
// then "sigilStart.interpol.s" state will match and also all
|
| 308 |
+
// the individual dot-separated parameters can be accessed.
|
| 309 |
+
sigils: [
|
| 310 |
+
[/~[a-z]@sigilStartDelimiter/, { token: "@rematch", next: "@sigil.interpol" }],
|
| 311 |
+
[/~([A-Z]+)@sigilStartDelimiter/, { token: "@rematch", next: "@sigil.noInterpol" }]
|
| 312 |
+
],
|
| 313 |
+
sigil: [
|
| 314 |
+
[/~([a-z]|[A-Z]+)\{/, { token: "@rematch", switchTo: "@sigilStart.$S2.$1.{.}" }],
|
| 315 |
+
[/~([a-z]|[A-Z]+)\[/, { token: "@rematch", switchTo: "@sigilStart.$S2.$1.[.]" }],
|
| 316 |
+
[/~([a-z]|[A-Z]+)\(/, { token: "@rematch", switchTo: "@sigilStart.$S2.$1.(.)" }],
|
| 317 |
+
[/~([a-z]|[A-Z]+)\</, { token: "@rematch", switchTo: "@sigilStart.$S2.$1.<.>" }],
|
| 318 |
+
[
|
| 319 |
+
/~([a-z]|[A-Z]+)(@sigilSymmetricDelimiter)/,
|
| 320 |
+
{ token: "@rematch", switchTo: "@sigilStart.$S2.$1.$2.$2" }
|
| 321 |
+
]
|
| 322 |
+
],
|
| 323 |
+
// The definitions below expect states to be of the form:
|
| 324 |
+
//
|
| 325 |
+
// sigilStart.<interpol-or-noInterpol>.<sigil-letter>.<start-delimiter>.<end-delimiter>
|
| 326 |
+
// sigilContinue.<interpol-or-noInterpol>.<sigil-letter>.<start-delimiter>.<end-delimiter>
|
| 327 |
+
//
|
| 328 |
+
// The sigilStart state is used only to properly classify the token (as string/regex/sigil)
|
| 329 |
+
// and immediately switches to the sigilContinue sate, which handles the actual content
|
| 330 |
+
// and waits for the corresponding end delimiter.
|
| 331 |
+
"sigilStart.interpol.s": [
|
| 332 |
+
[
|
| 333 |
+
/~s@sigilStartDelimiter/,
|
| 334 |
+
{
|
| 335 |
+
token: "string.delimiter",
|
| 336 |
+
switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
|
| 337 |
+
}
|
| 338 |
+
]
|
| 339 |
+
],
|
| 340 |
+
"sigilContinue.interpol.s": [
|
| 341 |
+
[
|
| 342 |
+
/(@sigilEndDelimiter)@sigilModifiers/,
|
| 343 |
+
{
|
| 344 |
+
cases: {
|
| 345 |
+
"$1==$S5": { token: "string.delimiter", next: "@pop" },
|
| 346 |
+
"@default": "string"
|
| 347 |
+
}
|
| 348 |
+
}
|
| 349 |
+
],
|
| 350 |
+
{ include: "@stringContentInterpol" }
|
| 351 |
+
],
|
| 352 |
+
"sigilStart.noInterpol.S": [
|
| 353 |
+
[
|
| 354 |
+
/~S@sigilStartDelimiter/,
|
| 355 |
+
{
|
| 356 |
+
token: "string.delimiter",
|
| 357 |
+
switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
|
| 358 |
+
}
|
| 359 |
+
]
|
| 360 |
+
],
|
| 361 |
+
"sigilContinue.noInterpol.S": [
|
| 362 |
+
// Ignore escaped sigil end
|
| 363 |
+
[/(^|[^\\])\\@sigilEndDelimiter/, "string"],
|
| 364 |
+
[
|
| 365 |
+
/(@sigilEndDelimiter)@sigilModifiers/,
|
| 366 |
+
{
|
| 367 |
+
cases: {
|
| 368 |
+
"$1==$S5": { token: "string.delimiter", next: "@pop" },
|
| 369 |
+
"@default": "string"
|
| 370 |
+
}
|
| 371 |
+
}
|
| 372 |
+
],
|
| 373 |
+
{ include: "@stringContent" }
|
| 374 |
+
],
|
| 375 |
+
"sigilStart.interpol.r": [
|
| 376 |
+
[
|
| 377 |
+
/~r@sigilStartDelimiter/,
|
| 378 |
+
{
|
| 379 |
+
token: "regexp.delimiter",
|
| 380 |
+
switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
|
| 381 |
+
}
|
| 382 |
+
]
|
| 383 |
+
],
|
| 384 |
+
"sigilContinue.interpol.r": [
|
| 385 |
+
[
|
| 386 |
+
/(@sigilEndDelimiter)@sigilModifiers/,
|
| 387 |
+
{
|
| 388 |
+
cases: {
|
| 389 |
+
"$1==$S5": { token: "regexp.delimiter", next: "@pop" },
|
| 390 |
+
"@default": "regexp"
|
| 391 |
+
}
|
| 392 |
+
}
|
| 393 |
+
],
|
| 394 |
+
{ include: "@regexpContentInterpol" }
|
| 395 |
+
],
|
| 396 |
+
"sigilStart.noInterpol.R": [
|
| 397 |
+
[
|
| 398 |
+
/~R@sigilStartDelimiter/,
|
| 399 |
+
{
|
| 400 |
+
token: "regexp.delimiter",
|
| 401 |
+
switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
|
| 402 |
+
}
|
| 403 |
+
]
|
| 404 |
+
],
|
| 405 |
+
"sigilContinue.noInterpol.R": [
|
| 406 |
+
// Ignore escaped sigil end
|
| 407 |
+
[/(^|[^\\])\\@sigilEndDelimiter/, "regexp"],
|
| 408 |
+
[
|
| 409 |
+
/(@sigilEndDelimiter)@sigilModifiers/,
|
| 410 |
+
{
|
| 411 |
+
cases: {
|
| 412 |
+
"$1==$S5": { token: "regexp.delimiter", next: "@pop" },
|
| 413 |
+
"@default": "regexp"
|
| 414 |
+
}
|
| 415 |
+
}
|
| 416 |
+
],
|
| 417 |
+
{ include: "@regexpContent" }
|
| 418 |
+
],
|
| 419 |
+
// Fallback to the generic sigil by default
|
| 420 |
+
"sigilStart.interpol": [
|
| 421 |
+
[
|
| 422 |
+
/~([a-z]|[A-Z]+)@sigilStartDelimiter/,
|
| 423 |
+
{
|
| 424 |
+
token: "sigil.delimiter",
|
| 425 |
+
switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
|
| 426 |
+
}
|
| 427 |
+
]
|
| 428 |
+
],
|
| 429 |
+
"sigilContinue.interpol": [
|
| 430 |
+
[
|
| 431 |
+
/(@sigilEndDelimiter)@sigilModifiers/,
|
| 432 |
+
{
|
| 433 |
+
cases: {
|
| 434 |
+
"$1==$S5": { token: "sigil.delimiter", next: "@pop" },
|
| 435 |
+
"@default": "sigil"
|
| 436 |
+
}
|
| 437 |
+
}
|
| 438 |
+
],
|
| 439 |
+
{ include: "@sigilContentInterpol" }
|
| 440 |
+
],
|
| 441 |
+
"sigilStart.noInterpol": [
|
| 442 |
+
[
|
| 443 |
+
/~([a-z]|[A-Z]+)@sigilStartDelimiter/,
|
| 444 |
+
{
|
| 445 |
+
token: "sigil.delimiter",
|
| 446 |
+
switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
|
| 447 |
+
}
|
| 448 |
+
]
|
| 449 |
+
],
|
| 450 |
+
"sigilContinue.noInterpol": [
|
| 451 |
+
// Ignore escaped sigil end
|
| 452 |
+
[/(^|[^\\])\\@sigilEndDelimiter/, "sigil"],
|
| 453 |
+
[
|
| 454 |
+
/(@sigilEndDelimiter)@sigilModifiers/,
|
| 455 |
+
{
|
| 456 |
+
cases: {
|
| 457 |
+
"$1==$S5": { token: "sigil.delimiter", next: "@pop" },
|
| 458 |
+
"@default": "sigil"
|
| 459 |
+
}
|
| 460 |
+
}
|
| 461 |
+
],
|
| 462 |
+
{ include: "@sigilContent" }
|
| 463 |
+
],
|
| 464 |
+
// Attributes
|
| 465 |
+
attributes: [
|
| 466 |
+
// Module @doc* attributes - tokenized as comments
|
| 467 |
+
[
|
| 468 |
+
/\@(module|type)?doc (~[sS])?"""/,
|
| 469 |
+
{
|
| 470 |
+
token: "comment.block.documentation",
|
| 471 |
+
next: "@doubleQuotedHeredocDocstring"
|
| 472 |
+
}
|
| 473 |
+
],
|
| 474 |
+
[
|
| 475 |
+
/\@(module|type)?doc (~[sS])?'''/,
|
| 476 |
+
{
|
| 477 |
+
token: "comment.block.documentation",
|
| 478 |
+
next: "@singleQuotedHeredocDocstring"
|
| 479 |
+
}
|
| 480 |
+
],
|
| 481 |
+
[
|
| 482 |
+
/\@(module|type)?doc (~[sS])?"/,
|
| 483 |
+
{
|
| 484 |
+
token: "comment.block.documentation",
|
| 485 |
+
next: "@doubleQuotedStringDocstring"
|
| 486 |
+
}
|
| 487 |
+
],
|
| 488 |
+
[
|
| 489 |
+
/\@(module|type)?doc (~[sS])?'/,
|
| 490 |
+
{
|
| 491 |
+
token: "comment.block.documentation",
|
| 492 |
+
next: "@singleQuotedStringDocstring"
|
| 493 |
+
}
|
| 494 |
+
],
|
| 495 |
+
[/\@(module|type)?doc false/, "comment.block.documentation"],
|
| 496 |
+
// Module attributes
|
| 497 |
+
[/\@(@variableName)/, "variable"]
|
| 498 |
+
],
|
| 499 |
+
doubleQuotedHeredocDocstring: [
|
| 500 |
+
[/"""/, { token: "comment.block.documentation", next: "@pop" }],
|
| 501 |
+
{ include: "@docstringContent" }
|
| 502 |
+
],
|
| 503 |
+
singleQuotedHeredocDocstring: [
|
| 504 |
+
[/'''/, { token: "comment.block.documentation", next: "@pop" }],
|
| 505 |
+
{ include: "@docstringContent" }
|
| 506 |
+
],
|
| 507 |
+
doubleQuotedStringDocstring: [
|
| 508 |
+
[/"/, { token: "comment.block.documentation", next: "@pop" }],
|
| 509 |
+
{ include: "@docstringContent" }
|
| 510 |
+
],
|
| 511 |
+
singleQuotedStringDocstring: [
|
| 512 |
+
[/'/, { token: "comment.block.documentation", next: "@pop" }],
|
| 513 |
+
{ include: "@docstringContent" }
|
| 514 |
+
],
|
| 515 |
+
// Operators, punctuation, brackets
|
| 516 |
+
symbols: [
|
| 517 |
+
// Code point operator (either with regular character ?a or an escaped one ?\n)
|
| 518 |
+
[/\?(\\.|[^\\\s])/, "number.constant"],
|
| 519 |
+
// Anonymous function arguments
|
| 520 |
+
[/&\d+/, "operator"],
|
| 521 |
+
// Bitshift operators (must go before delimiters, so that << >> don't match first)
|
| 522 |
+
[/<<<|>>>/, "operator"],
|
| 523 |
+
// Delimiter pairs
|
| 524 |
+
[/[()\[\]\{\}]|<<|>>/, "@brackets"],
|
| 525 |
+
// Triple dot is a valid name (must go before operators, so that .. doesn't match instead)
|
| 526 |
+
[/\.\.\./, "identifier"],
|
| 527 |
+
// Punctuation => (must go before operators, so it's not tokenized as = then >)
|
| 528 |
+
[/=>/, "punctuation"],
|
| 529 |
+
// Operators
|
| 530 |
+
[/@operator/, "operator"],
|
| 531 |
+
// Punctuation
|
| 532 |
+
[/[:;,.%]/, "punctuation"]
|
| 533 |
+
],
|
| 534 |
+
// Generic helpers
|
| 535 |
+
stringContentInterpol: [
|
| 536 |
+
{ include: "@interpolation" },
|
| 537 |
+
{ include: "@escapeChar" },
|
| 538 |
+
{ include: "@stringContent" }
|
| 539 |
+
],
|
| 540 |
+
stringContent: [[/./, "string"]],
|
| 541 |
+
stringConstantContentInterpol: [
|
| 542 |
+
{ include: "@interpolation" },
|
| 543 |
+
{ include: "@escapeChar" },
|
| 544 |
+
{ include: "@stringConstantContent" }
|
| 545 |
+
],
|
| 546 |
+
stringConstantContent: [[/./, "constant"]],
|
| 547 |
+
regexpContentInterpol: [
|
| 548 |
+
{ include: "@interpolation" },
|
| 549 |
+
{ include: "@escapeChar" },
|
| 550 |
+
{ include: "@regexpContent" }
|
| 551 |
+
],
|
| 552 |
+
regexpContent: [
|
| 553 |
+
// # may be a regular regexp char, so we use a heuristic
|
| 554 |
+
// assuming a # surrounded by whitespace is actually a comment.
|
| 555 |
+
[/(\s)(#)(\s.*)$/, ["white", "comment.punctuation", "comment"]],
|
| 556 |
+
[/./, "regexp"]
|
| 557 |
+
],
|
| 558 |
+
sigilContentInterpol: [
|
| 559 |
+
{ include: "@interpolation" },
|
| 560 |
+
{ include: "@escapeChar" },
|
| 561 |
+
{ include: "@sigilContent" }
|
| 562 |
+
],
|
| 563 |
+
sigilContent: [[/./, "sigil"]],
|
| 564 |
+
docstringContent: [[/./, "comment.block.documentation"]],
|
| 565 |
+
escapeChar: [[/@escape/, "constant.character.escape"]],
|
| 566 |
+
interpolation: [[/#{/, { token: "delimiter.bracket.embed", next: "@interpolationContinue" }]],
|
| 567 |
+
interpolationContinue: [
|
| 568 |
+
[/}/, { token: "delimiter.bracket.embed", next: "@pop" }],
|
| 569 |
+
// Interpolation brackets may contain arbitrary code,
|
| 570 |
+
// so we simply match against all the root rules,
|
| 571 |
+
// until we reach interpolation end (the above matches).
|
| 572 |
+
{ include: "@root" }
|
| 573 |
+
]
|
| 574 |
+
}
|
| 575 |
+
};
|
| 576 |
+
export {
|
| 577 |
+
conf,
|
| 578 |
+
language
|
| 579 |
+
};
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/flow9/flow9.contribution.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export {}
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/flow9/flow9.contribution.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 8 |
+
|
| 9 |
+
// src/basic-languages/flow9/flow9.contribution.ts
|
| 10 |
+
import { registerLanguage } from "../_.contribution.js";
|
| 11 |
+
registerLanguage({
|
| 12 |
+
id: "flow9",
|
| 13 |
+
extensions: [".flow"],
|
| 14 |
+
aliases: ["Flow9", "Flow", "flow9", "flow"],
|
| 15 |
+
loader: () => {
|
| 16 |
+
if (false) {
|
| 17 |
+
return new Promise((resolve, reject) => {
|
| 18 |
+
__require(["vs/basic-languages/flow9/flow9"], resolve, reject);
|
| 19 |
+
});
|
| 20 |
+
} else {
|
| 21 |
+
return import("./flow9.js");
|
| 22 |
+
}
|
| 23 |
+
}
|
| 24 |
+
});
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/flow9/flow9.js
ADDED
|
@@ -0,0 +1,152 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 8 |
+
|
| 9 |
+
// src/basic-languages/flow9/flow9.ts
|
| 10 |
+
var conf = {
|
| 11 |
+
comments: {
|
| 12 |
+
blockComment: ["/*", "*/"],
|
| 13 |
+
lineComment: "//"
|
| 14 |
+
},
|
| 15 |
+
brackets: [
|
| 16 |
+
["{", "}"],
|
| 17 |
+
["[", "]"],
|
| 18 |
+
["(", ")"]
|
| 19 |
+
],
|
| 20 |
+
autoClosingPairs: [
|
| 21 |
+
{ open: "{", close: "}", notIn: ["string"] },
|
| 22 |
+
{ open: "[", close: "]", notIn: ["string"] },
|
| 23 |
+
{ open: "(", close: ")", notIn: ["string"] },
|
| 24 |
+
{ open: '"', close: '"', notIn: ["string"] },
|
| 25 |
+
{ open: "'", close: "'", notIn: ["string"] }
|
| 26 |
+
],
|
| 27 |
+
surroundingPairs: [
|
| 28 |
+
{ open: "{", close: "}" },
|
| 29 |
+
{ open: "[", close: "]" },
|
| 30 |
+
{ open: "(", close: ")" },
|
| 31 |
+
{ open: '"', close: '"' },
|
| 32 |
+
{ open: "'", close: "'" },
|
| 33 |
+
{ open: "<", close: ">" }
|
| 34 |
+
]
|
| 35 |
+
};
|
| 36 |
+
var language = {
|
| 37 |
+
defaultToken: "",
|
| 38 |
+
tokenPostfix: ".flow",
|
| 39 |
+
keywords: [
|
| 40 |
+
"import",
|
| 41 |
+
"require",
|
| 42 |
+
"export",
|
| 43 |
+
"forbid",
|
| 44 |
+
"native",
|
| 45 |
+
"if",
|
| 46 |
+
"else",
|
| 47 |
+
"cast",
|
| 48 |
+
"unsafe",
|
| 49 |
+
"switch",
|
| 50 |
+
"default"
|
| 51 |
+
],
|
| 52 |
+
types: [
|
| 53 |
+
"io",
|
| 54 |
+
"mutable",
|
| 55 |
+
"bool",
|
| 56 |
+
"int",
|
| 57 |
+
"double",
|
| 58 |
+
"string",
|
| 59 |
+
"flow",
|
| 60 |
+
"void",
|
| 61 |
+
"ref",
|
| 62 |
+
"true",
|
| 63 |
+
"false",
|
| 64 |
+
"with"
|
| 65 |
+
],
|
| 66 |
+
operators: [
|
| 67 |
+
"=",
|
| 68 |
+
">",
|
| 69 |
+
"<",
|
| 70 |
+
"<=",
|
| 71 |
+
">=",
|
| 72 |
+
"==",
|
| 73 |
+
"!",
|
| 74 |
+
"!=",
|
| 75 |
+
":=",
|
| 76 |
+
"::=",
|
| 77 |
+
"&&",
|
| 78 |
+
"||",
|
| 79 |
+
"+",
|
| 80 |
+
"-",
|
| 81 |
+
"*",
|
| 82 |
+
"/",
|
| 83 |
+
"@",
|
| 84 |
+
"&",
|
| 85 |
+
"%",
|
| 86 |
+
":",
|
| 87 |
+
"->",
|
| 88 |
+
"\\",
|
| 89 |
+
"$",
|
| 90 |
+
"??",
|
| 91 |
+
"^"
|
| 92 |
+
],
|
| 93 |
+
symbols: /[@$=><!~?:&|+\-*\\\/\^%]+/,
|
| 94 |
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
| 95 |
+
// The main tokenizer for our languages
|
| 96 |
+
tokenizer: {
|
| 97 |
+
root: [
|
| 98 |
+
// identifiers and keywords
|
| 99 |
+
[
|
| 100 |
+
/[a-zA-Z_]\w*/,
|
| 101 |
+
{
|
| 102 |
+
cases: {
|
| 103 |
+
"@keywords": "keyword",
|
| 104 |
+
"@types": "type",
|
| 105 |
+
"@default": "identifier"
|
| 106 |
+
}
|
| 107 |
+
}
|
| 108 |
+
],
|
| 109 |
+
// whitespace
|
| 110 |
+
{ include: "@whitespace" },
|
| 111 |
+
// delimiters and operators
|
| 112 |
+
[/[{}()\[\]]/, "delimiter"],
|
| 113 |
+
[/[<>](?!@symbols)/, "delimiter"],
|
| 114 |
+
[
|
| 115 |
+
/@symbols/,
|
| 116 |
+
{
|
| 117 |
+
cases: {
|
| 118 |
+
"@operators": "delimiter",
|
| 119 |
+
"@default": ""
|
| 120 |
+
}
|
| 121 |
+
}
|
| 122 |
+
],
|
| 123 |
+
// numbers
|
| 124 |
+
[/((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)/, "number"],
|
| 125 |
+
// delimiter: after number because of .\d floats
|
| 126 |
+
[/[;,.]/, "delimiter"],
|
| 127 |
+
// strings
|
| 128 |
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
| 129 |
+
[/"/, "string", "@string"]
|
| 130 |
+
],
|
| 131 |
+
whitespace: [
|
| 132 |
+
[/[ \t\r\n]+/, ""],
|
| 133 |
+
[/\/\*/, "comment", "@comment"],
|
| 134 |
+
[/\/\/.*$/, "comment"]
|
| 135 |
+
],
|
| 136 |
+
comment: [
|
| 137 |
+
[/[^\/*]+/, "comment"],
|
| 138 |
+
[/\*\//, "comment", "@pop"],
|
| 139 |
+
[/[\/*]/, "comment"]
|
| 140 |
+
],
|
| 141 |
+
string: [
|
| 142 |
+
[/[^\\"]+/, "string"],
|
| 143 |
+
[/@escapes/, "string.escape"],
|
| 144 |
+
[/\\./, "string.escape.invalid"],
|
| 145 |
+
[/"/, "string", "@pop"]
|
| 146 |
+
]
|
| 147 |
+
}
|
| 148 |
+
};
|
| 149 |
+
export {
|
| 150 |
+
conf,
|
| 151 |
+
language
|
| 152 |
+
};
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/freemarker2/freemarker2.contribution.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export {}
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/freemarker2/freemarker2.contribution.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 |
+
|
| 8 |
+
|
| 9 |
+
// src/basic-languages/freemarker2/freemarker2.contribution.ts
|
| 10 |
+
import { registerLanguage } from "../_.contribution.js";
|
| 11 |
+
registerLanguage({
|
| 12 |
+
id: "freemarker2",
|
| 13 |
+
extensions: [".ftl", ".ftlh", ".ftlx"],
|
| 14 |
+
aliases: ["FreeMarker2", "Apache FreeMarker2"],
|
| 15 |
+
loader: () => {
|
| 16 |
+
if (false) {
|
| 17 |
+
return new Promise((resolve, reject) => {
|
| 18 |
+
__require(["vs/basic-languages/freemarker2/freemarker2"], resolve, reject);
|
| 19 |
+
}).then((m) => m.TagAngleInterpolationDollar);
|
| 20 |
+
} else {
|
| 21 |
+
return import("./freemarker2.js").then((m) => m.TagAutoInterpolationDollar);
|
| 22 |
+
}
|
| 23 |
+
}
|
| 24 |
+
});
|
| 25 |
+
registerLanguage({
|
| 26 |
+
id: "freemarker2.tag-angle.interpolation-dollar",
|
| 27 |
+
aliases: ["FreeMarker2 (Angle/Dollar)", "Apache FreeMarker2 (Angle/Dollar)"],
|
| 28 |
+
loader: () => {
|
| 29 |
+
if (false) {
|
| 30 |
+
return new Promise((resolve, reject) => {
|
| 31 |
+
__require(["vs/basic-languages/freemarker2/freemarker2"], resolve, reject);
|
| 32 |
+
}).then((m) => m.TagAngleInterpolationDollar);
|
| 33 |
+
} else {
|
| 34 |
+
return import("./freemarker2.js").then((m) => m.TagAngleInterpolationDollar);
|
| 35 |
+
}
|
| 36 |
+
}
|
| 37 |
+
});
|
| 38 |
+
registerLanguage({
|
| 39 |
+
id: "freemarker2.tag-bracket.interpolation-dollar",
|
| 40 |
+
aliases: ["FreeMarker2 (Bracket/Dollar)", "Apache FreeMarker2 (Bracket/Dollar)"],
|
| 41 |
+
loader: () => {
|
| 42 |
+
if (false) {
|
| 43 |
+
return new Promise((resolve, reject) => {
|
| 44 |
+
__require(["vs/basic-languages/freemarker2/freemarker2"], resolve, reject);
|
| 45 |
+
}).then((m) => m.TagBracketInterpolationDollar);
|
| 46 |
+
} else {
|
| 47 |
+
return import("./freemarker2.js").then((m) => m.TagBracketInterpolationDollar);
|
| 48 |
+
}
|
| 49 |
+
}
|
| 50 |
+
});
|
| 51 |
+
registerLanguage({
|
| 52 |
+
id: "freemarker2.tag-angle.interpolation-bracket",
|
| 53 |
+
aliases: ["FreeMarker2 (Angle/Bracket)", "Apache FreeMarker2 (Angle/Bracket)"],
|
| 54 |
+
loader: () => {
|
| 55 |
+
if (false) {
|
| 56 |
+
return new Promise((resolve, reject) => {
|
| 57 |
+
__require(["vs/basic-languages/freemarker2/freemarker2"], resolve, reject);
|
| 58 |
+
}).then((m) => m.TagAngleInterpolationBracket);
|
| 59 |
+
} else {
|
| 60 |
+
return import("./freemarker2.js").then((m) => m.TagAngleInterpolationBracket);
|
| 61 |
+
}
|
| 62 |
+
}
|
| 63 |
+
});
|
| 64 |
+
registerLanguage({
|
| 65 |
+
id: "freemarker2.tag-bracket.interpolation-bracket",
|
| 66 |
+
aliases: ["FreeMarker2 (Bracket/Bracket)", "Apache FreeMarker2 (Bracket/Bracket)"],
|
| 67 |
+
loader: () => {
|
| 68 |
+
if (false) {
|
| 69 |
+
return new Promise((resolve, reject) => {
|
| 70 |
+
__require(["vs/basic-languages/freemarker2/freemarker2"], resolve, reject);
|
| 71 |
+
}).then((m) => m.TagBracketInterpolationBracket);
|
| 72 |
+
} else {
|
| 73 |
+
return import("./freemarker2.js").then((m) => m.TagBracketInterpolationBracket);
|
| 74 |
+
}
|
| 75 |
+
}
|
| 76 |
+
});
|
| 77 |
+
registerLanguage({
|
| 78 |
+
id: "freemarker2.tag-auto.interpolation-dollar",
|
| 79 |
+
aliases: ["FreeMarker2 (Auto/Dollar)", "Apache FreeMarker2 (Auto/Dollar)"],
|
| 80 |
+
loader: () => {
|
| 81 |
+
if (false) {
|
| 82 |
+
return new Promise((resolve, reject) => {
|
| 83 |
+
__require(["vs/basic-languages/freemarker2/freemarker2"], resolve, reject);
|
| 84 |
+
}).then((m) => m.TagAutoInterpolationDollar);
|
| 85 |
+
} else {
|
| 86 |
+
return import("./freemarker2.js").then((m) => m.TagAutoInterpolationDollar);
|
| 87 |
+
}
|
| 88 |
+
}
|
| 89 |
+
});
|
| 90 |
+
registerLanguage({
|
| 91 |
+
id: "freemarker2.tag-auto.interpolation-bracket",
|
| 92 |
+
aliases: ["FreeMarker2 (Auto/Bracket)", "Apache FreeMarker2 (Auto/Bracket)"],
|
| 93 |
+
loader: () => {
|
| 94 |
+
if (false) {
|
| 95 |
+
return new Promise((resolve, reject) => {
|
| 96 |
+
__require(["vs/basic-languages/freemarker2/freemarker2"], resolve, reject);
|
| 97 |
+
}).then((m) => m.TagAutoInterpolationBracket);
|
| 98 |
+
} else {
|
| 99 |
+
return import("./freemarker2.js").then((m) => m.TagAutoInterpolationBracket);
|
| 100 |
+
}
|
| 101 |
+
}
|
| 102 |
+
});
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/freemarker2/freemarker2.js
ADDED
|
@@ -0,0 +1,1021 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 8 |
+
var __defProp = Object.defineProperty;
|
| 9 |
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
| 10 |
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
| 11 |
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
| 12 |
+
var __copyProps = (to, from, except, desc) => {
|
| 13 |
+
if (from && typeof from === "object" || typeof from === "function") {
|
| 14 |
+
for (let key of __getOwnPropNames(from))
|
| 15 |
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
| 16 |
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
| 17 |
+
}
|
| 18 |
+
return to;
|
| 19 |
+
};
|
| 20 |
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
| 21 |
+
|
| 22 |
+
// src/fillers/monaco-editor-core.ts
|
| 23 |
+
var monaco_editor_core_exports = {};
|
| 24 |
+
__reExport(monaco_editor_core_exports, monaco_editor_core_star);
|
| 25 |
+
import * as monaco_editor_core_star from "../../editor/editor.api.js";
|
| 26 |
+
|
| 27 |
+
// src/basic-languages/freemarker2/freemarker2.ts
|
| 28 |
+
var EMPTY_ELEMENTS = [
|
| 29 |
+
"assign",
|
| 30 |
+
"flush",
|
| 31 |
+
"ftl",
|
| 32 |
+
"return",
|
| 33 |
+
"global",
|
| 34 |
+
"import",
|
| 35 |
+
"include",
|
| 36 |
+
"break",
|
| 37 |
+
"continue",
|
| 38 |
+
"local",
|
| 39 |
+
"nested",
|
| 40 |
+
"nt",
|
| 41 |
+
"setting",
|
| 42 |
+
"stop",
|
| 43 |
+
"t",
|
| 44 |
+
"lt",
|
| 45 |
+
"rt",
|
| 46 |
+
"fallback"
|
| 47 |
+
];
|
| 48 |
+
var BLOCK_ELEMENTS = [
|
| 49 |
+
"attempt",
|
| 50 |
+
"autoesc",
|
| 51 |
+
"autoEsc",
|
| 52 |
+
"compress",
|
| 53 |
+
"comment",
|
| 54 |
+
"escape",
|
| 55 |
+
"noescape",
|
| 56 |
+
"function",
|
| 57 |
+
"if",
|
| 58 |
+
"list",
|
| 59 |
+
"items",
|
| 60 |
+
"sep",
|
| 61 |
+
"macro",
|
| 62 |
+
"noparse",
|
| 63 |
+
"noParse",
|
| 64 |
+
"noautoesc",
|
| 65 |
+
"noAutoEsc",
|
| 66 |
+
"outputformat",
|
| 67 |
+
"switch",
|
| 68 |
+
"visit",
|
| 69 |
+
"recurse"
|
| 70 |
+
];
|
| 71 |
+
var TagSyntaxAngle = {
|
| 72 |
+
close: ">",
|
| 73 |
+
id: "angle",
|
| 74 |
+
open: "<"
|
| 75 |
+
};
|
| 76 |
+
var TagSyntaxBracket = {
|
| 77 |
+
close: "\\]",
|
| 78 |
+
id: "bracket",
|
| 79 |
+
open: "\\["
|
| 80 |
+
};
|
| 81 |
+
var TagSyntaxAuto = {
|
| 82 |
+
close: "[>\\]]",
|
| 83 |
+
id: "auto",
|
| 84 |
+
open: "[<\\[]"
|
| 85 |
+
};
|
| 86 |
+
var InterpolationSyntaxDollar = {
|
| 87 |
+
close: "\\}",
|
| 88 |
+
id: "dollar",
|
| 89 |
+
open1: "\\$",
|
| 90 |
+
open2: "\\{"
|
| 91 |
+
};
|
| 92 |
+
var InterpolationSyntaxBracket = {
|
| 93 |
+
close: "\\]",
|
| 94 |
+
id: "bracket",
|
| 95 |
+
open1: "\\[",
|
| 96 |
+
open2: "="
|
| 97 |
+
};
|
| 98 |
+
function createLangConfiguration(ts) {
|
| 99 |
+
return {
|
| 100 |
+
brackets: [
|
| 101 |
+
["<", ">"],
|
| 102 |
+
["[", "]"],
|
| 103 |
+
["(", ")"],
|
| 104 |
+
["{", "}"]
|
| 105 |
+
],
|
| 106 |
+
comments: {
|
| 107 |
+
blockComment: [`${ts.open}--`, `--${ts.close}`]
|
| 108 |
+
},
|
| 109 |
+
autoCloseBefore: "\n\r }]),.:;=",
|
| 110 |
+
autoClosingPairs: [
|
| 111 |
+
{ open: "{", close: "}" },
|
| 112 |
+
{ open: "[", close: "]" },
|
| 113 |
+
{ open: "(", close: ")" },
|
| 114 |
+
{ open: '"', close: '"', notIn: ["string"] },
|
| 115 |
+
{ open: "'", close: "'", notIn: ["string"] }
|
| 116 |
+
],
|
| 117 |
+
surroundingPairs: [
|
| 118 |
+
{ open: '"', close: '"' },
|
| 119 |
+
{ open: "'", close: "'" },
|
| 120 |
+
{ open: "{", close: "}" },
|
| 121 |
+
{ open: "[", close: "]" },
|
| 122 |
+
{ open: "(", close: ")" },
|
| 123 |
+
{ open: "<", close: ">" }
|
| 124 |
+
],
|
| 125 |
+
folding: {
|
| 126 |
+
markers: {
|
| 127 |
+
start: new RegExp(
|
| 128 |
+
`${ts.open}#(?:${BLOCK_ELEMENTS.join("|")})([^/${ts.close}]*(?!/)${ts.close})[^${ts.open}]*$`
|
| 129 |
+
),
|
| 130 |
+
end: new RegExp(`${ts.open}/#(?:${BLOCK_ELEMENTS.join("|")})[\\r\\n\\t ]*>`)
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
onEnterRules: [
|
| 134 |
+
{
|
| 135 |
+
beforeText: new RegExp(
|
| 136 |
+
`${ts.open}#(?!(?:${EMPTY_ELEMENTS.join("|")}))([a-zA-Z_]+)([^/${ts.close}]*(?!/)${ts.close})[^${ts.open}]*$`
|
| 137 |
+
),
|
| 138 |
+
afterText: new RegExp(`^${ts.open}/#([a-zA-Z_]+)[\\r\\n\\t ]*${ts.close}$`),
|
| 139 |
+
action: {
|
| 140 |
+
indentAction: monaco_editor_core_exports.languages.IndentAction.IndentOutdent
|
| 141 |
+
}
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
beforeText: new RegExp(
|
| 145 |
+
`${ts.open}#(?!(?:${EMPTY_ELEMENTS.join("|")}))([a-zA-Z_]+)([^/${ts.close}]*(?!/)${ts.close})[^${ts.open}]*$`
|
| 146 |
+
),
|
| 147 |
+
action: { indentAction: monaco_editor_core_exports.languages.IndentAction.Indent }
|
| 148 |
+
}
|
| 149 |
+
]
|
| 150 |
+
};
|
| 151 |
+
}
|
| 152 |
+
function createLangConfigurationAuto() {
|
| 153 |
+
return {
|
| 154 |
+
// Cannot set block comment delimiter in auto mode...
|
| 155 |
+
// It depends on the content and the cursor position of the file...
|
| 156 |
+
brackets: [
|
| 157 |
+
["<", ">"],
|
| 158 |
+
["[", "]"],
|
| 159 |
+
["(", ")"],
|
| 160 |
+
["{", "}"]
|
| 161 |
+
],
|
| 162 |
+
autoCloseBefore: "\n\r }]),.:;=",
|
| 163 |
+
autoClosingPairs: [
|
| 164 |
+
{ open: "{", close: "}" },
|
| 165 |
+
{ open: "[", close: "]" },
|
| 166 |
+
{ open: "(", close: ")" },
|
| 167 |
+
{ open: '"', close: '"', notIn: ["string"] },
|
| 168 |
+
{ open: "'", close: "'", notIn: ["string"] }
|
| 169 |
+
],
|
| 170 |
+
surroundingPairs: [
|
| 171 |
+
{ open: '"', close: '"' },
|
| 172 |
+
{ open: "'", close: "'" },
|
| 173 |
+
{ open: "{", close: "}" },
|
| 174 |
+
{ open: "[", close: "]" },
|
| 175 |
+
{ open: "(", close: ")" },
|
| 176 |
+
{ open: "<", close: ">" }
|
| 177 |
+
],
|
| 178 |
+
folding: {
|
| 179 |
+
markers: {
|
| 180 |
+
start: new RegExp(`[<\\[]#(?:${BLOCK_ELEMENTS.join("|")})([^/>\\]]*(?!/)[>\\]])[^<\\[]*$`),
|
| 181 |
+
end: new RegExp(`[<\\[]/#(?:${BLOCK_ELEMENTS.join("|")})[\\r\\n\\t ]*>`)
|
| 182 |
+
}
|
| 183 |
+
},
|
| 184 |
+
onEnterRules: [
|
| 185 |
+
{
|
| 186 |
+
beforeText: new RegExp(
|
| 187 |
+
`[<\\[]#(?!(?:${EMPTY_ELEMENTS.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`
|
| 188 |
+
),
|
| 189 |
+
afterText: new RegExp(`^[<\\[]/#([a-zA-Z_]+)[\\r\\n\\t ]*[>\\]]$`),
|
| 190 |
+
action: {
|
| 191 |
+
indentAction: monaco_editor_core_exports.languages.IndentAction.IndentOutdent
|
| 192 |
+
}
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
beforeText: new RegExp(
|
| 196 |
+
`[<\\[]#(?!(?:${EMPTY_ELEMENTS.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`
|
| 197 |
+
),
|
| 198 |
+
action: { indentAction: monaco_editor_core_exports.languages.IndentAction.Indent }
|
| 199 |
+
}
|
| 200 |
+
]
|
| 201 |
+
};
|
| 202 |
+
}
|
| 203 |
+
function createMonarchLanguage(ts, is) {
|
| 204 |
+
const id = `_${ts.id}_${is.id}`;
|
| 205 |
+
const s = (name) => name.replace(/__id__/g, id);
|
| 206 |
+
const r = (regexp) => {
|
| 207 |
+
const source = regexp.source.replace(/__id__/g, id);
|
| 208 |
+
return new RegExp(source, regexp.flags);
|
| 209 |
+
};
|
| 210 |
+
return {
|
| 211 |
+
// Settings
|
| 212 |
+
unicode: true,
|
| 213 |
+
includeLF: false,
|
| 214 |
+
start: s("default__id__"),
|
| 215 |
+
ignoreCase: false,
|
| 216 |
+
defaultToken: "invalid",
|
| 217 |
+
tokenPostfix: `.freemarker2`,
|
| 218 |
+
brackets: [
|
| 219 |
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
| 220 |
+
{ open: "[", close: "]", token: "delimiter.square" },
|
| 221 |
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
| 222 |
+
{ open: "<", close: ">", token: "delimiter.angle" }
|
| 223 |
+
],
|
| 224 |
+
// Dynamic RegExp
|
| 225 |
+
[s("open__id__")]: new RegExp(ts.open),
|
| 226 |
+
[s("close__id__")]: new RegExp(ts.close),
|
| 227 |
+
[s("iOpen1__id__")]: new RegExp(is.open1),
|
| 228 |
+
[s("iOpen2__id__")]: new RegExp(is.open2),
|
| 229 |
+
[s("iClose__id__")]: new RegExp(is.close),
|
| 230 |
+
// <#START_TAG : "<" | "<#" | "[#">
|
| 231 |
+
// <#END_TAG : "</" | "</#" | "[/#">
|
| 232 |
+
[s("startTag__id__")]: r(/(@open__id__)(#)/),
|
| 233 |
+
[s("endTag__id__")]: r(/(@open__id__)(\/#)/),
|
| 234 |
+
[s("startOrEndTag__id__")]: r(/(@open__id__)(\/?#)/),
|
| 235 |
+
// <#CLOSE_TAG1 : (<BLANK>)* (">" | "]")>
|
| 236 |
+
[s("closeTag1__id__")]: r(/((?:@blank)*)(@close__id__)/),
|
| 237 |
+
// <#CLOSE_TAG2 : (<BLANK>)* ("/")? (">" | "]")>
|
| 238 |
+
[s("closeTag2__id__")]: r(/((?:@blank)*\/?)(@close__id__)/),
|
| 239 |
+
// Static RegExp
|
| 240 |
+
// <#BLANK : " " | "\t" | "\n" | "\r">
|
| 241 |
+
blank: /[ \t\n\r]/,
|
| 242 |
+
// <FALSE : "false">
|
| 243 |
+
// <TRUE : "true">
|
| 244 |
+
// <IN : "in">
|
| 245 |
+
// <AS : "as">
|
| 246 |
+
// <USING : "using">
|
| 247 |
+
keywords: ["false", "true", "in", "as", "using"],
|
| 248 |
+
// Directive names that cannot have an expression parameters and cannot be self-closing
|
| 249 |
+
// E.g. <#if id==2> ... </#if>
|
| 250 |
+
directiveStartCloseTag1: /attempt|recover|sep|auto[eE]sc|no(?:autoe|AutoE)sc|compress|default|no[eE]scape|comment|no[pP]arse/,
|
| 251 |
+
// Directive names that cannot have an expression parameter and can be self-closing
|
| 252 |
+
// E.g. <#if> ... <#else> ... </#if>
|
| 253 |
+
// E.g. <#if> ... <#else /></#if>
|
| 254 |
+
directiveStartCloseTag2: /else|break|continue|return|stop|flush|t|lt|rt|nt|nested|recurse|fallback|ftl/,
|
| 255 |
+
// Directive names that can have an expression parameter and cannot be self-closing
|
| 256 |
+
// E.g. <#if id==2> ... </#if>
|
| 257 |
+
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/,
|
| 258 |
+
// Directive names that can have an end tag
|
| 259 |
+
// E.g. </#if>
|
| 260 |
+
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/,
|
| 261 |
+
// <#ESCAPED_CHAR :
|
| 262 |
+
// "\\"
|
| 263 |
+
// (
|
| 264 |
+
// ("n" | "t" | "r" | "f" | "b" | "g" | "l" | "a" | "\\" | "'" | "\"" | "{" | "=")
|
| 265 |
+
// |
|
| 266 |
+
// ("x" ["0"-"9", "A"-"F", "a"-"f"])
|
| 267 |
+
// )
|
| 268 |
+
// >
|
| 269 |
+
// Note: While the JavaCC tokenizer rule only specifies one hex digit,
|
| 270 |
+
// FreeMarker actually interprets up to 4 hex digits.
|
| 271 |
+
escapedChar: /\\(?:[ntrfbgla\\'"\{=]|(?:x[0-9A-Fa-f]{1,4}))/,
|
| 272 |
+
// <#ASCII_DIGIT: ["0" - "9"]>
|
| 273 |
+
asciiDigit: /[0-9]/,
|
| 274 |
+
// <INTEGER : (["0"-"9"])+>
|
| 275 |
+
integer: /[0-9]+/,
|
| 276 |
+
// <#NON_ESCAPED_ID_START_CHAR:
|
| 277 |
+
// [
|
| 278 |
+
// // This was generated on JDK 1.8.0_20 Win64 with src/main/misc/identifierChars/IdentifierCharGenerator.java
|
| 279 |
+
// ...
|
| 280 |
+
// ]
|
| 281 |
+
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]/,
|
| 282 |
+
// <#ESCAPED_ID_CHAR: "\\" ("-" | "." | ":" | "#")>
|
| 283 |
+
escapedIdChar: /\\[\-\.:#]/,
|
| 284 |
+
// <#ID_START_CHAR: <NON_ESCAPED_ID_START_CHAR>|<ESCAPED_ID_CHAR>>
|
| 285 |
+
idStartChar: /(?:@nonEscapedIdStartChar)|(?:@escapedIdChar)/,
|
| 286 |
+
// <ID: <ID_START_CHAR> (<ID_START_CHAR>|<ASCII_DIGIT>)*>
|
| 287 |
+
id: /(?:@idStartChar)(?:(?:@idStartChar)|(?:@asciiDigit))*/,
|
| 288 |
+
// Certain keywords / operators are allowed to index hashes
|
| 289 |
+
//
|
| 290 |
+
// Expression DotVariable(Expression exp) :
|
| 291 |
+
// {
|
| 292 |
+
// Token t;
|
| 293 |
+
// }
|
| 294 |
+
// {
|
| 295 |
+
// <DOT>
|
| 296 |
+
// (
|
| 297 |
+
// t = <ID> | t = <TIMES> | t = <DOUBLE_STAR>
|
| 298 |
+
// |
|
| 299 |
+
// (
|
| 300 |
+
// t = <LESS_THAN>
|
| 301 |
+
// |
|
| 302 |
+
// t = <LESS_THAN_EQUALS>
|
| 303 |
+
// |
|
| 304 |
+
// t = <ESCAPED_GT>
|
| 305 |
+
// |
|
| 306 |
+
// t = <ESCAPED_GTE>
|
| 307 |
+
// |
|
| 308 |
+
// t = <FALSE>
|
| 309 |
+
// |
|
| 310 |
+
// t = <TRUE>
|
| 311 |
+
// |
|
| 312 |
+
// t = <IN>
|
| 313 |
+
// |
|
| 314 |
+
// t = <AS>
|
| 315 |
+
// |
|
| 316 |
+
// t = <USING>
|
| 317 |
+
// )
|
| 318 |
+
// {
|
| 319 |
+
// if (!Character.isLetter(t.image.charAt(0))) {
|
| 320 |
+
// throw new ParseException(t.image + " is not a valid identifier.", template, t);
|
| 321 |
+
// }
|
| 322 |
+
// }
|
| 323 |
+
// )
|
| 324 |
+
// {
|
| 325 |
+
// notListLiteral(exp, "hash");
|
| 326 |
+
// notStringLiteral(exp, "hash");
|
| 327 |
+
// notBooleanLiteral(exp, "hash");
|
| 328 |
+
// Dot dot = new Dot(exp, t.image);
|
| 329 |
+
// dot.setLocation(template, exp, t);
|
| 330 |
+
// return dot;
|
| 331 |
+
// }
|
| 332 |
+
// }
|
| 333 |
+
specialHashKeys: /\*\*|\*|false|true|in|as|using/,
|
| 334 |
+
// <DOUBLE_EQUALS : "==">
|
| 335 |
+
// <EQUALS : "=">
|
| 336 |
+
// <NOT_EQUALS : "!=">
|
| 337 |
+
// <PLUS_EQUALS : "+=">
|
| 338 |
+
// <MINUS_EQUALS : "-=">
|
| 339 |
+
// <TIMES_EQUALS : "*=">
|
| 340 |
+
// <DIV_EQUALS : "/=">
|
| 341 |
+
// <MOD_EQUALS : "%=">
|
| 342 |
+
// <PLUS_PLUS : "++">
|
| 343 |
+
// <MINUS_MINUS : "--">
|
| 344 |
+
// <LESS_THAN_EQUALS : "lte" | "\\lte" | "<=" | "<=">
|
| 345 |
+
// <LESS_THAN : "lt" | "\\lt" | "<" | "<">
|
| 346 |
+
// <ESCAPED_GTE : "gte" | "\\gte" | ">=">
|
| 347 |
+
// <ESCAPED_GT: "gt" | "\\gt" | ">">
|
| 348 |
+
// <DOUBLE_STAR : "**">
|
| 349 |
+
// <PLUS : "+">
|
| 350 |
+
// <MINUS : "-">
|
| 351 |
+
// <TIMES : "*">
|
| 352 |
+
// <PERCENT : "%">
|
| 353 |
+
// <AND : "&" | "&&" | "&&" | "\\and" >
|
| 354 |
+
// <OR : "|" | "||">
|
| 355 |
+
// <EXCLAM : "!">
|
| 356 |
+
// <COMMA : ",">
|
| 357 |
+
// <SEMICOLON : ";">
|
| 358 |
+
// <COLON : ":">
|
| 359 |
+
// <ELLIPSIS : "...">
|
| 360 |
+
// <DOT_DOT_ASTERISK : "..*" >
|
| 361 |
+
// <DOT_DOT_LESS : "..<" | "..!" >
|
| 362 |
+
// <DOT_DOT : "..">
|
| 363 |
+
// <EXISTS : "??">
|
| 364 |
+
// <BUILT_IN : "?">
|
| 365 |
+
// <LAMBDA_ARROW : "->" | "->">
|
| 366 |
+
namedSymbols: /<=|>=|\\lte|\\lt|<|\\gte|\\gt|>|&&|\\and|->|->|==|!=|\+=|-=|\*=|\/=|%=|\+\+|--|<=|&&|\|\||:|\.\.\.|\.\.\*|\.\.<|\.\.!|\?\?|=|<|\+|-|\*|\/|%|\||\.\.|\?|!|&|\.|,|;/,
|
| 367 |
+
arrows: ["->", "->"],
|
| 368 |
+
delimiters: [";", ":", ",", "."],
|
| 369 |
+
stringOperators: ["lte", "lt", "gte", "gt"],
|
| 370 |
+
noParseTags: ["noparse", "noParse", "comment"],
|
| 371 |
+
tokenizer: {
|
| 372 |
+
// Parser states
|
| 373 |
+
// Plain text
|
| 374 |
+
[s("default__id__")]: [
|
| 375 |
+
{ include: s("@directive_token__id__") },
|
| 376 |
+
{ include: s("@interpolation_and_text_token__id__") }
|
| 377 |
+
],
|
| 378 |
+
// A FreeMarker expression inside a directive, e.g. <#if 2<3>
|
| 379 |
+
[s("fmExpression__id__.directive")]: [
|
| 380 |
+
{ include: s("@blank_and_expression_comment_token__id__") },
|
| 381 |
+
{ include: s("@directive_end_token__id__") },
|
| 382 |
+
{ include: s("@expression_token__id__") }
|
| 383 |
+
],
|
| 384 |
+
// A FreeMarker expression inside an interpolation, e.g. ${2+3}
|
| 385 |
+
[s("fmExpression__id__.interpolation")]: [
|
| 386 |
+
{ include: s("@blank_and_expression_comment_token__id__") },
|
| 387 |
+
{ include: s("@expression_token__id__") },
|
| 388 |
+
{ include: s("@greater_operators_token__id__") }
|
| 389 |
+
],
|
| 390 |
+
// In an expression and inside a not-yet closed parenthesis / bracket
|
| 391 |
+
[s("inParen__id__.plain")]: [
|
| 392 |
+
{ include: s("@blank_and_expression_comment_token__id__") },
|
| 393 |
+
{ include: s("@directive_end_token__id__") },
|
| 394 |
+
{ include: s("@expression_token__id__") }
|
| 395 |
+
],
|
| 396 |
+
[s("inParen__id__.gt")]: [
|
| 397 |
+
{ include: s("@blank_and_expression_comment_token__id__") },
|
| 398 |
+
{ include: s("@expression_token__id__") },
|
| 399 |
+
{ include: s("@greater_operators_token__id__") }
|
| 400 |
+
],
|
| 401 |
+
// Expression for the unified call, e.g. <@createMacro() ... >
|
| 402 |
+
[s("noSpaceExpression__id__")]: [
|
| 403 |
+
{ include: s("@no_space_expression_end_token__id__") },
|
| 404 |
+
{ include: s("@directive_end_token__id__") },
|
| 405 |
+
{ include: s("@expression_token__id__") }
|
| 406 |
+
],
|
| 407 |
+
// For the function of a unified call. Special case for when the
|
| 408 |
+
// expression is a simple identifier.
|
| 409 |
+
// <@join [1,2] ",">
|
| 410 |
+
// <@null!join [1,2] ",">
|
| 411 |
+
[s("unifiedCall__id__")]: [{ include: s("@unified_call_token__id__") }],
|
| 412 |
+
// For singly and doubly quoted string (that may contain interpolations)
|
| 413 |
+
[s("singleString__id__")]: [{ include: s("@string_single_token__id__") }],
|
| 414 |
+
[s("doubleString__id__")]: [{ include: s("@string_double_token__id__") }],
|
| 415 |
+
// For singly and doubly quoted string (that may not contain interpolations)
|
| 416 |
+
[s("rawSingleString__id__")]: [{ include: s("@string_single_raw_token__id__") }],
|
| 417 |
+
[s("rawDoubleString__id__")]: [{ include: s("@string_double_raw_token__id__") }],
|
| 418 |
+
// For a comment in an expression
|
| 419 |
+
// ${ 1 + <#-- comment --> 2}
|
| 420 |
+
[s("expressionComment__id__")]: [{ include: s("@expression_comment_token__id__") }],
|
| 421 |
+
// For <#noparse> ... </#noparse>
|
| 422 |
+
// For <#noParse> ... </#noParse>
|
| 423 |
+
// For <#comment> ... </#comment>
|
| 424 |
+
[s("noParse__id__")]: [{ include: s("@no_parse_token__id__") }],
|
| 425 |
+
// For <#-- ... -->
|
| 426 |
+
[s("terseComment__id__")]: [{ include: s("@terse_comment_token__id__") }],
|
| 427 |
+
// Common rules
|
| 428 |
+
[s("directive_token__id__")]: [
|
| 429 |
+
// <ATTEMPT : <START_TAG> "attempt" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 430 |
+
// <RECOVER : <START_TAG> "recover" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 431 |
+
// <SEP : <START_TAG> "sep" <CLOSE_TAG1>>
|
| 432 |
+
// <AUTOESC : <START_TAG> "auto" ("e"|"E") "sc" <CLOSE_TAG1>> {
|
| 433 |
+
// handleTagSyntaxAndSwitch(matchedToken, getTagNamingConvention(matchedToken, 4), DEFAULT);
|
| 434 |
+
// }
|
| 435 |
+
// <NOAUTOESC : <START_TAG> "no" ("autoe"|"AutoE") "sc" <CLOSE_TAG1>> {
|
| 436 |
+
// handleTagSyntaxAndSwitch(matchedToken, getTagNamingConvention(matchedToken, 2), DEFAULT);
|
| 437 |
+
// }
|
| 438 |
+
// <COMPRESS : <START_TAG> "compress" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 439 |
+
// <DEFAUL : <START_TAG> "default" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 440 |
+
// <NOESCAPE : <START_TAG> "no" ("e" | "E") "scape" <CLOSE_TAG1>> {
|
| 441 |
+
// handleTagSyntaxAndSwitch(matchedToken, getTagNamingConvention(matchedToken, 2), DEFAULT);
|
| 442 |
+
// }
|
| 443 |
+
//
|
| 444 |
+
// <COMMENT : <START_TAG> "comment" <CLOSE_TAG1>> {
|
| 445 |
+
// handleTagSyntaxAndSwitch(matchedToken, NO_PARSE); noparseTag = "comment";
|
| 446 |
+
// }
|
| 447 |
+
// <NOPARSE: <START_TAG> "no" ("p" | "P") "arse" <CLOSE_TAG1>> {
|
| 448 |
+
// int tagNamingConvention = getTagNamingConvention(matchedToken, 2);
|
| 449 |
+
// handleTagSyntaxAndSwitch(matchedToken, tagNamingConvention, NO_PARSE);
|
| 450 |
+
// noparseTag = tagNamingConvention == Configuration.CAMEL_CASE_NAMING_CONVENTION ? "noParse" : "noparse";
|
| 451 |
+
// }
|
| 452 |
+
[
|
| 453 |
+
r(/(?:@startTag__id__)(@directiveStartCloseTag1)(?:@closeTag1__id__)/),
|
| 454 |
+
ts.id === "auto" ? {
|
| 455 |
+
cases: {
|
| 456 |
+
"$1==<": { token: "@rematch", switchTo: `@default_angle_${is.id}` },
|
| 457 |
+
"$1==[": { token: "@rematch", switchTo: `@default_bracket_${is.id}` }
|
| 458 |
+
}
|
| 459 |
+
} : [
|
| 460 |
+
{ token: "@brackets.directive" },
|
| 461 |
+
{ token: "delimiter.directive" },
|
| 462 |
+
{
|
| 463 |
+
cases: {
|
| 464 |
+
"@noParseTags": { token: "tag", next: s("@noParse__id__.$3") },
|
| 465 |
+
"@default": { token: "tag" }
|
| 466 |
+
}
|
| 467 |
+
},
|
| 468 |
+
{ token: "delimiter.directive" },
|
| 469 |
+
{ token: "@brackets.directive" }
|
| 470 |
+
]
|
| 471 |
+
],
|
| 472 |
+
// <ELSE : <START_TAG> "else" <CLOSE_TAG2>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 473 |
+
// <BREAK : <START_TAG> "break" <CLOSE_TAG2>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 474 |
+
// <CONTINUE : <START_TAG> "continue" <CLOSE_TAG2>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 475 |
+
// <SIMPLE_RETURN : <START_TAG> "return" <CLOSE_TAG2>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 476 |
+
// <HALT : <START_TAG> "stop" <CLOSE_TAG2>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 477 |
+
// <FLUSH : <START_TAG> "flush" <CLOSE_TAG2>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 478 |
+
// <TRIM : <START_TAG> "t" <CLOSE_TAG2>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 479 |
+
// <LTRIM : <START_TAG> "lt" <CLOSE_TAG2>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 480 |
+
// <RTRIM : <START_TAG> "rt" <CLOSE_TAG2>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 481 |
+
// <NOTRIM : <START_TAG> "nt" <CLOSE_TAG2>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 482 |
+
// <SIMPLE_NESTED : <START_TAG> "nested" <CLOSE_TAG2>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 483 |
+
// <SIMPLE_RECURSE : <START_TAG> "recurse" <CLOSE_TAG2>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 484 |
+
// <FALLBACK : <START_TAG> "fallback" <CLOSE_TAG2>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 485 |
+
// <TRIVIAL_FTL_HEADER : ("<#ftl" | "[#ftl") ("/")? (">" | "]")> { ftlHeader(matchedToken); }
|
| 486 |
+
[
|
| 487 |
+
r(/(?:@startTag__id__)(@directiveStartCloseTag2)(?:@closeTag2__id__)/),
|
| 488 |
+
ts.id === "auto" ? {
|
| 489 |
+
cases: {
|
| 490 |
+
"$1==<": { token: "@rematch", switchTo: `@default_angle_${is.id}` },
|
| 491 |
+
"$1==[": { token: "@rematch", switchTo: `@default_bracket_${is.id}` }
|
| 492 |
+
}
|
| 493 |
+
} : [
|
| 494 |
+
{ token: "@brackets.directive" },
|
| 495 |
+
{ token: "delimiter.directive" },
|
| 496 |
+
{ token: "tag" },
|
| 497 |
+
{ token: "delimiter.directive" },
|
| 498 |
+
{ token: "@brackets.directive" }
|
| 499 |
+
]
|
| 500 |
+
],
|
| 501 |
+
// <IF : <START_TAG> "if" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 502 |
+
// <ELSE_IF : <START_TAG> "else" ("i" | "I") "f" <BLANK>> {
|
| 503 |
+
// handleTagSyntaxAndSwitch(matchedToken, getTagNamingConvention(matchedToken, 4), FM_EXPRESSION);
|
| 504 |
+
// }
|
| 505 |
+
// <LIST : <START_TAG> "list" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 506 |
+
// <FOREACH : <START_TAG> "for" ("e" | "E") "ach" <BLANK>> {
|
| 507 |
+
// handleTagSyntaxAndSwitch(matchedToken, getTagNamingConvention(matchedToken, 3), FM_EXPRESSION);
|
| 508 |
+
// }
|
| 509 |
+
// <SWITCH : <START_TAG> "switch" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 510 |
+
// <CASE : <START_TAG> "case" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 511 |
+
// <ASSIGN : <START_TAG> "assign" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 512 |
+
// <GLOBALASSIGN : <START_TAG> "global" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 513 |
+
// <LOCALASSIGN : <START_TAG> "local" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 514 |
+
// <_INCLUDE : <START_TAG> "include" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 515 |
+
// <IMPORT : <START_TAG> "import" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 516 |
+
// <FUNCTION : <START_TAG> "function" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 517 |
+
// <MACRO : <START_TAG> "macro" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 518 |
+
// <TRANSFORM : <START_TAG> "transform" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 519 |
+
// <VISIT : <START_TAG> "visit" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 520 |
+
// <STOP : <START_TAG> "stop" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 521 |
+
// <RETURN : <START_TAG> "return" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 522 |
+
// <CALL : <START_TAG> "call" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 523 |
+
// <SETTING : <START_TAG> "setting" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 524 |
+
// <OUTPUTFORMAT : <START_TAG> "output" ("f"|"F") "ormat" <BLANK>> {
|
| 525 |
+
// handleTagSyntaxAndSwitch(matchedToken, getTagNamingConvention(matchedToken, 6), FM_EXPRESSION);
|
| 526 |
+
// }
|
| 527 |
+
// <NESTED : <START_TAG> "nested" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 528 |
+
// <RECURSE : <START_TAG> "recurse" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 529 |
+
// <ESCAPE : <START_TAG> "escape" <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 530 |
+
//
|
| 531 |
+
// Note: FreeMarker grammar appears to treat the FTL header as a special case,
|
| 532 |
+
// in order to remove new lines after the header (?), but since we only need
|
| 533 |
+
// to tokenize for highlighting, we can include this directive here.
|
| 534 |
+
// <FTL_HEADER : ("<#ftl" | "[#ftl") <BLANK>> { ftlHeader(matchedToken); }
|
| 535 |
+
//
|
| 536 |
+
// Note: FreeMarker grammar appears to treat the items directive as a special case for
|
| 537 |
+
// the AST parsing process, but since we only need to tokenize, we can include this
|
| 538 |
+
// directive here.
|
| 539 |
+
// <ITEMS : <START_TAG> "items" (<BLANK>)+ <AS> <BLANK>> { handleTagSyntaxAndSwitch(matchedToken, FM_EXPRESSION); }
|
| 540 |
+
[
|
| 541 |
+
r(/(?:@startTag__id__)(@directiveStartBlank)(@blank)/),
|
| 542 |
+
ts.id === "auto" ? {
|
| 543 |
+
cases: {
|
| 544 |
+
"$1==<": { token: "@rematch", switchTo: `@default_angle_${is.id}` },
|
| 545 |
+
"$1==[": { token: "@rematch", switchTo: `@default_bracket_${is.id}` }
|
| 546 |
+
}
|
| 547 |
+
} : [
|
| 548 |
+
{ token: "@brackets.directive" },
|
| 549 |
+
{ token: "delimiter.directive" },
|
| 550 |
+
{ token: "tag" },
|
| 551 |
+
{ token: "", next: s("@fmExpression__id__.directive") }
|
| 552 |
+
]
|
| 553 |
+
],
|
| 554 |
+
// <END_IF : <END_TAG> "if" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 555 |
+
// <END_LIST : <END_TAG> "list" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 556 |
+
// <END_SEP : <END_TAG> "sep" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 557 |
+
// <END_RECOVER : <END_TAG> "recover" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 558 |
+
// <END_ATTEMPT : <END_TAG> "attempt" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 559 |
+
// <END_FOREACH : <END_TAG> "for" ("e" | "E") "ach" <CLOSE_TAG1>> {
|
| 560 |
+
// handleTagSyntaxAndSwitch(matchedToken, getTagNamingConvention(matchedToken, 3), DEFAULT);
|
| 561 |
+
// }
|
| 562 |
+
// <END_LOCAL : <END_TAG> "local" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 563 |
+
// <END_GLOBAL : <END_TAG> "global" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 564 |
+
// <END_ASSIGN : <END_TAG> "assign" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 565 |
+
// <END_FUNCTION : <END_TAG> "function" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 566 |
+
// <END_MACRO : <END_TAG> "macro" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 567 |
+
// <END_OUTPUTFORMAT : <END_TAG> "output" ("f" | "F") "ormat" <CLOSE_TAG1>> {
|
| 568 |
+
// handleTagSyntaxAndSwitch(matchedToken, getTagNamingConvention(matchedToken, 6), DEFAULT);
|
| 569 |
+
// }
|
| 570 |
+
// <END_AUTOESC : <END_TAG> "auto" ("e" | "E") "sc" <CLOSE_TAG1>> {
|
| 571 |
+
// handleTagSyntaxAndSwitch(matchedToken, getTagNamingConvention(matchedToken, 4), DEFAULT);
|
| 572 |
+
// }
|
| 573 |
+
// <END_NOAUTOESC : <END_TAG> "no" ("autoe"|"AutoE") "sc" <CLOSE_TAG1>> {
|
| 574 |
+
// handleTagSyntaxAndSwitch(matchedToken, getTagNamingConvention(matchedToken, 2), DEFAULT);
|
| 575 |
+
// }
|
| 576 |
+
// <END_COMPRESS : <END_TAG> "compress" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 577 |
+
// <END_TRANSFORM : <END_TAG> "transform" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 578 |
+
// <END_SWITCH : <END_TAG> "switch" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 579 |
+
// <END_ESCAPE : <END_TAG> "escape" <CLOSE_TAG1>> { handleTagSyntaxAndSwitch(matchedToken, DEFAULT); }
|
| 580 |
+
// <END_NOESCAPE : <END_TAG> "no" ("e" | "E") "scape" <CLOSE_TAG1>> {
|
| 581 |
+
// handleTagSyntaxAndSwitch(matchedToken, getTagNamingConvention(matchedToken, 2), DEFAULT);
|
| 582 |
+
// }
|
| 583 |
+
[
|
| 584 |
+
r(/(?:@endTag__id__)(@directiveEndCloseTag1)(?:@closeTag1__id__)/),
|
| 585 |
+
ts.id === "auto" ? {
|
| 586 |
+
cases: {
|
| 587 |
+
"$1==<": { token: "@rematch", switchTo: `@default_angle_${is.id}` },
|
| 588 |
+
"$1==[": { token: "@rematch", switchTo: `@default_bracket_${is.id}` }
|
| 589 |
+
}
|
| 590 |
+
} : [
|
| 591 |
+
{ token: "@brackets.directive" },
|
| 592 |
+
{ token: "delimiter.directive" },
|
| 593 |
+
{ token: "tag" },
|
| 594 |
+
{ token: "delimiter.directive" },
|
| 595 |
+
{ token: "@brackets.directive" }
|
| 596 |
+
]
|
| 597 |
+
],
|
| 598 |
+
// <UNIFIED_CALL : "<@" | "[@" > { unifiedCall(matchedToken); }
|
| 599 |
+
[
|
| 600 |
+
r(/(@open__id__)(@)/),
|
| 601 |
+
ts.id === "auto" ? {
|
| 602 |
+
cases: {
|
| 603 |
+
"$1==<": { token: "@rematch", switchTo: `@default_angle_${is.id}` },
|
| 604 |
+
"$1==[": { token: "@rematch", switchTo: `@default_bracket_${is.id}` }
|
| 605 |
+
}
|
| 606 |
+
} : [
|
| 607 |
+
{ token: "@brackets.directive" },
|
| 608 |
+
{ token: "delimiter.directive", next: s("@unifiedCall__id__") }
|
| 609 |
+
]
|
| 610 |
+
],
|
| 611 |
+
// <UNIFIED_CALL_END : ("<" | "[") "/@" ((<ID>) ("."<ID>)*)? <CLOSE_TAG1>> { unifiedCallEnd(matchedToken); }
|
| 612 |
+
[
|
| 613 |
+
r(/(@open__id__)(\/@)((?:(?:@id)(?:\.(?:@id))*)?)(?:@closeTag1__id__)/),
|
| 614 |
+
[
|
| 615 |
+
{ token: "@brackets.directive" },
|
| 616 |
+
{ token: "delimiter.directive" },
|
| 617 |
+
{ token: "tag" },
|
| 618 |
+
{ token: "delimiter.directive" },
|
| 619 |
+
{ token: "@brackets.directive" }
|
| 620 |
+
]
|
| 621 |
+
],
|
| 622 |
+
// <TERSE_COMMENT : ("<" | "[") "#--" > { noparseTag = "-->"; handleTagSyntaxAndSwitch(matchedToken, NO_PARSE); }
|
| 623 |
+
[
|
| 624 |
+
r(/(@open__id__)#--/),
|
| 625 |
+
ts.id === "auto" ? {
|
| 626 |
+
cases: {
|
| 627 |
+
"$1==<": { token: "@rematch", switchTo: `@default_angle_${is.id}` },
|
| 628 |
+
"$1==[": { token: "@rematch", switchTo: `@default_bracket_${is.id}` }
|
| 629 |
+
}
|
| 630 |
+
} : { token: "comment", next: s("@terseComment__id__") }
|
| 631 |
+
],
|
| 632 |
+
// <UNKNOWN_DIRECTIVE : ("[#" | "[/#" | "<#" | "</#") (["a"-"z", "A"-"Z", "_"])+>
|
| 633 |
+
[
|
| 634 |
+
r(/(?:@startOrEndTag__id__)([a-zA-Z_]+)/),
|
| 635 |
+
ts.id === "auto" ? {
|
| 636 |
+
cases: {
|
| 637 |
+
"$1==<": { token: "@rematch", switchTo: `@default_angle_${is.id}` },
|
| 638 |
+
"$1==[": { token: "@rematch", switchTo: `@default_bracket_${is.id}` }
|
| 639 |
+
}
|
| 640 |
+
} : [
|
| 641 |
+
{ token: "@brackets.directive" },
|
| 642 |
+
{ token: "delimiter.directive" },
|
| 643 |
+
{ token: "tag.invalid", next: s("@fmExpression__id__.directive") }
|
| 644 |
+
]
|
| 645 |
+
]
|
| 646 |
+
],
|
| 647 |
+
// <DEFAULT, NO_DIRECTIVE> TOKEN :
|
| 648 |
+
[s("interpolation_and_text_token__id__")]: [
|
| 649 |
+
// <DOLLAR_INTERPOLATION_OPENING : "${"> { startInterpolation(matchedToken); }
|
| 650 |
+
// <SQUARE_BRACKET_INTERPOLATION_OPENING : "[="> { startInterpolation(matchedToken); }
|
| 651 |
+
[
|
| 652 |
+
r(/(@iOpen1__id__)(@iOpen2__id__)/),
|
| 653 |
+
[
|
| 654 |
+
{ token: is.id === "bracket" ? "@brackets.interpolation" : "delimiter.interpolation" },
|
| 655 |
+
{
|
| 656 |
+
token: is.id === "bracket" ? "delimiter.interpolation" : "@brackets.interpolation",
|
| 657 |
+
next: s("@fmExpression__id__.interpolation")
|
| 658 |
+
}
|
| 659 |
+
]
|
| 660 |
+
],
|
| 661 |
+
// <STATIC_TEXT_FALSE_ALARM : "$" | "#" | "<" | "[" | "{"> // to handle a lone dollar sign or "<" or "# or <@ with whitespace after"
|
| 662 |
+
// <STATIC_TEXT_WS : ("\n" | "\r" | "\t" | " ")+>
|
| 663 |
+
// <STATIC_TEXT_NON_WS : (~["$", "<", "#", "[", "{", "\n", "\r", "\t", " "])+>
|
| 664 |
+
[/[\$#<\[\{]|(?:@blank)+|[^\$<#\[\{\n\r\t ]+/, { token: "source" }]
|
| 665 |
+
],
|
| 666 |
+
// <STRING_LITERAL :
|
| 667 |
+
// (
|
| 668 |
+
// "\""
|
| 669 |
+
// ((~["\"", "\\"]) | <ESCAPED_CHAR>)*
|
| 670 |
+
// "\""
|
| 671 |
+
// )
|
| 672 |
+
// |
|
| 673 |
+
// (
|
| 674 |
+
// "'"
|
| 675 |
+
// ((~["'", "\\"]) | <ESCAPED_CHAR>)*
|
| 676 |
+
// "'"
|
| 677 |
+
// )
|
| 678 |
+
// >
|
| 679 |
+
[s("string_single_token__id__")]: [
|
| 680 |
+
[/[^'\\]/, { token: "string" }],
|
| 681 |
+
[/@escapedChar/, { token: "string.escape" }],
|
| 682 |
+
[/'/, { token: "string", next: "@pop" }]
|
| 683 |
+
],
|
| 684 |
+
[s("string_double_token__id__")]: [
|
| 685 |
+
[/[^"\\]/, { token: "string" }],
|
| 686 |
+
[/@escapedChar/, { token: "string.escape" }],
|
| 687 |
+
[/"/, { token: "string", next: "@pop" }]
|
| 688 |
+
],
|
| 689 |
+
// <RAW_STRING : "r" (("\"" (~["\""])* "\"") | ("'" (~["'"])* "'"))>
|
| 690 |
+
[s("string_single_raw_token__id__")]: [
|
| 691 |
+
[/[^']+/, { token: "string.raw" }],
|
| 692 |
+
[/'/, { token: "string.raw", next: "@pop" }]
|
| 693 |
+
],
|
| 694 |
+
[s("string_double_raw_token__id__")]: [
|
| 695 |
+
[/[^"]+/, { token: "string.raw" }],
|
| 696 |
+
[/"/, { token: "string.raw", next: "@pop" }]
|
| 697 |
+
],
|
| 698 |
+
// <FM_EXPRESSION, IN_PAREN, NO_SPACE_EXPRESSION, NAMED_PARAMETER_EXPRESSION> TOKEN :
|
| 699 |
+
[s("expression_token__id__")]: [
|
| 700 |
+
// Strings
|
| 701 |
+
[
|
| 702 |
+
/(r?)(['"])/,
|
| 703 |
+
{
|
| 704 |
+
cases: {
|
| 705 |
+
"r'": [
|
| 706 |
+
{ token: "keyword" },
|
| 707 |
+
{ token: "string.raw", next: s("@rawSingleString__id__") }
|
| 708 |
+
],
|
| 709 |
+
'r"': [
|
| 710 |
+
{ token: "keyword" },
|
| 711 |
+
{ token: "string.raw", next: s("@rawDoubleString__id__") }
|
| 712 |
+
],
|
| 713 |
+
"'": [{ token: "source" }, { token: "string", next: s("@singleString__id__") }],
|
| 714 |
+
'"': [{ token: "source" }, { token: "string", next: s("@doubleString__id__") }]
|
| 715 |
+
}
|
| 716 |
+
}
|
| 717 |
+
],
|
| 718 |
+
// Numbers
|
| 719 |
+
// <INTEGER : (["0"-"9"])+>
|
| 720 |
+
// <DECIMAL : <INTEGER> "." <INTEGER>>
|
| 721 |
+
[
|
| 722 |
+
/(?:@integer)(?:\.(?:@integer))?/,
|
| 723 |
+
{
|
| 724 |
+
cases: {
|
| 725 |
+
"(?:@integer)": { token: "number" },
|
| 726 |
+
"@default": { token: "number.float" }
|
| 727 |
+
}
|
| 728 |
+
}
|
| 729 |
+
],
|
| 730 |
+
// Special hash keys that must not be treated as identifiers
|
| 731 |
+
// after a period, e.g. a.** is accessing the key "**" of a
|
| 732 |
+
[
|
| 733 |
+
/(\.)(@blank*)(@specialHashKeys)/,
|
| 734 |
+
[{ token: "delimiter" }, { token: "" }, { token: "identifier" }]
|
| 735 |
+
],
|
| 736 |
+
// Symbols / operators
|
| 737 |
+
[
|
| 738 |
+
/(?:@namedSymbols)/,
|
| 739 |
+
{
|
| 740 |
+
cases: {
|
| 741 |
+
"@arrows": { token: "meta.arrow" },
|
| 742 |
+
"@delimiters": { token: "delimiter" },
|
| 743 |
+
"@default": { token: "operators" }
|
| 744 |
+
}
|
| 745 |
+
}
|
| 746 |
+
],
|
| 747 |
+
// Identifiers
|
| 748 |
+
[
|
| 749 |
+
/@id/,
|
| 750 |
+
{
|
| 751 |
+
cases: {
|
| 752 |
+
"@keywords": { token: "keyword.$0" },
|
| 753 |
+
"@stringOperators": { token: "operators" },
|
| 754 |
+
"@default": { token: "identifier" }
|
| 755 |
+
}
|
| 756 |
+
}
|
| 757 |
+
],
|
| 758 |
+
// <OPEN_BRACKET : "[">
|
| 759 |
+
// <CLOSE_BRACKET : "]">
|
| 760 |
+
// <OPEN_PAREN : "(">
|
| 761 |
+
// <CLOSE_PAREN : ")">
|
| 762 |
+
// <OPENING_CURLY_BRACKET : "{">
|
| 763 |
+
// <CLOSING_CURLY_BRACKET : "}">
|
| 764 |
+
[
|
| 765 |
+
/[\[\]\(\)\{\}]/,
|
| 766 |
+
{
|
| 767 |
+
cases: {
|
| 768 |
+
"\\[": {
|
| 769 |
+
cases: {
|
| 770 |
+
"$S2==gt": { token: "@brackets", next: s("@inParen__id__.gt") },
|
| 771 |
+
"@default": { token: "@brackets", next: s("@inParen__id__.plain") }
|
| 772 |
+
}
|
| 773 |
+
},
|
| 774 |
+
"\\]": {
|
| 775 |
+
cases: {
|
| 776 |
+
...is.id === "bracket" ? {
|
| 777 |
+
"$S2==interpolation": { token: "@brackets.interpolation", next: "@popall" }
|
| 778 |
+
} : {},
|
| 779 |
+
// This cannot happen while in auto mode, since this applies only to an
|
| 780 |
+
// fmExpression inside a directive. But once we encounter the start of a
|
| 781 |
+
// directive, we can establish the tag syntax mode.
|
| 782 |
+
...ts.id === "bracket" ? {
|
| 783 |
+
"$S2==directive": { token: "@brackets.directive", next: "@popall" }
|
| 784 |
+
} : {},
|
| 785 |
+
// Ignore mismatched paren
|
| 786 |
+
[s("$S1==inParen__id__")]: { token: "@brackets", next: "@pop" },
|
| 787 |
+
"@default": { token: "@brackets" }
|
| 788 |
+
}
|
| 789 |
+
},
|
| 790 |
+
"\\(": { token: "@brackets", next: s("@inParen__id__.gt") },
|
| 791 |
+
"\\)": {
|
| 792 |
+
cases: {
|
| 793 |
+
[s("$S1==inParen__id__")]: { token: "@brackets", next: "@pop" },
|
| 794 |
+
"@default": { token: "@brackets" }
|
| 795 |
+
}
|
| 796 |
+
},
|
| 797 |
+
"\\{": {
|
| 798 |
+
cases: {
|
| 799 |
+
"$S2==gt": { token: "@brackets", next: s("@inParen__id__.gt") },
|
| 800 |
+
"@default": { token: "@brackets", next: s("@inParen__id__.plain") }
|
| 801 |
+
}
|
| 802 |
+
},
|
| 803 |
+
"\\}": {
|
| 804 |
+
cases: {
|
| 805 |
+
...is.id === "bracket" ? {} : {
|
| 806 |
+
"$S2==interpolation": { token: "@brackets.interpolation", next: "@popall" }
|
| 807 |
+
},
|
| 808 |
+
// Ignore mismatched paren
|
| 809 |
+
[s("$S1==inParen__id__")]: { token: "@brackets", next: "@pop" },
|
| 810 |
+
"@default": { token: "@brackets" }
|
| 811 |
+
}
|
| 812 |
+
}
|
| 813 |
+
}
|
| 814 |
+
}
|
| 815 |
+
],
|
| 816 |
+
// <OPEN_MISPLACED_INTERPOLATION : "${" | "#{" | "[=">
|
| 817 |
+
[/\$\{/, { token: "delimiter.invalid" }]
|
| 818 |
+
],
|
| 819 |
+
// <FM_EXPRESSION, IN_PAREN, NAMED_PARAMETER_EXPRESSION> SKIP :
|
| 820 |
+
[s("blank_and_expression_comment_token__id__")]: [
|
| 821 |
+
// < ( " " | "\t" | "\n" | "\r" )+ >
|
| 822 |
+
[/(?:@blank)+/, { token: "" }],
|
| 823 |
+
// < ("<" | "[") ("#" | "!") "--"> : EXPRESSION_COMMENT
|
| 824 |
+
[/[<\[][#!]--/, { token: "comment", next: s("@expressionComment__id__") }]
|
| 825 |
+
],
|
| 826 |
+
// <FM_EXPRESSION, NO_SPACE_EXPRESSION, NAMED_PARAMETER_EXPRESSION> TOKEN :
|
| 827 |
+
[s("directive_end_token__id__")]: [
|
| 828 |
+
// <DIRECTIVE_END : ">">
|
| 829 |
+
// {
|
| 830 |
+
// if (inFTLHeader) {
|
| 831 |
+
// eatNewline();
|
| 832 |
+
// inFTLHeader = false;
|
| 833 |
+
// }
|
| 834 |
+
// if (squBracTagSyntax || postInterpolationLexState != -1 /* We are in an interpolation */) {
|
| 835 |
+
// matchedToken.kind = NATURAL_GT;
|
| 836 |
+
// } else {
|
| 837 |
+
// SwitchTo(DEFAULT);
|
| 838 |
+
// }
|
| 839 |
+
// }
|
| 840 |
+
// This cannot happen while in auto mode, since this applies only to an
|
| 841 |
+
// fmExpression inside a directive. But once we encounter the start of a
|
| 842 |
+
// directive, we can establish the tag syntax mode.
|
| 843 |
+
[
|
| 844 |
+
/>/,
|
| 845 |
+
ts.id === "bracket" ? { token: "operators" } : { token: "@brackets.directive", next: "@popall" }
|
| 846 |
+
],
|
| 847 |
+
// <EMPTY_DIRECTIVE_END : "/>" | "/]">
|
| 848 |
+
// It is a syntax error to end a tag with the wrong close token
|
| 849 |
+
// Let's indicate that to the user by not closing the tag
|
| 850 |
+
[
|
| 851 |
+
r(/(\/)(@close__id__)/),
|
| 852 |
+
[{ token: "delimiter.directive" }, { token: "@brackets.directive", next: "@popall" }]
|
| 853 |
+
]
|
| 854 |
+
],
|
| 855 |
+
// <IN_PAREN> TOKEN :
|
| 856 |
+
[s("greater_operators_token__id__")]: [
|
| 857 |
+
// <NATURAL_GT : ">">
|
| 858 |
+
[/>/, { token: "operators" }],
|
| 859 |
+
// <NATURAL_GTE : ">=">
|
| 860 |
+
[/>=/, { token: "operators" }]
|
| 861 |
+
],
|
| 862 |
+
// <NO_SPACE_EXPRESSION> TOKEN :
|
| 863 |
+
[s("no_space_expression_end_token__id__")]: [
|
| 864 |
+
// <TERMINATING_WHITESPACE : (["\n", "\r", "\t", " "])+> : FM_EXPRESSION
|
| 865 |
+
[/(?:@blank)+/, { token: "", switchTo: s("@fmExpression__id__.directive") }]
|
| 866 |
+
],
|
| 867 |
+
[s("unified_call_token__id__")]: [
|
| 868 |
+
// Special case for a call where the expression is just an ID
|
| 869 |
+
// <UNIFIED_CALL> <ID> <BLANK>+
|
| 870 |
+
[
|
| 871 |
+
/(@id)((?:@blank)+)/,
|
| 872 |
+
[{ token: "tag" }, { token: "", next: s("@fmExpression__id__.directive") }]
|
| 873 |
+
],
|
| 874 |
+
[
|
| 875 |
+
r(/(@id)(\/?)(@close__id__)/),
|
| 876 |
+
[
|
| 877 |
+
{ token: "tag" },
|
| 878 |
+
{ token: "delimiter.directive" },
|
| 879 |
+
{ token: "@brackets.directive", next: "@popall" }
|
| 880 |
+
]
|
| 881 |
+
],
|
| 882 |
+
[/./, { token: "@rematch", next: s("@noSpaceExpression__id__") }]
|
| 883 |
+
],
|
| 884 |
+
// <NO_PARSE> TOKEN :
|
| 885 |
+
[s("no_parse_token__id__")]: [
|
| 886 |
+
// <MAYBE_END :
|
| 887 |
+
// ("<" | "[")
|
| 888 |
+
// "/"
|
| 889 |
+
// ("#")?
|
| 890 |
+
// (["a"-"z", "A"-"Z"])+
|
| 891 |
+
// ( " " | "\t" | "\n" | "\r" )*
|
| 892 |
+
// (">" | "]")
|
| 893 |
+
// >
|
| 894 |
+
[
|
| 895 |
+
r(/(@open__id__)(\/#?)([a-zA-Z]+)((?:@blank)*)(@close__id__)/),
|
| 896 |
+
{
|
| 897 |
+
cases: {
|
| 898 |
+
"$S2==$3": [
|
| 899 |
+
{ token: "@brackets.directive" },
|
| 900 |
+
{ token: "delimiter.directive" },
|
| 901 |
+
{ token: "tag" },
|
| 902 |
+
{ token: "" },
|
| 903 |
+
{ token: "@brackets.directive", next: "@popall" }
|
| 904 |
+
],
|
| 905 |
+
"$S2==comment": [
|
| 906 |
+
{ token: "comment" },
|
| 907 |
+
{ token: "comment" },
|
| 908 |
+
{ token: "comment" },
|
| 909 |
+
{ token: "comment" },
|
| 910 |
+
{ token: "comment" }
|
| 911 |
+
],
|
| 912 |
+
"@default": [
|
| 913 |
+
{ token: "source" },
|
| 914 |
+
{ token: "source" },
|
| 915 |
+
{ token: "source" },
|
| 916 |
+
{ token: "source" },
|
| 917 |
+
{ token: "source" }
|
| 918 |
+
]
|
| 919 |
+
}
|
| 920 |
+
}
|
| 921 |
+
],
|
| 922 |
+
// <KEEP_GOING : (~["<", "[", "-"])+>
|
| 923 |
+
// <LONE_LESS_THAN_OR_DASH : ["<", "[", "-"]>
|
| 924 |
+
[
|
| 925 |
+
/[^<\[\-]+|[<\[\-]/,
|
| 926 |
+
{
|
| 927 |
+
cases: {
|
| 928 |
+
"$S2==comment": { token: "comment" },
|
| 929 |
+
"@default": { token: "source" }
|
| 930 |
+
}
|
| 931 |
+
}
|
| 932 |
+
]
|
| 933 |
+
],
|
| 934 |
+
// <EXPRESSION_COMMENT> SKIP:
|
| 935 |
+
[s("expression_comment_token__id__")]: [
|
| 936 |
+
// < "-->" | "--]">
|
| 937 |
+
[
|
| 938 |
+
/--[>\]]/,
|
| 939 |
+
{
|
| 940 |
+
token: "comment",
|
| 941 |
+
next: "@pop"
|
| 942 |
+
}
|
| 943 |
+
],
|
| 944 |
+
// < (~["-", ">", "]"])+ >
|
| 945 |
+
// < ">">
|
| 946 |
+
// < "]">
|
| 947 |
+
// < "-">
|
| 948 |
+
[/[^\->\]]+|[>\]\-]/, { token: "comment" }]
|
| 949 |
+
],
|
| 950 |
+
[s("terse_comment_token__id__")]: [
|
| 951 |
+
// <TERSE_COMMENT_END : "-->" | "--]">
|
| 952 |
+
[r(/--(?:@close__id__)/), { token: "comment", next: "@popall" }],
|
| 953 |
+
// <KEEP_GOING : (~["<", "[", "-"])+>
|
| 954 |
+
// <LONE_LESS_THAN_OR_DASH : ["<", "[", "-"]>
|
| 955 |
+
[/[^<\[\-]+|[<\[\-]/, { token: "comment" }]
|
| 956 |
+
]
|
| 957 |
+
}
|
| 958 |
+
};
|
| 959 |
+
}
|
| 960 |
+
function createMonarchLanguageAuto(is) {
|
| 961 |
+
const angle = createMonarchLanguage(TagSyntaxAngle, is);
|
| 962 |
+
const bracket = createMonarchLanguage(TagSyntaxBracket, is);
|
| 963 |
+
const auto = createMonarchLanguage(TagSyntaxAuto, is);
|
| 964 |
+
return {
|
| 965 |
+
// Angle and bracket syntax mode
|
| 966 |
+
// We switch to one of these once we have determined the mode
|
| 967 |
+
...angle,
|
| 968 |
+
...bracket,
|
| 969 |
+
...auto,
|
| 970 |
+
// Settings
|
| 971 |
+
unicode: true,
|
| 972 |
+
includeLF: false,
|
| 973 |
+
start: `default_auto_${is.id}`,
|
| 974 |
+
ignoreCase: false,
|
| 975 |
+
defaultToken: "invalid",
|
| 976 |
+
tokenPostfix: `.freemarker2`,
|
| 977 |
+
brackets: [
|
| 978 |
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
| 979 |
+
{ open: "[", close: "]", token: "delimiter.square" },
|
| 980 |
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
| 981 |
+
{ open: "<", close: ">", token: "delimiter.angle" }
|
| 982 |
+
],
|
| 983 |
+
tokenizer: {
|
| 984 |
+
...angle.tokenizer,
|
| 985 |
+
...bracket.tokenizer,
|
| 986 |
+
...auto.tokenizer
|
| 987 |
+
}
|
| 988 |
+
};
|
| 989 |
+
}
|
| 990 |
+
var TagAngleInterpolationDollar = {
|
| 991 |
+
conf: createLangConfiguration(TagSyntaxAngle),
|
| 992 |
+
language: createMonarchLanguage(TagSyntaxAngle, InterpolationSyntaxDollar)
|
| 993 |
+
};
|
| 994 |
+
var TagBracketInterpolationDollar = {
|
| 995 |
+
conf: createLangConfiguration(TagSyntaxBracket),
|
| 996 |
+
language: createMonarchLanguage(TagSyntaxBracket, InterpolationSyntaxDollar)
|
| 997 |
+
};
|
| 998 |
+
var TagAngleInterpolationBracket = {
|
| 999 |
+
conf: createLangConfiguration(TagSyntaxAngle),
|
| 1000 |
+
language: createMonarchLanguage(TagSyntaxAngle, InterpolationSyntaxBracket)
|
| 1001 |
+
};
|
| 1002 |
+
var TagBracketInterpolationBracket = {
|
| 1003 |
+
conf: createLangConfiguration(TagSyntaxBracket),
|
| 1004 |
+
language: createMonarchLanguage(TagSyntaxBracket, InterpolationSyntaxBracket)
|
| 1005 |
+
};
|
| 1006 |
+
var TagAutoInterpolationDollar = {
|
| 1007 |
+
conf: createLangConfigurationAuto(),
|
| 1008 |
+
language: createMonarchLanguageAuto(InterpolationSyntaxDollar)
|
| 1009 |
+
};
|
| 1010 |
+
var TagAutoInterpolationBracket = {
|
| 1011 |
+
conf: createLangConfigurationAuto(),
|
| 1012 |
+
language: createMonarchLanguageAuto(InterpolationSyntaxBracket)
|
| 1013 |
+
};
|
| 1014 |
+
export {
|
| 1015 |
+
TagAngleInterpolationBracket,
|
| 1016 |
+
TagAngleInterpolationDollar,
|
| 1017 |
+
TagAutoInterpolationBracket,
|
| 1018 |
+
TagAutoInterpolationDollar,
|
| 1019 |
+
TagBracketInterpolationBracket,
|
| 1020 |
+
TagBracketInterpolationDollar
|
| 1021 |
+
};
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/fsharp/fsharp.contribution.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export {}
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/fsharp/fsharp.contribution.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 8 |
+
|
| 9 |
+
// src/basic-languages/fsharp/fsharp.contribution.ts
|
| 10 |
+
import { registerLanguage } from "../_.contribution.js";
|
| 11 |
+
registerLanguage({
|
| 12 |
+
id: "fsharp",
|
| 13 |
+
extensions: [".fs", ".fsi", ".ml", ".mli", ".fsx", ".fsscript"],
|
| 14 |
+
aliases: ["F#", "FSharp", "fsharp"],
|
| 15 |
+
loader: () => {
|
| 16 |
+
if (false) {
|
| 17 |
+
return new Promise((resolve, reject) => {
|
| 18 |
+
__require(["vs/basic-languages/fsharp/fsharp"], resolve, reject);
|
| 19 |
+
});
|
| 20 |
+
} else {
|
| 21 |
+
return import("./fsharp.js");
|
| 22 |
+
}
|
| 23 |
+
}
|
| 24 |
+
});
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/fsharp/fsharp.js
ADDED
|
@@ -0,0 +1,227 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 8 |
+
|
| 9 |
+
// src/basic-languages/fsharp/fsharp.ts
|
| 10 |
+
var conf = {
|
| 11 |
+
comments: {
|
| 12 |
+
lineComment: "//",
|
| 13 |
+
blockComment: ["(*", "*)"]
|
| 14 |
+
},
|
| 15 |
+
brackets: [
|
| 16 |
+
["{", "}"],
|
| 17 |
+
["[", "]"],
|
| 18 |
+
["(", ")"]
|
| 19 |
+
],
|
| 20 |
+
autoClosingPairs: [
|
| 21 |
+
{ open: "{", close: "}" },
|
| 22 |
+
{ open: "[", close: "]" },
|
| 23 |
+
{ open: "(", close: ")" },
|
| 24 |
+
{ open: '"', close: '"' }
|
| 25 |
+
],
|
| 26 |
+
surroundingPairs: [
|
| 27 |
+
{ open: "{", close: "}" },
|
| 28 |
+
{ open: "[", close: "]" },
|
| 29 |
+
{ open: "(", close: ")" },
|
| 30 |
+
{ open: '"', close: '"' },
|
| 31 |
+
{ open: "'", close: "'" }
|
| 32 |
+
],
|
| 33 |
+
folding: {
|
| 34 |
+
markers: {
|
| 35 |
+
start: new RegExp("^\\s*//\\s*#region\\b|^\\s*\\(\\*\\s*#region(.*)\\*\\)"),
|
| 36 |
+
end: new RegExp("^\\s*//\\s*#endregion\\b|^\\s*\\(\\*\\s*#endregion\\s*\\*\\)")
|
| 37 |
+
}
|
| 38 |
+
}
|
| 39 |
+
};
|
| 40 |
+
var language = {
|
| 41 |
+
defaultToken: "",
|
| 42 |
+
tokenPostfix: ".fs",
|
| 43 |
+
keywords: [
|
| 44 |
+
"abstract",
|
| 45 |
+
"and",
|
| 46 |
+
"atomic",
|
| 47 |
+
"as",
|
| 48 |
+
"assert",
|
| 49 |
+
"asr",
|
| 50 |
+
"base",
|
| 51 |
+
"begin",
|
| 52 |
+
"break",
|
| 53 |
+
"checked",
|
| 54 |
+
"component",
|
| 55 |
+
"const",
|
| 56 |
+
"constraint",
|
| 57 |
+
"constructor",
|
| 58 |
+
"continue",
|
| 59 |
+
"class",
|
| 60 |
+
"default",
|
| 61 |
+
"delegate",
|
| 62 |
+
"do",
|
| 63 |
+
"done",
|
| 64 |
+
"downcast",
|
| 65 |
+
"downto",
|
| 66 |
+
"elif",
|
| 67 |
+
"else",
|
| 68 |
+
"end",
|
| 69 |
+
"exception",
|
| 70 |
+
"eager",
|
| 71 |
+
"event",
|
| 72 |
+
"external",
|
| 73 |
+
"extern",
|
| 74 |
+
"false",
|
| 75 |
+
"finally",
|
| 76 |
+
"for",
|
| 77 |
+
"fun",
|
| 78 |
+
"function",
|
| 79 |
+
"fixed",
|
| 80 |
+
"functor",
|
| 81 |
+
"global",
|
| 82 |
+
"if",
|
| 83 |
+
"in",
|
| 84 |
+
"include",
|
| 85 |
+
"inherit",
|
| 86 |
+
"inline",
|
| 87 |
+
"interface",
|
| 88 |
+
"internal",
|
| 89 |
+
"land",
|
| 90 |
+
"lor",
|
| 91 |
+
"lsl",
|
| 92 |
+
"lsr",
|
| 93 |
+
"lxor",
|
| 94 |
+
"lazy",
|
| 95 |
+
"let",
|
| 96 |
+
"match",
|
| 97 |
+
"member",
|
| 98 |
+
"mod",
|
| 99 |
+
"module",
|
| 100 |
+
"mutable",
|
| 101 |
+
"namespace",
|
| 102 |
+
"method",
|
| 103 |
+
"mixin",
|
| 104 |
+
"new",
|
| 105 |
+
"not",
|
| 106 |
+
"null",
|
| 107 |
+
"of",
|
| 108 |
+
"open",
|
| 109 |
+
"or",
|
| 110 |
+
"object",
|
| 111 |
+
"override",
|
| 112 |
+
"private",
|
| 113 |
+
"parallel",
|
| 114 |
+
"process",
|
| 115 |
+
"protected",
|
| 116 |
+
"pure",
|
| 117 |
+
"public",
|
| 118 |
+
"rec",
|
| 119 |
+
"return",
|
| 120 |
+
"static",
|
| 121 |
+
"sealed",
|
| 122 |
+
"struct",
|
| 123 |
+
"sig",
|
| 124 |
+
"then",
|
| 125 |
+
"to",
|
| 126 |
+
"true",
|
| 127 |
+
"tailcall",
|
| 128 |
+
"trait",
|
| 129 |
+
"try",
|
| 130 |
+
"type",
|
| 131 |
+
"upcast",
|
| 132 |
+
"use",
|
| 133 |
+
"val",
|
| 134 |
+
"void",
|
| 135 |
+
"virtual",
|
| 136 |
+
"volatile",
|
| 137 |
+
"when",
|
| 138 |
+
"while",
|
| 139 |
+
"with",
|
| 140 |
+
"yield"
|
| 141 |
+
],
|
| 142 |
+
// we include these common regular expressions
|
| 143 |
+
symbols: /[=><!~?:&|+\-*\^%;\.,\/]+/,
|
| 144 |
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
| 145 |
+
integersuffix: /[uU]?[yslnLI]?/,
|
| 146 |
+
floatsuffix: /[fFmM]?/,
|
| 147 |
+
// The main tokenizer for our languages
|
| 148 |
+
tokenizer: {
|
| 149 |
+
root: [
|
| 150 |
+
// identifiers and keywords
|
| 151 |
+
[
|
| 152 |
+
/[a-zA-Z_]\w*/,
|
| 153 |
+
{
|
| 154 |
+
cases: {
|
| 155 |
+
"@keywords": { token: "keyword.$0" },
|
| 156 |
+
"@default": "identifier"
|
| 157 |
+
}
|
| 158 |
+
}
|
| 159 |
+
],
|
| 160 |
+
// whitespace
|
| 161 |
+
{ include: "@whitespace" },
|
| 162 |
+
// [< attributes >].
|
| 163 |
+
[/\[<.*>\]/, "annotation"],
|
| 164 |
+
// Preprocessor directive
|
| 165 |
+
[/^#(if|else|endif)/, "keyword"],
|
| 166 |
+
// delimiters and operators
|
| 167 |
+
[/[{}()\[\]]/, "@brackets"],
|
| 168 |
+
[/[<>](?!@symbols)/, "@brackets"],
|
| 169 |
+
[/@symbols/, "delimiter"],
|
| 170 |
+
// numbers
|
| 171 |
+
[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/, "number.float"],
|
| 172 |
+
[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/, "number.float"],
|
| 173 |
+
[/0x[0-9a-fA-F]+LF/, "number.float"],
|
| 174 |
+
[/0x[0-9a-fA-F]+(@integersuffix)/, "number.hex"],
|
| 175 |
+
[/0b[0-1]+(@integersuffix)/, "number.bin"],
|
| 176 |
+
[/\d+(@integersuffix)/, "number"],
|
| 177 |
+
// delimiter: after number because of .\d floats
|
| 178 |
+
[/[;,.]/, "delimiter"],
|
| 179 |
+
// strings
|
| 180 |
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
| 181 |
+
// non-teminated string
|
| 182 |
+
[/"""/, "string", '@string."""'],
|
| 183 |
+
[/"/, "string", '@string."'],
|
| 184 |
+
// literal string
|
| 185 |
+
[/\@"/, { token: "string.quote", next: "@litstring" }],
|
| 186 |
+
// characters
|
| 187 |
+
[/'[^\\']'B?/, "string"],
|
| 188 |
+
[/(')(@escapes)(')/, ["string", "string.escape", "string"]],
|
| 189 |
+
[/'/, "string.invalid"]
|
| 190 |
+
],
|
| 191 |
+
whitespace: [
|
| 192 |
+
[/[ \t\r\n]+/, ""],
|
| 193 |
+
[/\(\*(?!\))/, "comment", "@comment"],
|
| 194 |
+
[/\/\/.*$/, "comment"]
|
| 195 |
+
],
|
| 196 |
+
comment: [
|
| 197 |
+
[/[^*(]+/, "comment"],
|
| 198 |
+
[/\*\)/, "comment", "@pop"],
|
| 199 |
+
[/\*/, "comment"],
|
| 200 |
+
[/\(\*\)/, "comment"],
|
| 201 |
+
[/\(/, "comment"]
|
| 202 |
+
],
|
| 203 |
+
string: [
|
| 204 |
+
[/[^\\"]+/, "string"],
|
| 205 |
+
[/@escapes/, "string.escape"],
|
| 206 |
+
[/\\./, "string.escape.invalid"],
|
| 207 |
+
[
|
| 208 |
+
/("""|"B?)/,
|
| 209 |
+
{
|
| 210 |
+
cases: {
|
| 211 |
+
"$#==$S2": { token: "string", next: "@pop" },
|
| 212 |
+
"@default": "string"
|
| 213 |
+
}
|
| 214 |
+
}
|
| 215 |
+
]
|
| 216 |
+
],
|
| 217 |
+
litstring: [
|
| 218 |
+
[/[^"]+/, "string"],
|
| 219 |
+
[/""/, "string.escape"],
|
| 220 |
+
[/"/, { token: "string.quote", next: "@pop" }]
|
| 221 |
+
]
|
| 222 |
+
}
|
| 223 |
+
};
|
| 224 |
+
export {
|
| 225 |
+
conf,
|
| 226 |
+
language
|
| 227 |
+
};
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/go/go.contribution.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export {}
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/go/go.contribution.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 8 |
+
|
| 9 |
+
// src/basic-languages/go/go.contribution.ts
|
| 10 |
+
import { registerLanguage } from "../_.contribution.js";
|
| 11 |
+
registerLanguage({
|
| 12 |
+
id: "go",
|
| 13 |
+
extensions: [".go"],
|
| 14 |
+
aliases: ["Go"],
|
| 15 |
+
loader: () => {
|
| 16 |
+
if (false) {
|
| 17 |
+
return new Promise((resolve, reject) => {
|
| 18 |
+
__require(["vs/basic-languages/go/go"], resolve, reject);
|
| 19 |
+
});
|
| 20 |
+
} else {
|
| 21 |
+
return import("./go.js");
|
| 22 |
+
}
|
| 23 |
+
}
|
| 24 |
+
});
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/go/go.js
ADDED
|
@@ -0,0 +1,228 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 8 |
+
|
| 9 |
+
// src/basic-languages/go/go.ts
|
| 10 |
+
var conf = {
|
| 11 |
+
comments: {
|
| 12 |
+
lineComment: "//",
|
| 13 |
+
blockComment: ["/*", "*/"]
|
| 14 |
+
},
|
| 15 |
+
brackets: [
|
| 16 |
+
["{", "}"],
|
| 17 |
+
["[", "]"],
|
| 18 |
+
["(", ")"]
|
| 19 |
+
],
|
| 20 |
+
autoClosingPairs: [
|
| 21 |
+
{ open: "{", close: "}" },
|
| 22 |
+
{ open: "[", close: "]" },
|
| 23 |
+
{ open: "(", close: ")" },
|
| 24 |
+
{ open: "`", close: "`", notIn: ["string"] },
|
| 25 |
+
{ open: '"', close: '"', notIn: ["string"] },
|
| 26 |
+
{ open: "'", close: "'", notIn: ["string", "comment"] }
|
| 27 |
+
],
|
| 28 |
+
surroundingPairs: [
|
| 29 |
+
{ open: "{", close: "}" },
|
| 30 |
+
{ open: "[", close: "]" },
|
| 31 |
+
{ open: "(", close: ")" },
|
| 32 |
+
{ open: "`", close: "`" },
|
| 33 |
+
{ open: '"', close: '"' },
|
| 34 |
+
{ open: "'", close: "'" }
|
| 35 |
+
]
|
| 36 |
+
};
|
| 37 |
+
var language = {
|
| 38 |
+
defaultToken: "",
|
| 39 |
+
tokenPostfix: ".go",
|
| 40 |
+
keywords: [
|
| 41 |
+
"break",
|
| 42 |
+
"case",
|
| 43 |
+
"chan",
|
| 44 |
+
"const",
|
| 45 |
+
"continue",
|
| 46 |
+
"default",
|
| 47 |
+
"defer",
|
| 48 |
+
"else",
|
| 49 |
+
"fallthrough",
|
| 50 |
+
"for",
|
| 51 |
+
"func",
|
| 52 |
+
"go",
|
| 53 |
+
"goto",
|
| 54 |
+
"if",
|
| 55 |
+
"import",
|
| 56 |
+
"interface",
|
| 57 |
+
"map",
|
| 58 |
+
"package",
|
| 59 |
+
"range",
|
| 60 |
+
"return",
|
| 61 |
+
"select",
|
| 62 |
+
"struct",
|
| 63 |
+
"switch",
|
| 64 |
+
"type",
|
| 65 |
+
"var",
|
| 66 |
+
"bool",
|
| 67 |
+
"true",
|
| 68 |
+
"false",
|
| 69 |
+
"uint8",
|
| 70 |
+
"uint16",
|
| 71 |
+
"uint32",
|
| 72 |
+
"uint64",
|
| 73 |
+
"int8",
|
| 74 |
+
"int16",
|
| 75 |
+
"int32",
|
| 76 |
+
"int64",
|
| 77 |
+
"float32",
|
| 78 |
+
"float64",
|
| 79 |
+
"complex64",
|
| 80 |
+
"complex128",
|
| 81 |
+
"byte",
|
| 82 |
+
"rune",
|
| 83 |
+
"uint",
|
| 84 |
+
"int",
|
| 85 |
+
"uintptr",
|
| 86 |
+
"string",
|
| 87 |
+
"nil"
|
| 88 |
+
],
|
| 89 |
+
operators: [
|
| 90 |
+
"+",
|
| 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 |
+
"==",
|
| 118 |
+
"<",
|
| 119 |
+
">",
|
| 120 |
+
"=",
|
| 121 |
+
"!",
|
| 122 |
+
"!=",
|
| 123 |
+
"<=",
|
| 124 |
+
">=",
|
| 125 |
+
":=",
|
| 126 |
+
"...",
|
| 127 |
+
"(",
|
| 128 |
+
")",
|
| 129 |
+
"",
|
| 130 |
+
"]",
|
| 131 |
+
"{",
|
| 132 |
+
"}",
|
| 133 |
+
",",
|
| 134 |
+
";",
|
| 135 |
+
".",
|
| 136 |
+
":"
|
| 137 |
+
],
|
| 138 |
+
// we include these common regular expressions
|
| 139 |
+
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
| 140 |
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
| 141 |
+
// The main tokenizer for our languages
|
| 142 |
+
tokenizer: {
|
| 143 |
+
root: [
|
| 144 |
+
// identifiers and keywords
|
| 145 |
+
[
|
| 146 |
+
/[a-zA-Z_]\w*/,
|
| 147 |
+
{
|
| 148 |
+
cases: {
|
| 149 |
+
"@keywords": { token: "keyword.$0" },
|
| 150 |
+
"@default": "identifier"
|
| 151 |
+
}
|
| 152 |
+
}
|
| 153 |
+
],
|
| 154 |
+
// whitespace
|
| 155 |
+
{ include: "@whitespace" },
|
| 156 |
+
// [[ attributes ]].
|
| 157 |
+
[/\[\[.*\]\]/, "annotation"],
|
| 158 |
+
// Preprocessor directive
|
| 159 |
+
[/^\s*#\w+/, "keyword"],
|
| 160 |
+
// delimiters and operators
|
| 161 |
+
[/[{}()\[\]]/, "@brackets"],
|
| 162 |
+
[/[<>](?!@symbols)/, "@brackets"],
|
| 163 |
+
[
|
| 164 |
+
/@symbols/,
|
| 165 |
+
{
|
| 166 |
+
cases: {
|
| 167 |
+
"@operators": "delimiter",
|
| 168 |
+
"@default": ""
|
| 169 |
+
}
|
| 170 |
+
}
|
| 171 |
+
],
|
| 172 |
+
// numbers
|
| 173 |
+
[/\d*\d+[eE]([\-+]?\d+)?/, "number.float"],
|
| 174 |
+
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
| 175 |
+
[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/, "number.hex"],
|
| 176 |
+
[/0[0-7']*[0-7]/, "number.octal"],
|
| 177 |
+
[/0[bB][0-1']*[0-1]/, "number.binary"],
|
| 178 |
+
[/\d[\d']*/, "number"],
|
| 179 |
+
[/\d/, "number"],
|
| 180 |
+
// delimiter: after number because of .\d floats
|
| 181 |
+
[/[;,.]/, "delimiter"],
|
| 182 |
+
// strings
|
| 183 |
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
| 184 |
+
// non-teminated string
|
| 185 |
+
[/"/, "string", "@string"],
|
| 186 |
+
[/`/, "string", "@rawstring"],
|
| 187 |
+
// characters
|
| 188 |
+
[/'[^\\']'/, "string"],
|
| 189 |
+
[/(')(@escapes)(')/, ["string", "string.escape", "string"]],
|
| 190 |
+
[/'/, "string.invalid"]
|
| 191 |
+
],
|
| 192 |
+
whitespace: [
|
| 193 |
+
[/[ \t\r\n]+/, ""],
|
| 194 |
+
[/\/\*\*(?!\/)/, "comment.doc", "@doccomment"],
|
| 195 |
+
[/\/\*/, "comment", "@comment"],
|
| 196 |
+
[/\/\/.*$/, "comment"]
|
| 197 |
+
],
|
| 198 |
+
comment: [
|
| 199 |
+
[/[^\/*]+/, "comment"],
|
| 200 |
+
// [/\/\*/, 'comment', '@push' ], // nested comment not allowed :-(
|
| 201 |
+
// [/\/\*/, 'comment.invalid' ], // this breaks block comments in the shape of /* //*/
|
| 202 |
+
[/\*\//, "comment", "@pop"],
|
| 203 |
+
[/[\/*]/, "comment"]
|
| 204 |
+
],
|
| 205 |
+
//Identical copy of comment above, except for the addition of .doc
|
| 206 |
+
doccomment: [
|
| 207 |
+
[/[^\/*]+/, "comment.doc"],
|
| 208 |
+
// [/\/\*/, 'comment.doc', '@push' ], // nested comment not allowed :-(
|
| 209 |
+
[/\/\*/, "comment.doc.invalid"],
|
| 210 |
+
[/\*\//, "comment.doc", "@pop"],
|
| 211 |
+
[/[\/*]/, "comment.doc"]
|
| 212 |
+
],
|
| 213 |
+
string: [
|
| 214 |
+
[/[^\\"]+/, "string"],
|
| 215 |
+
[/@escapes/, "string.escape"],
|
| 216 |
+
[/\\./, "string.escape.invalid"],
|
| 217 |
+
[/"/, "string", "@pop"]
|
| 218 |
+
],
|
| 219 |
+
rawstring: [
|
| 220 |
+
[/[^\`]/, "string"],
|
| 221 |
+
[/`/, "string", "@pop"]
|
| 222 |
+
]
|
| 223 |
+
}
|
| 224 |
+
};
|
| 225 |
+
export {
|
| 226 |
+
conf,
|
| 227 |
+
language
|
| 228 |
+
};
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/graphql/graphql.contribution.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export {}
|
platform/dbops/archive/databases_old/data/home/x/india-h200-1-workspace/claude-code-router/ui/node_modules/monaco-editor/esm/vs/basic-languages/graphql/graphql.contribution.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 8 |
+
|
| 9 |
+
// src/basic-languages/graphql/graphql.contribution.ts
|
| 10 |
+
import { registerLanguage } from "../_.contribution.js";
|
| 11 |
+
registerLanguage({
|
| 12 |
+
id: "graphql",
|
| 13 |
+
extensions: [".graphql", ".gql"],
|
| 14 |
+
aliases: ["GraphQL", "graphql", "gql"],
|
| 15 |
+
mimetypes: ["application/graphql"],
|
| 16 |
+
loader: () => {
|
| 17 |
+
if (false) {
|
| 18 |
+
return new Promise((resolve, reject) => {
|
| 19 |
+
__require(["vs/basic-languages/graphql/graphql"], resolve, reject);
|
| 20 |
+
});
|
| 21 |
+
} else {
|
| 22 |
+
return import("./graphql.js");
|
| 23 |
+
}
|
| 24 |
+
}
|
| 25 |
+
});
|