act-plus 1.1.22 → 1.1.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/act-plus.js +6 -5
  2. package/act-plus.umd.cjs +94 -1722
  3. package/lib/{configBtns-c4e55eb0.js → configBtns-15591aad.js} +51 -50
  4. package/lib/{configFileds-b79642bc.js → configFileds-a045430e.js} +5 -4
  5. package/lib/{configTable-21f37060.js → configTable-0285d3f8.js} +32 -31
  6. package/lib/{dialogAddField-535d4a6c.js → dialogAddField-f474439d.js} +5 -4
  7. package/lib/{dialogConfigBtn-f4b70a91.js → dialogConfigBtn-c97ccee8.js} +5 -4
  8. package/lib/{dialogSiteComponentsParams-a99a4d71.js → dialogSiteComponentsParams-e2c5b8dd.js} +1 -1
  9. package/lib/{index-cb908890.js → index-36c9cd81.js} +15 -14
  10. package/lib/{index-f2795fa7.js → index-3e20553c.js} +11 -10
  11. package/lib/{index-79e6c123.js → index-7de949f6.js} +4 -3
  12. package/lib/{index-742c1da3.js → index-85deefc8.js} +5 -4
  13. package/lib/index-d0c3be37.js +68438 -0
  14. package/lib/{index-14906725.js → index-f58e1535.js} +31 -30
  15. package/package.json +1 -1
  16. package/style.css +1 -1
  17. package/assets/css.worker-1af1972f.js +0 -84
  18. package/assets/editor.worker-df55e1ff.js +0 -8
  19. package/assets/html.worker-38c267f1.js +0 -456
  20. package/assets/json.worker-bf861c27.js +0 -39
  21. package/assets/ts.worker-e151483b.js +0 -33972
  22. package/lib/abap-1354785f.js +0 -1314
  23. package/lib/apex-279d4f27.js +0 -315
  24. package/lib/azcli-ba812c55.js +0 -74
  25. package/lib/bat-4d77495d.js +0 -95
  26. package/lib/bicep-7b240724.js +0 -108
  27. package/lib/cameligo-5d2daeb8.js +0 -168
  28. package/lib/clojure-b7ea12a3.js +0 -754
  29. package/lib/coffee-1a8cfbf4.js +0 -228
  30. package/lib/cpp-642b10c4.js +0 -387
  31. package/lib/csharp-d987ddad.js +0 -320
  32. package/lib/csp-96407af0.js +0 -57
  33. package/lib/css-5dd354ac.js +0 -186
  34. package/lib/cssMode-049c1acb.js +0 -1448
  35. package/lib/cypher-11e5a4b6.js +0 -262
  36. package/lib/dart-5d209f63.js +0 -270
  37. package/lib/dockerfile-8739cff7.js +0 -132
  38. package/lib/ecl-a20c5155.js +0 -454
  39. package/lib/elixir-8b028584.js +0 -467
  40. package/lib/flow9-0dea2e73.js +0 -141
  41. package/lib/freemarker2-c93dec09.js +0 -646
  42. package/lib/fsharp-49a70fad.js +0 -210
  43. package/lib/go-46e3b371.js +0 -208
  44. package/lib/graphql-51a577e5.js +0 -141
  45. package/lib/handlebars-8a7428d8.js +0 -394
  46. package/lib/hcl-56b85754.js +0 -177
  47. package/lib/html-2fad443c.js +0 -284
  48. package/lib/htmlMode-3c13e1c6.js +0 -1458
  49. package/lib/index-a2634eef.js +0 -162522
  50. package/lib/ini-1d58d82f.js +0 -68
  51. package/lib/java-cd017f60.js +0 -221
  52. package/lib/javascript-2ec13b45.js +0 -78
  53. package/lib/jsonMode-33ed8d99.js +0 -1869
  54. package/lib/julia-a0caf483.js +0 -496
  55. package/lib/kotlin-c6e52a56.js +0 -245
  56. package/lib/less-718543b4.js +0 -168
  57. package/lib/lexon-5e6e7a44.js +0 -151
  58. package/lib/liquid-40ee460a.js +0 -241
  59. package/lib/lua-f159160b.js +0 -157
  60. package/lib/m3-aadaf771.js +0 -210
  61. package/lib/markdown-9b448c46.js +0 -202
  62. package/lib/mips-161e49ce.js +0 -194
  63. package/lib/msdax-f65cb1e6.js +0 -377
  64. package/lib/mysql-24549dd1.js +0 -875
  65. package/lib/objective-c-e129a5ca.js +0 -188
  66. package/lib/pascal-4ccdf5ce.js +0 -245
  67. package/lib/pascaligo-a9603dcd.js +0 -158
  68. package/lib/perl-ba1fb97a.js +0 -599
  69. package/lib/pgsql-89978310.js +0 -843
  70. package/lib/php-987b9d87.js +0 -471
  71. package/lib/pla-96c2695d.js +0 -131
  72. package/lib/postiats-7b52ebac.js +0 -544
  73. package/lib/powerquery-8954ec26.js +0 -890
  74. package/lib/powershell-f00d0274.js +0 -233
  75. package/lib/protobuf-3eb85f80.js +0 -422
  76. package/lib/pug-6fab415a.js +0 -393
  77. package/lib/python-852dc2c1.js +0 -262
  78. package/lib/qsharp-4792f872.js +0 -282
  79. package/lib/r-630f5d6b.js +0 -245
  80. package/lib/razor-c24d586d.js +0 -515
  81. package/lib/redis-276b8288.js +0 -298
  82. package/lib/redshift-520a7359.js +0 -806
  83. package/lib/restructuredtext-4676a3fc.js +0 -162
  84. package/lib/ruby-764137cd.js +0 -444
  85. package/lib/rust-97f8f6e1.js +0 -337
  86. package/lib/sb-8c22f14c.js +0 -110
  87. package/lib/scala-c68c650c.js +0 -353
  88. package/lib/scheme-e6a52cb0.js +0 -114
  89. package/lib/scss-45104c77.js +0 -244
  90. package/lib/shell-09452d42.js +0 -224
  91. package/lib/solidity-d4979008.js +0 -1351
  92. package/lib/sophia-21995caf.js +0 -190
  93. package/lib/sparql-5088743c.js +0 -193
  94. package/lib/sql-63ec8e76.js +0 -818
  95. package/lib/st-fa9ab362.js +0 -414
  96. package/lib/swift-abdf1835.js +0 -315
  97. package/lib/systemverilog-a4f858ed.js +0 -556
  98. package/lib/tcl-8adf937f.js +0 -232
  99. package/lib/tsMode-6d6244be.js +0 -792
  100. package/lib/twig-404eb73e.js +0 -323
  101. package/lib/typescript-807ce4d9.js +0 -330
  102. package/lib/vb-e21e8153.js +0 -364
  103. package/lib/xml-cc91b485.js +0 -98
  104. package/lib/yaml-f2de88bb.js +0 -187
