sun-form-v3 1.0.55 → 1.0.56

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. package/dist/style.css +1 -1
  2. package/dist/sun-form-v3.es.js +176 -2
  3. package/dist/sun-form-v3.umd.js +1 -1909
  4. package/package.json +1 -1
  5. package/dist/abap-DfvySaIJ.js +0 -1404
  6. package/dist/apex-B__0irD3.js +0 -332
  7. package/dist/assets/css.worker-OK053IOu.js +0 -84
  8. package/dist/assets/editor.worker-D9iUZyMP.js +0 -11
  9. package/dist/assets/html.worker-CL40hqKM.js +0 -458
  10. package/dist/assets/json.worker-6f9bhSHY.js +0 -42
  11. package/dist/assets/ts.worker-B6g3wjaE.js +0 -37021
  12. package/dist/azcli-CDMGhRmx.js +0 -74
  13. package/dist/bat-0Mk8aqzx.js +0 -106
  14. package/dist/bicep-BBi_I06Z.js +0 -108
  15. package/dist/cameligo-D0G_Zm6X.js +0 -180
  16. package/dist/clojure-o2ZKLeMp.js +0 -767
  17. package/dist/coffee-DOQff5VC.js +0 -238
  18. package/dist/cpp-CQGJnWhD.js +0 -395
  19. package/dist/csharp-C1jLsHl8.js +0 -332
  20. package/dist/csp-C_ttMQaW.js +0 -59
  21. package/dist/css-BC202kVV.js +0 -193
  22. package/dist/cssMode-CiMWYeX1.js +0 -1541
  23. package/dist/cypher-DwtEH7Fi.js +0 -269
  24. package/dist/dart-D9XknsP2.js +0 -287
  25. package/dist/dockerfile-DgsNjqqa.js +0 -136
  26. package/dist/ecl-BAMCHBl6.js +0 -462
  27. package/dist/elixir-CegIttP8.js +0 -575
  28. package/dist/flow9-9608t7UV.js +0 -148
  29. package/dist/freemarker2-BLOmJNb-.js +0 -995
  30. package/dist/fsharp-CCtt9-1_.js +0 -223
  31. package/dist/go-CGUIPbct.js +0 -224
  32. package/dist/graphql-BNRIFFIn.js +0 -157
  33. package/dist/handlebars-BRcFF84k.js +0 -425
  34. package/dist/hcl-C__KLIXe.js +0 -189
  35. package/dist/html-C38yB3R1.js +0 -314
  36. package/dist/htmlMode-B9O39Rm_.js +0 -1551
  37. package/dist/index2-Bfk-hkBw.js +0 -122943
  38. package/dist/ini-CeKYn_zA.js +0 -77
  39. package/dist/java-Dm24deQl.js +0 -238
  40. package/dist/javascript-By8aCLYS.js +0 -76
  41. package/dist/jsonMode-B66zKpGF.js +0 -1957
  42. package/dist/julia-BImNW7VE.js +0 -517
  43. package/dist/kotlin-BfE79GEb.js +0 -259
  44. package/dist/less-DglNOcaC.js +0 -168
  45. package/dist/lexon-BA0dRz9Q.js +0 -163
  46. package/dist/liquid-CQTWd4fG.js +0 -246
  47. package/dist/lua-DMkWzJcm.js +0 -168
  48. package/dist/m3-sA-5shO8.js +0 -216
  49. package/dist/markdown-OYRB1igA.js +0 -235
  50. package/dist/mdx-DmAQtR4w.js +0 -171
  51. package/dist/mips-rRzkJ_7G.js +0 -204
  52. package/dist/msdax-DoVJdUhd.js +0 -381
  53. package/dist/mysql-Ty44IHXo.js +0 -884
  54. package/dist/objective-c-VUfyhYrA.js +0 -189
  55. package/dist/pascal-DkASiYyw.js +0 -257
  56. package/dist/pascaligo-p-ELPlVO.js +0 -170
  57. package/dist/perl-Cjl1FxLZ.js +0 -632
  58. package/dist/pgsql-DjVenF7s.js +0 -857
  59. package/dist/php-CwvGzZOO.js +0 -506
  60. package/dist/pla-Br1iaBIV.js +0 -143
  61. package/dist/postiats-BaeP8zZY.js +0 -913
  62. package/dist/powerquery-CLCshuo8.js +0 -896
  63. package/dist/powershell-CZV50w5N.js +0 -245
  64. package/dist/protobuf-MV3XTewJ.js +0 -426
  65. package/dist/pug-DkDg4c4l.js +0 -408
  66. package/dist/python-DzGLYeOh.js +0 -282
  67. package/dist/qsharp-BAtiKA97.js +0 -291
  68. package/dist/r-8ocrd-h-.js +0 -249
  69. package/dist/razor-CVWqBf5K.js +0 -556
  70. package/dist/redis-9sZiddxc.js +0 -308
  71. package/dist/redshift-DQfTOGC0.js +0 -815
  72. package/dist/restructuredtext-DXU-vkgr.js +0 -180
  73. package/dist/ruby-DotfqwMf.js +0 -517
  74. package/dist/rust-BIauJ5KN.js +0 -349
  75. package/dist/sb-CmWMvDEV.js +0 -121
  76. package/dist/scala-C81brEbk.js +0 -376
  77. package/dist/scheme-D0pcFz2x.js +0 -114
  78. package/dist/scss-BOdN2fGG.js +0 -268
  79. package/dist/shell-6E09eAkU.js +0 -227
  80. package/dist/solidity-CWStzA1K.js +0 -1373
  81. package/dist/sophia-76Sb6CWe.js +0 -205
  82. package/dist/sparql-BmZTkOWT.js +0 -207
  83. package/dist/sql-Cs9TBAW5.js +0 -859
  84. package/dist/st-B-rqE1Bu.js +0 -422
  85. package/dist/swift-Btsj6YxQ.js +0 -318
  86. package/dist/systemverilog-B3RHBRa2.js +0 -582
  87. package/dist/tcl-Dpj776pn.js +0 -238
  88. package/dist/tsMode-BrFBfNiL.js +0 -885
  89. package/dist/twig-Bb9JmBsE.js +0 -398
  90. package/dist/typescript-DlwOxkms.js +0 -349
  91. package/dist/typespec-CDWeg3SU.js +0 -123
  92. package/dist/vb-DEXnYwEI.js +0 -378
  93. package/dist/wgsl-D602c1lx.js +0 -445
  94. package/dist/xml-DZnae_uD.js +0 -101
  95. package/dist/yaml-BYXYKvXh.js +0 -212
@@ -1,246 +0,0 @@
1
- import { m as l } from "./index2-Bfk-hkBw.js";
2
- /*!-----------------------------------------------------------------------------
3
- * Copyright (c) Microsoft Corporation. All rights reserved.
4
- * Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)
5
- * Released under the MIT license
6
- * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
7
- *-----------------------------------------------------------------------------*/
8
- var d = Object.defineProperty, s = Object.getOwnPropertyDescriptor, c = Object.getOwnPropertyNames, u = Object.prototype.hasOwnProperty, m = (t, e, r, n) => {
9
- if (e && typeof e == "object" || typeof e == "function")
10
- for (let i of c(e))
11
- !u.call(t, i) && i !== r && d(t, i, { get: () => e[i], enumerable: !(n = s(e, i)) || n.enumerable });
12
- return t;
13
- }, p = (t, e, r) => (m(t, e, "default"), r), o = {};
14
- p(o, l);
15
- var a = [
16
- "area",
17
- "base",
18
- "br",
19
- "col",
20
- "embed",
21
- "hr",
22
- "img",
23
- "input",
24
- "keygen",
25
- "link",
26
- "menuitem",
27
- "meta",
28
- "param",
29
- "source",
30
- "track",
31
- "wbr"
32
- ], g = {
33
- wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,
34
- brackets: [
35
- ["<!--", "-->"],
36
- ["<", ">"],
37
- ["{{", "}}"],
38
- ["{%", "%}"],
39
- ["{", "}"],
40
- ["(", ")"]
41
- ],
42
- autoClosingPairs: [
43
- { open: "{", close: "}" },
44
- { open: "%", close: "%" },
45
- { open: "[", close: "]" },
46
- { open: "(", close: ")" },
47
- { open: '"', close: '"' },
48
- { open: "'", close: "'" }
49
- ],
50
- surroundingPairs: [
51
- { open: "<", close: ">" },
52
- { open: '"', close: '"' },
53
- { open: "'", close: "'" }
54
- ],
55
- onEnterRules: [
56
- {
57
- beforeText: new RegExp(
58
- `<(?!(?:${a.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,
59
- "i"
60
- ),
61
- afterText: /^<\/(\w[\w\d]*)\s*>$/i,
62
- action: {
63
- indentAction: o.languages.IndentAction.IndentOutdent
64
- }
65
- },
66
- {
67
- beforeText: new RegExp(
68
- `<(?!(?:${a.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,
69
- "i"
70
- ),
71
- action: { indentAction: o.languages.IndentAction.Indent }
72
- }
73
- ]
74
- }, _ = {
75
- defaultToken: "",
76
- tokenPostfix: "",
77
- builtinTags: [
78
- "if",
79
- "else",
80
- "elseif",
81
- "endif",
82
- "render",
83
- "assign",
84
- "capture",
85
- "endcapture",
86
- "case",
87
- "endcase",
88
- "comment",
89
- "endcomment",
90
- "cycle",
91
- "decrement",
92
- "for",
93
- "endfor",
94
- "include",
95
- "increment",
96
- "layout",
97
- "raw",
98
- "endraw",
99
- "render",
100
- "tablerow",
101
- "endtablerow",
102
- "unless",
103
- "endunless"
104
- ],
105
- builtinFilters: [
106
- "abs",
107
- "append",
108
- "at_least",
109
- "at_most",
110
- "capitalize",
111
- "ceil",
112
- "compact",
113
- "date",
114
- "default",
115
- "divided_by",
116
- "downcase",
117
- "escape",
118
- "escape_once",
119
- "first",
120
- "floor",
121
- "join",
122
- "json",
123
- "last",
124
- "lstrip",
125
- "map",
126
- "minus",
127
- "modulo",
128
- "newline_to_br",
129
- "plus",
130
- "prepend",
131
- "remove",
132
- "remove_first",
133
- "replace",
134
- "replace_first",
135
- "reverse",
136
- "round",
137
- "rstrip",
138
- "size",
139
- "slice",
140
- "sort",
141
- "sort_natural",
142
- "split",
143
- "strip",
144
- "strip_html",
145
- "strip_newlines",
146
- "times",
147
- "truncate",
148
- "truncatewords",
149
- "uniq",
150
- "upcase",
151
- "url_decode",
152
- "url_encode",
153
- "where"
154
- ],
155
- constants: ["true", "false"],
156
- operators: ["==", "!=", ">", "<", ">=", "<="],
157
- symbol: /[=><!]+/,
158
- identifier: /[a-zA-Z_][\w]*/,
159
- tokenizer: {
160
- root: [
161
- [/\{\%\s*comment\s*\%\}/, "comment.start.liquid", "@comment"],
162
- [/\{\{/, { token: "@rematch", switchTo: "@liquidState.root" }],
163
- [/\{\%/, { token: "@rematch", switchTo: "@liquidState.root" }],
164
- [/(<)([\w\-]+)(\/>)/, ["delimiter.html", "tag.html", "delimiter.html"]],
165
- [/(<)([:\w]+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
166
- [/(<\/)([\w\-]+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
167
- [/</, "delimiter.html"],
168
- [/\{/, "delimiter.html"],
169
- [/[^<{]+/]
170
- // text
171
- ],
172
- comment: [
173
- [/\{\%\s*endcomment\s*\%\}/, "comment.end.liquid", "@pop"],
174
- [/./, "comment.content.liquid"]
175
- ],
176
- otherTag: [
177
- [
178
- /\{\{/,
179
- {
180
- token: "@rematch",
181
- switchTo: "@liquidState.otherTag"
182
- }
183
- ],
184
- [
185
- /\{\%/,
186
- {
187
- token: "@rematch",
188
- switchTo: "@liquidState.otherTag"
189
- }
190
- ],
191
- [/\/?>/, "delimiter.html", "@pop"],
192
- [/"([^"]*)"/, "attribute.value"],
193
- [/'([^']*)'/, "attribute.value"],
194
- [/[\w\-]+/, "attribute.name"],
195
- [/=/, "delimiter"],
196
- [/[ \t\r\n]+/]
197
- // whitespace
198
- ],
199
- liquidState: [
200
- [/\{\{/, "delimiter.output.liquid"],
201
- [/\}\}/, { token: "delimiter.output.liquid", switchTo: "@$S2.$S3" }],
202
- [/\{\%/, "delimiter.tag.liquid"],
203
- [/raw\s*\%\}/, "delimiter.tag.liquid", "@liquidRaw"],
204
- [/\%\}/, { token: "delimiter.tag.liquid", switchTo: "@$S2.$S3" }],
205
- { include: "liquidRoot" }
206
- ],
207
- liquidRaw: [
208
- [/^(?!\{\%\s*endraw\s*\%\}).+/],
209
- [/\{\%/, "delimiter.tag.liquid"],
210
- [/@identifier/],
211
- [/\%\}/, { token: "delimiter.tag.liquid", next: "@root" }]
212
- ],
213
- liquidRoot: [
214
- [/\d+(\.\d+)?/, "number.liquid"],
215
- [/"[^"]*"/, "string.liquid"],
216
- [/'[^']*'/, "string.liquid"],
217
- [/\s+/],
218
- [
219
- /@symbol/,
220
- {
221
- cases: {
222
- "@operators": "operator.liquid",
223
- "@default": ""
224
- }
225
- }
226
- ],
227
- [/\./],
228
- [
229
- /@identifier/,
230
- {
231
- cases: {
232
- "@constants": "keyword.liquid",
233
- "@builtinFilters": "predefined.liquid",
234
- "@builtinTags": "predefined.liquid",
235
- "@default": "variable.liquid"
236
- }
237
- }
238
- ],
239
- [/[^}|%]/, "variable.liquid"]
240
- ]
241
- }
242
- };
243
- export {
244
- g as conf,
245
- _ as language
246
- };
@@ -1,168 +0,0 @@
1
- /*!-----------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)
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
- // we include these common regular expressions
86
- symbols: /[=><!~?:&|+\-*\/\^%]+/,
87
- escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
88
- // The main tokenizer for our languages
89
- tokenizer: {
90
- root: [
91
- // identifiers and keywords
92
- [
93
- /[a-zA-Z_]\w*/,
94
- {
95
- cases: {
96
- "@keywords": { token: "keyword.$0" },
97
- "@default": "identifier"
98
- }
99
- }
100
- ],
101
- // whitespace
102
- { include: "@whitespace" },
103
- // keys
104
- [/(,)(\s*)([a-zA-Z_]\w*)(\s*)(:)(?!:)/, ["delimiter", "", "key", "", "delimiter"]],
105
- [/({)(\s*)([a-zA-Z_]\w*)(\s*)(:)(?!:)/, ["@brackets", "", "key", "", "delimiter"]],
106
- // delimiters and operators
107
- [/[{}()\[\]]/, "@brackets"],
108
- [
109
- /@symbols/,
110
- {
111
- cases: {
112
- "@operators": "delimiter",
113
- "@default": ""
114
- }
115
- }
116
- ],
117
- // numbers
118
- [/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
119
- [/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/, "number.hex"],
120
- [/\d+?/, "number"],
121
- // delimiter: after number because of .\d floats
122
- [/[;,.]/, "delimiter"],
123
- // strings: recover on non-terminated strings
124
- [/"([^"\\]|\\.)*$/, "string.invalid"],
125
- // non-teminated string
126
- [/'([^'\\]|\\.)*$/, "string.invalid"],
127
- // non-teminated string
128
- [/"/, "string", '@string."'],
129
- [/'/, "string", "@string.'"]
130
- ],
131
- whitespace: [
132
- [/[ \t\r\n]+/, ""],
133
- [/--\[([=]*)\[/, "comment", "@comment.$1"],
134
- [/--.*$/, "comment"]
135
- ],
136
- comment: [
137
- [/[^\]]+/, "comment"],
138
- [
139
- /\]([=]*)\]/,
140
- {
141
- cases: {
142
- "$1==$S2": { token: "comment", next: "@pop" },
143
- "@default": "comment"
144
- }
145
- }
146
- ],
147
- [/./, "comment"]
148
- ],
149
- string: [
150
- [/[^\\"']+/, "string"],
151
- [/@escapes/, "string.escape"],
152
- [/\\./, "string.escape.invalid"],
153
- [
154
- /["']/,
155
- {
156
- cases: {
157
- "$#==$S2": { token: "string", next: "@pop" },
158
- "@default": "string"
159
- }
160
- }
161
- ]
162
- ]
163
- }
164
- };
165
- export {
166
- e as conf,
167
- o as language
168
- };
@@ -1,216 +0,0 @@
1
- /*!-----------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)
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
- // Identifiers and keywords
152
- [/_\w*/, "invalid"],
153
- [
154
- /[a-zA-Z][a-zA-Z0-9_]*/,
155
- {
156
- cases: {
157
- "@keywords": { token: "keyword.$0" },
158
- "@reservedConstNames": { token: "constant.reserved.$0" },
159
- "@reservedTypeNames": { token: "type.reserved.$0" },
160
- "@default": "identifier"
161
- }
162
- }
163
- ],
164
- // Whitespace
165
- { include: "@whitespace" },
166
- [/[{}()\[\]]/, "@brackets"],
167
- // Integer- and real literals
168
- [/[0-9]+\.[0-9]+(?:[DdEeXx][\+\-]?[0-9]+)?/, "number.float"],
169
- [/[0-9]+(?:\_[0-9a-fA-F]+)?L?/, "number"],
170
- // Operators, relations, and delimiters
171
- [
172
- /@symbols/,
173
- {
174
- cases: {
175
- "@operators": "operators",
176
- "@relations": "operators",
177
- "@delimiters": "delimiter",
178
- "@default": "invalid"
179
- }
180
- }
181
- ],
182
- // Character literals
183
- [/'[^\\']'/, "string.char"],
184
- [/(')(@escapes)(')/, ["string.char", "string.escape", "string.char"]],
185
- [/'/, "invalid"],
186
- // Text literals
187
- [/"([^"\\]|\\.)*$/, "invalid"],
188
- [/"/, "string.text", "@text"]
189
- ],
190
- text: [
191
- [/[^\\"]+/, "string.text"],
192
- [/@escapes/, "string.escape"],
193
- [/\\./, "invalid"],
194
- [/"/, "string.text", "@pop"]
195
- ],
196
- comment: [
197
- [/\(\*/, "comment", "@push"],
198
- [/\*\)/, "comment", "@pop"],
199
- [/./, "comment"]
200
- ],
201
- pragma: [
202
- [/<\*/, "keyword.pragma", "@push"],
203
- [/\*>/, "keyword.pragma", "@pop"],
204
- [/./, "keyword.pragma"]
205
- ],
206
- whitespace: [
207
- [/[ \t\r\n]+/, "white"],
208
- [/\(\*/, "comment", "@comment"],
209
- [/<\*/, "keyword.pragma", "@pragma"]
210
- ]
211
- }
212
- };
213
- export {
214
- e as conf,
215
- o as language
216
- };