@@ -1,241 +0,0 @@
1
- import { m as d } from "./index-a2634eef.js";
2
- import "vue";
3
- import "vue-router";
4
- import "element-plus";
5
- /*!-----------------------------------------------------------------------------
6
- * Copyright (c) Microsoft Corporation. All rights reserved.
7
- * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
8
- * Released under the MIT license
9
- * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
10
- *-----------------------------------------------------------------------------*/
11
- var s = Object.defineProperty, c = Object.getOwnPropertyDescriptor, u = Object.getOwnPropertyNames, m = Object.prototype.hasOwnProperty, a = (t, e, r, n) => {
12
- if (e && typeof e == "object" || typeof e == "function")
13
- for (let i of u(e))
14
- !m.call(t, i) && i !== r && s(t, i, { get: () => e[i], enumerable: !(n = c(e, i)) || n.enumerable });
15
- return t;
16
- }, p = (t, e, r) => (a(t, e, "default"), r && a(r, e, "default")), o = {};
17
- p(o, d);
18
- var l = [
19
- "area",
20
- "base",
21
- "br",
22
- "col",
23
- "embed",
24
- "hr",
25
- "img",
26
- "input",
27
- "keygen",
28
- "link",
29
- "menuitem",
30
- "meta",
31
- "param",
32
- "source",
33
- "track",
34
- "wbr"
35
- ], f = {
36
- wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,
37
- brackets: [
38
- ["<!--", "-->"],
39
- ["<", ">"],
40
- ["{{", "}}"],
41
- ["{%", "%}"],
42
- ["{", "}"],
43
- ["(", ")"]
44
- ],
45
- autoClosingPairs: [
46
- { open: "{", close: "}" },
47
- { open: "%", close: "%" },
48
- { open: "[", close: "]" },
49
- { open: "(", close: ")" },
50
- { open: '"', close: '"' },
51
- { open: "'", close: "'" }
52
- ],
53
- surroundingPairs: [
54
- { open: "<", close: ">" },
55
- { open: '"', close: '"' },
56
- { open: "'", close: "'" }
57
- ],
58
- onEnterRules: [
59
- {
60
- beforeText: new RegExp(`<(?!(?:${l.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`, "i"),
61
- afterText: /^<\/(\w[\w\d]*)\s*>$/i,
62
- action: {
63
- indentAction: o.languages.IndentAction.IndentOutdent
64
- }
65
- },
66
- {
67
- beforeText: new RegExp(`<(?!(?:${l.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`, "i"),
68
- action: { indentAction: o.languages.IndentAction.Indent }
69
- }
70
- ]
71
- }, h = {
72
- defaultToken: "",
73
- tokenPostfix: "",
74
- builtinTags: [
75
- "if",
76
- "else",
77
- "elseif",
78
- "endif",
79
- "render",
80
- "assign",
81
- "capture",
82
- "endcapture",
83
- "case",
84
- "endcase",
85
- "comment",
86
- "endcomment",
87
- "cycle",
88
- "decrement",
89
- "for",
90
- "endfor",
91
- "include",
92
- "increment",
93
- "layout",
94
- "raw",
95
- "endraw",
96
- "render",
97
- "tablerow",
98
- "endtablerow",
99
- "unless",
100
- "endunless"
101
- ],
102
- builtinFilters: [
103
- "abs",
104
- "append",
105
- "at_least",
106
- "at_most",
107
- "capitalize",
108
- "ceil",
109
- "compact",
110
- "date",
111
- "default",
112
- "divided_by",
113
- "downcase",
114
- "escape",
115
- "escape_once",
116
- "first",
117
- "floor",
118
- "join",
119
- "json",
120
- "last",
121
- "lstrip",
122
- "map",
123
- "minus",
124
- "modulo",
125
- "newline_to_br",
126
- "plus",
127
- "prepend",
128
- "remove",
129
- "remove_first",
130
- "replace",
131
- "replace_first",
132
- "reverse",
133
- "round",
134
- "rstrip",
135
- "size",
136
- "slice",
137
- "sort",
138
- "sort_natural",
139
- "split",
140
- "strip",
141
- "strip_html",
142
- "strip_newlines",
143
- "times",
144
- "truncate",
145
- "truncatewords",
146
- "uniq",
147
- "upcase",
148
- "url_decode",
149
- "url_encode",
150
- "where"
151
- ],
152
- constants: ["true", "false"],
153
- operators: ["==", "!=", ">", "<", ">=", "<="],
154
- symbol: /[=><!]+/,
155
- identifier: /[a-zA-Z_][\w]*/,
156
- tokenizer: {
157
- root: [
158
- [/\{\%\s*comment\s*\%\}/, "comment.start.liquid", "@comment"],
159
- [/\{\{/, { token: "@rematch", switchTo: "@liquidState.root" }],
160
- [/\{\%/, { token: "@rematch", switchTo: "@liquidState.root" }],
161
- [/(<)([\w\-]+)(\/>)/, ["delimiter.html", "tag.html", "delimiter.html"]],
162
- [/(<)([:\w]+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
163
- [/(<\/)([\w\-]+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
164
- [/</, "delimiter.html"],
165
- [/\{/, "delimiter.html"],
166
- [/[^<{]+/]
167
- ],
168
- comment: [
169
- [/\{\%\s*endcomment\s*\%\}/, "comment.end.liquid", "@pop"],
170
- [/./, "comment.content.liquid"]
171
- ],
172
- otherTag: [
173
- [
174
- /\{\{/,
175
- {
176
- token: "@rematch",
177
- switchTo: "@liquidState.otherTag"
178
- }
179
- ],
180
- [
181
- /\{\%/,
182
- {
183
- token: "@rematch",
184
- switchTo: "@liquidState.otherTag"
185
- }
186
- ],
187
- [/\/?>/, "delimiter.html", "@pop"],
188
- [/"([^"]*)"/, "attribute.value"],
189
- [/'([^']*)'/, "attribute.value"],
190
- [/[\w\-]+/, "attribute.name"],
191
- [/=/, "delimiter"],
192
- [/[ \t\r\n]+/]
193
- ],
194
- liquidState: [
195
- [/\{\{/, "delimiter.output.liquid"],
196
- [/\}\}/, { token: "delimiter.output.liquid", switchTo: "@$S2.$S3" }],
197
- [/\{\%/, "delimiter.tag.liquid"],
198
- [/raw\s*\%\}/, "delimiter.tag.liquid", "@liquidRaw"],
199
- [/\%\}/, { token: "delimiter.tag.liquid", switchTo: "@$S2.$S3" }],
200
- { include: "liquidRoot" }
201
- ],
202
- liquidRaw: [
203
- [/^(?!\{\%\s*endraw\s*\%\}).+/],
204
- [/\{\%/, "delimiter.tag.liquid"],
205
- [/@identifier/],
206
- [/\%\}/, { token: "delimiter.tag.liquid", next: "@root" }]
207
- ],
208
- liquidRoot: [
209
- [/\d+(\.\d+)?/, "number.liquid"],
210
- [/"[^"]*"/, "string.liquid"],
211
- [/'[^']*'/, "string.liquid"],
212
- [/\s+/],
213
- [
214
- /@symbol/,
215
- {
216
- cases: {
217
- "@operators": "operator.liquid",
218
- "@default": ""
219
- }
220
- }
221
- ],
222
- [/\./],
223
- [
224
- /@identifier/,
225
- {
226
- cases: {
227
- "@constants": "keyword.liquid",
228
- "@builtinFilters": "predefined.liquid",
229
- "@builtinTags": "predefined.liquid",
230
- "@default": "variable.liquid"
231
- }
232
- }
233
- ],
234
- [/[^}|%]/, "variable.liquid"]
235
- ]
236
- }
237
- };
238
- export {
239
- f as conf,
240
- h as language
241
- };
@@ -1,157 +0,0 @@
1
- /*!-----------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
4
- * Released under the MIT license
5
- * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
- *-----------------------------------------------------------------------------*/
7
- var e = {
8
- comments: {
9
- lineComment: "--",
10
- blockComment: ["--[[", "]]"]
11
- },
12
- brackets: [
13
- ["{", "}"],
14
- ["[", "]"],
15
- ["(", ")"]
16
- ],
17
- autoClosingPairs: [
18
- { open: "{", close: "}" },
19
- { open: "[", close: "]" },
20
- { open: "(", close: ")" },
21
- { open: '"', close: '"' },
22
- { open: "'", close: "'" }
23
- ],
24
- surroundingPairs: [
25
- { open: "{", close: "}" },
26
- { open: "[", close: "]" },
27
- { open: "(", close: ")" },
28
- { open: '"', close: '"' },
29
- { open: "'", close: "'" }
30
- ]
31
- }, o = {
32
- defaultToken: "",
33
- tokenPostfix: ".lua",
34
- keywords: [
35
- "and",
36
- "break",
37
- "do",
38
- "else",
39
- "elseif",
40
- "end",
41
- "false",
42
- "for",
43
- "function",
44
- "goto",
45
- "if",
46
- "in",
47
- "local",
48
- "nil",
49
- "not",
50
- "or",
51
- "repeat",
52
- "return",
53
- "then",
54
- "true",
55
- "until",
56
- "while"
57
- ],
58
- brackets: [
59
- { token: "delimiter.bracket", open: "{", close: "}" },
60
- { token: "delimiter.array", open: "[", close: "]" },
61
- { token: "delimiter.parenthesis", open: "(", close: ")" }
62
- ],
63
- operators: [
64
- "+",
65
- "-",
66
- "*",
67
- "/",
68
- "%",
69
- "^",
70
- "#",
71
- "==",
72
- "~=",
73
- "<=",
74
- ">=",
75
- "<",
76
- ">",
77
- "=",
78
- ";",
79
- ":",
80
- ",",
81
- ".",
82
- "..",
83
- "..."
84
- ],
85
- symbols: /[=><!~?:&|+\-*\/\^%]+/,
86
- escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
87
- tokenizer: {
88
- root: [
89
- [
90
- /[a-zA-Z_]\w*/,
91
- {
92
- cases: {
93
- "@keywords": { token: "keyword.$0" },
94
- "@default": "identifier"
95
- }
96
- }
97
- ],
98
- { include: "@whitespace" },
99
- [/(,)(\s*)([a-zA-Z_]\w*)(\s*)(:)(?!:)/, ["delimiter", "", "key", "", "delimiter"]],
100
- [/({)(\s*)([a-zA-Z_]\w*)(\s*)(:)(?!:)/, ["@brackets", "", "key", "", "delimiter"]],
101
- [/[{}()\[\]]/, "@brackets"],
102
- [
103
- /@symbols/,
104
- {
105
- cases: {
106
- "@operators": "delimiter",
107
- "@default": ""
108
- }
109
- }
110
- ],
111
- [/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
112
- [/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/, "number.hex"],
113
- [/\d+?/, "number"],
114
- [/[;,.]/, "delimiter"],
115
- [/"([^"\\]|\\.)*$/, "string.invalid"],
116
- [/'([^'\\]|\\.)*$/, "string.invalid"],
117
- [/"/, "string", '@string."'],
118
- [/'/, "string", "@string.'"]
119
- ],
120
- whitespace: [
121
- [/[ \t\r\n]+/, ""],
122
- [/--\[([=]*)\[/, "comment", "@comment.$1"],
123
- [/--.*$/, "comment"]
124
- ],
125
- comment: [
126
- [/[^\]]+/, "comment"],
127
- [
128
- /\]([=]*)\]/,
129
- {
130
- cases: {
131
- "$1==$S2": { token: "comment", next: "@pop" },
132
- "@default": "comment"
133
- }
134
- }
135
- ],
136
- [/./, "comment"]
137
- ],
138
- string: [
139
- [/[^\\"']+/, "string"],
140
- [/@escapes/, "string.escape"],
141
- [/\\./, "string.escape.invalid"],
142
- [
143
- /["']/,
144
- {
145
- cases: {
146
- "$#==$S2": { token: "string", next: "@pop" },
147
- "@default": "string"
148
- }
149
- }
150
- ]
151
- ]
152
- }
153
- };
154
- export {
155
- e as conf,
156
- o as language
157
- };
@@ -1,210 +0,0 @@
1
- /*!-----------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
4
- * Released under the MIT license
5
- * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
- *-----------------------------------------------------------------------------*/
7
- var e = {
8
- comments: {
9
- blockComment: ["(*", "*)"]
10
- },
11
- brackets: [
12
- ["{", "}"],
13
- ["[", "]"],
14
- ["(", ")"]
15
- ],
16
- autoClosingPairs: [
17
- { open: "[", close: "]" },
18
- { open: "{", close: "}" },
19
- { open: "(", close: ")" },
20
- { open: "(*", close: "*)" },
21
- { open: "<*", close: "*>" },
22
- { open: "'", close: "'", notIn: ["string", "comment"] },
23
- { open: '"', close: '"', notIn: ["string", "comment"] }
24
- ]
25
- }, o = {
26
- defaultToken: "",
27
- tokenPostfix: ".m3",
28
- brackets: [
29
- { token: "delimiter.curly", open: "{", close: "}" },
30
- { token: "delimiter.parenthesis", open: "(", close: ")" },
31
- { token: "delimiter.square", open: "[", close: "]" }
32
- ],
33
- keywords: [
34
- "AND",
35
- "ANY",
36
- "ARRAY",
37
- "AS",
38
- "BEGIN",
39
- "BITS",
40
- "BRANDED",
41
- "BY",
42
- "CASE",
43
- "CONST",
44
- "DIV",
45
- "DO",
46
- "ELSE",
47
- "ELSIF",
48
- "END",
49
- "EVAL",
50
- "EXCEPT",
51
- "EXCEPTION",
52
- "EXIT",
53
- "EXPORTS",
54
- "FINALLY",
55
- "FOR",
56
- "FROM",
57
- "GENERIC",
58
- "IF",
59
- "IMPORT",
60
- "IN",
61
- "INTERFACE",
62
- "LOCK",
63
- "LOOP",
64
- "METHODS",
65
- "MOD",
66
- "MODULE",
67
- "NOT",
68
- "OBJECT",
69
- "OF",
70
- "OR",
71
- "OVERRIDES",
72
- "PROCEDURE",
73
- "RAISE",
74
- "RAISES",
75
- "READONLY",
76
- "RECORD",
77
- "REF",
78
- "REPEAT",
79
- "RETURN",
80
- "REVEAL",
81
- "SET",
82
- "THEN",
83
- "TO",
84
- "TRY",
85
- "TYPE",
86
- "TYPECASE",
87
- "UNSAFE",
88
- "UNTIL",
89
- "UNTRACED",
90
- "VALUE",
91
- "VAR",
92
- "WHILE",
93
- "WITH"
94
- ],
95
- reservedConstNames: [
96
- "ABS",
97
- "ADR",
98
- "ADRSIZE",
99
- "BITSIZE",
100
- "BYTESIZE",
101
- "CEILING",
102
- "DEC",
103
- "DISPOSE",
104
- "FALSE",
105
- "FIRST",
106
- "FLOAT",
107
- "FLOOR",
108
- "INC",
109
- "ISTYPE",
110
- "LAST",
111
- "LOOPHOLE",
112
- "MAX",
113
- "MIN",
114
- "NARROW",
115
- "NEW",
116
- "NIL",
117
- "NUMBER",
118
- "ORD",
119
- "ROUND",
120
- "SUBARRAY",
121
- "TRUE",
122
- "TRUNC",
123
- "TYPECODE",
124
- "VAL"
125
- ],
126
- reservedTypeNames: [
127
- "ADDRESS",
128
- "ANY",
129
- "BOOLEAN",
130
- "CARDINAL",
131
- "CHAR",
132
- "EXTENDED",
133
- "INTEGER",
134
- "LONGCARD",
135
- "LONGINT",
136
- "LONGREAL",
137
- "MUTEX",
138
- "NULL",
139
- "REAL",
140
- "REFANY",
141
- "ROOT",
142
- "TEXT"
143
- ],
144
- operators: ["+", "-", "*", "/", "&", "^", "."],
145
- relations: ["=", "#", "<", "<=", ">", ">=", "<:", ":"],
146
- delimiters: ["|", "..", "=>", ",", ";", ":="],
147
- symbols: /[>=<#.,:;+\-*/&^]+/,
148
- escapes: /\\(?:[\\fnrt"']|[0-7]{3})/,
149
- tokenizer: {
150
- root: [
151
- [/_\w*/, "invalid"],
152
- [
153
- /[a-zA-Z][a-zA-Z0-9_]*/,
154
- {
155
- cases: {
156
- "@keywords": { token: "keyword.$0" },
157
- "@reservedConstNames": { token: "constant.reserved.$0" },
158
- "@reservedTypeNames": { token: "type.reserved.$0" },
159
- "@default": "identifier"
160
- }
161
- }
162
- ],
163
- { include: "@whitespace" },
164
- [/[{}()\[\]]/, "@brackets"],
165
- [/[0-9]+\.[0-9]+(?:[DdEeXx][\+\-]?[0-9]+)?/, "number.float"],
166
- [/[0-9]+(?:\_[0-9a-fA-F]+)?L?/, "number"],
167
- [
168
- /@symbols/,
169
- {
170
- cases: {
171
- "@operators": "operators",
172
- "@relations": "operators",
173
- "@delimiters": "delimiter",
174
- "@default": "invalid"
175
- }
176
- }
177
- ],
178
- [/'[^\\']'/, "string.char"],
179
- [/(')(@escapes)(')/, ["string.char", "string.escape", "string.char"]],
180
- [/'/, "invalid"],
181
- [/"([^"\\]|\\.)*$/, "invalid"],
182
- [/"/, "string.text", "@text"]
183
- ],
184
- text: [
185
- [/[^\\"]+/, "string.text"],
186
- [/@escapes/, "string.escape"],
187
- [/\\./, "invalid"],
188
- [/"/, "string.text", "@pop"]
189
- ],
190
- comment: [
191
- [/\(\*/, "comment", "@push"],
192
- [/\*\)/, "comment", "@pop"],
193
- [/./, "comment"]
194
- ],
195
- pragma: [
196
- [/<\*/, "keyword.pragma", "@push"],
197
- [/\*>/, "keyword.pragma", "@pop"],
198
- [/./, "keyword.pragma"]
199
- ],
200
- whitespace: [
201
- [/[ \t\r\n]+/, "white"],
202
- [/\(\*/, "comment", "@comment"],
203
- [/<\*/, "keyword.pragma", "@pragma"]
204
- ]
205
- }
206
- };
207
- export {
208
- e as conf,
209
- o as language
210
- };