@covalent/components 8.14.0 → 8.15.0-beta.1
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.
- package/abap-1354785f.mjs +1314 -0
- package/abap-c7187853.js +6 -0
- package/action-ribbon.js +1 -1
- package/action-ribbon.mjs +4 -3
- package/alert.js +1 -1
- package/alert.mjs +4 -3
- package/apex-279d4f27.mjs +315 -0
- package/apex-fc5f2b3e.js +6 -0
- package/app-shell.js +1 -1
- package/app-shell.mjs +8 -7
- package/assets/css.worker-1af1972f.js +84 -0
- package/assets/editor.worker-df55e1ff.js +8 -0
- package/assets/html.worker-38c267f1.js +456 -0
- package/assets/json.worker-bf861c27.js +39 -0
- package/assets/ts.worker-e151483b.js +33972 -0
- package/async-directive-4a34f75e.js +5 -0
- package/async-directive-99a01ec7.mjs +78 -0
- package/azcli-ba812c55.mjs +74 -0
- package/azcli-eb191d91.js +6 -0
- package/badge.js +1 -1
- package/badge.mjs +4 -3
- package/bat-34d38df4.js +6 -0
- package/bat-4d77495d.mjs +95 -0
- package/bicep-7b240724.mjs +108 -0
- package/bicep-a8264e77.js +7 -0
- package/button.js +1 -1
- package/button.mjs +10 -9
- package/cameligo-5d2daeb8.mjs +168 -0
- package/cameligo-6e71c8f3.js +6 -0
- package/card.js +1 -1
- package/card.mjs +4 -3
- package/cell/cell.d.ts +58 -0
- package/cell/cell.d.ts.map +1 -0
- package/cell.js +25 -0
- package/cell.mjs +129 -0
- package/check-list-item.js +1 -1
- package/check-list-item.mjs +8 -7
- package/checkbox.js +1 -1
- package/checkbox.mjs +16 -15
- package/{chip-ebd0a88e.js → chip-c65a4549.js} +1 -1
- package/{chip-2d0fd3f0.mjs → chip-fb0ea5c5.mjs} +1 -1
- package/chip-set.js +2 -2
- package/chip-set.mjs +46 -45
- package/chip.js +1 -1
- package/chip.mjs +5 -4
- package/circular-progress.js +1 -1
- package/circular-progress.mjs +5 -4
- package/class-map-0a4c6ca9.js +5 -0
- package/class-map-6e504a9a.mjs +38 -0
- package/clojure-355adae1.js +6 -0
- package/clojure-b7ea12a3.mjs +754 -0
- package/code-editor/code-editor.d.ts +51 -0
- package/code-editor/code-editor.d.ts.map +1 -0
- package/code-editor-383a8fae.mjs +94274 -0
- package/code-editor-4cce5e5d.js +1200 -0
- package/code-editor.js +1 -0
- package/code-editor.mjs +10 -0
- package/code-snippet.js +1 -1
- package/code-snippet.mjs +4 -3
- package/coffee-1a8cfbf4.mjs +228 -0
- package/coffee-fd8a7421.js +6 -0
- package/cpp-642b10c4.mjs +387 -0
- package/cpp-7eec3311.js +6 -0
- package/csharp-32862cd2.js +6 -0
- package/csharp-d987ddad.mjs +320 -0
- package/csp-54919de0.js +6 -0
- package/csp-96407af0.mjs +57 -0
- package/css-5dd354ac.mjs +186 -0
- package/css-9be95551.js +8 -0
- package/cssMode-821261c4.js +9 -0
- package/cssMode-9b89f9af.mjs +1450 -0
- package/cypher-11e5a4b6.mjs +262 -0
- package/cypher-cc849b67.js +6 -0
- package/dart-031264ea.js +6 -0
- package/dart-5d209f63.mjs +270 -0
- package/{dialog-c9dbe94d.mjs → dialog-16aad066.mjs} +1 -1
- package/{dialog-82b03745.js → dialog-86192b9a.js} +1 -1
- package/dialog.js +1 -1
- package/dialog.mjs +5 -4
- package/directive-1186bc23.js +5 -0
- package/directive-daf4e9b6.mjs +27 -0
- package/dockerfile-2f8684f7.js +6 -0
- package/dockerfile-8739cff7.mjs +132 -0
- package/drawer.js +1 -1
- package/drawer.mjs +5 -4
- package/ecl-68a6f20f.js +6 -0
- package/ecl-a20c5155.mjs +454 -0
- package/elixir-32cc668e.js +6 -0
- package/elixir-8b028584.mjs +467 -0
- package/flow9-0dea2e73.mjs +141 -0
- package/flow9-1d2ab5f6.js +6 -0
- package/formfield.js +3 -3
- package/formfield.mjs +4 -3
- package/freemarker2-4fc0d2e6.mjs +648 -0
- package/freemarker2-7095cbc4.js +8 -0
- package/fsharp-49a70fad.mjs +210 -0
- package/fsharp-a22f5013.js +6 -0
- package/go-46e3b371.mjs +208 -0
- package/go-cdd943fd.js +6 -0
- package/graphql-1a14eb34.js +6 -0
- package/graphql-51a577e5.mjs +141 -0
- package/handlebars-6a356ce9.js +6 -0
- package/handlebars-82c24f9d.mjs +396 -0
- package/hcl-0833427e.js +6 -0
- package/hcl-56b85754.mjs +177 -0
- package/html-a95df2b1.mjs +286 -0
- package/html-d9124a1e.js +6 -0
- package/htmlMode-3946317b.js +9 -0
- package/htmlMode-45fac07b.mjs +1460 -0
- package/icon-button-toggle/icon-button-toggle.d.ts +7 -0
- package/icon-button-toggle/icon-button-toggle.d.ts.map +1 -1
- package/icon-button-toggle.js +12 -12
- package/icon-button-toggle.mjs +57 -47
- package/icon-button.js +1 -1
- package/icon-button.mjs +6 -5
- package/icon-check-toggle.js +1 -1
- package/icon-check-toggle.mjs +7 -6
- package/icon-radio-toggle.js +3 -3
- package/icon-radio-toggle.mjs +7 -6
- package/index.d.ts +3 -0
- package/index.d.ts.map +1 -1
- package/index.js +1 -1
- package/index.mjs +125 -117
- package/ini-1d58d82f.mjs +68 -0
- package/ini-34a929df.js +6 -0
- package/java-32d7b433.js +6 -0
- package/java-cd017f60.mjs +221 -0
- package/javascript-0226b3a0.mjs +80 -0
- package/javascript-ec698494.js +6 -0
- package/jsonMode-a8e45f39.js +11 -0
- package/jsonMode-bdcd2ed9.mjs +1871 -0
- package/julia-7db1fb9a.js +6 -0
- package/julia-a0caf483.mjs +496 -0
- package/kotlin-4b9019e1.js +6 -0
- package/kotlin-c6e52a56.mjs +245 -0
- package/less-5219eae1.js +7 -0
- package/less-718543b4.mjs +168 -0
- package/lexon-5e6e7a44.mjs +151 -0
- package/lexon-dfd683ab.js +6 -0
- package/linear-progress.js +1 -1
- package/linear-progress.mjs +5 -4
- package/liquid-2dc745b6.mjs +243 -0
- package/liquid-b6e2effe.js +6 -0
- package/list-item.js +2 -2
- package/list-item.mjs +7 -6
- package/list.js +1 -1
- package/list.mjs +8 -7
- package/lua-b46719a9.js +6 -0
- package/lua-f159160b.mjs +157 -0
- package/m3-87473279.js +6 -0
- package/m3-aadaf771.mjs +210 -0
- package/markdown-9b448c46.mjs +202 -0
- package/markdown-eae8e3ba.js +6 -0
- package/menu.js +5 -5
- package/menu.mjs +9 -8
- package/mips-161e49ce.mjs +194 -0
- package/mips-82a1ce59.js +6 -0
- package/msdax-b3b5017e.js +6 -0
- package/msdax-f65cb1e6.mjs +377 -0
- package/{mwc-checkbox-base-c40d16d2.mjs → mwc-checkbox-base-02b4eb91.mjs} +2 -2
- package/{mwc-checkbox-base-3d8c9549.js → mwc-checkbox-base-935d9566.js} +1 -1
- package/{mwc-drawer-base-798b11f8.js → mwc-drawer-base-bbae43c3.js} +1 -1
- package/{mwc-drawer-base-9c77129c.mjs → mwc-drawer-base-ca75f41f.mjs} +1 -1
- package/{mwc-line-ripple-directive-a6b39a3c.js → mwc-line-ripple-directive-40145003.js} +14 -14
- package/{mwc-line-ripple-directive-f9dd7fe3.mjs → mwc-line-ripple-directive-aabd8778.mjs} +6 -5
- package/{mwc-list-base-400b00e2.js → mwc-list-base-22616d0a.js} +1 -1
- package/{mwc-list-base-495cbb3b.mjs → mwc-list-base-402e1d8e.mjs} +1 -1
- package/{mwc-list-item-base-297d86b0.js → mwc-list-item-base-06d93e6e.js} +1 -1
- package/{mwc-list-item-base-6449e812.mjs → mwc-list-item-base-3c6a3bfb.mjs} +2 -2
- package/{mwc-menu-base-9704207e.mjs → mwc-menu-base-04586160.mjs} +3 -3
- package/{mwc-menu-base-c75ca473.js → mwc-menu-base-08f54c38.js} +1 -1
- package/{mwc-radio-base-913e02e2.js → mwc-radio-base-147cf999.js} +1 -1
- package/{mwc-radio-base-4dbe9e38.mjs → mwc-radio-base-768b4221.mjs} +2 -2
- package/{mwc-slider.css-c7107d94.js → mwc-slider.css-c5f99704.js} +1 -1
- package/{mwc-slider.css-30c91236.mjs → mwc-slider.css-cda43bd0.mjs} +3 -3
- package/{mwc-tab-base-effde6e4.mjs → mwc-tab-base-0814a3ef.mjs} +2 -2
- package/{mwc-tab-base-f28722aa.js → mwc-tab-base-f2269fd1.js} +1 -1
- package/{mwc-top-app-bar-base-28c4192d.mjs → mwc-top-app-bar-base-8a7f7312.mjs} +1 -1
- package/{mwc-top-app-bar-base-aec60f27.js → mwc-top-app-bar-base-8c8cde51.js} +1 -1
- package/mysql-24549dd1.mjs +875 -0
- package/mysql-69f1c589.js +6 -0
- package/nav-list-item.js +1 -1
- package/nav-list-item.mjs +7 -6
- package/notebook/notebook.d.ts +49 -0
- package/notebook/notebook.d.ts.map +1 -0
- package/notebook.js +90 -0
- package/notebook.mjs +3307 -0
- package/objective-c-c8319b65.js +6 -0
- package/objective-c-e129a5ca.mjs +188 -0
- package/package.json +16 -1
- package/pascal-4ccdf5ce.mjs +245 -0
- package/pascal-e5207a08.js +6 -0
- package/pascaligo-8eb79945.js +6 -0
- package/pascaligo-a9603dcd.mjs +158 -0
- package/perl-ba1fb97a.mjs +599 -0
- package/perl-e8264c91.js +6 -0
- package/pgsql-89978310.mjs +843 -0
- package/pgsql-c8ba6faf.js +6 -0
- package/php-987b9d87.mjs +471 -0
- package/php-a6dcde52.js +6 -0
- package/pla-96c2695d.mjs +131 -0
- package/pla-c85b0e59.js +6 -0
- package/postiats-3c2c478e.js +6 -0
- package/postiats-7b52ebac.mjs +544 -0
- package/powerquery-8954ec26.mjs +890 -0
- package/powerquery-b0d5f9e4.js +6 -0
- package/powershell-cdb88123.js +6 -0
- package/powershell-f00d0274.mjs +233 -0
- package/protobuf-3eb85f80.mjs +422 -0
- package/protobuf-a3b2ca94.js +7 -0
- package/pug-6fab415a.mjs +393 -0
- package/pug-c5df821d.js +6 -0
- package/python-7770f129.mjs +264 -0
- package/python-c7862f06.js +6 -0
- package/qsharp-4792f872.mjs +282 -0
- package/qsharp-7eddb7b9.js +6 -0
- package/r-42c6f0aa.js +6 -0
- package/r-630f5d6b.mjs +245 -0
- package/radio-list-item.js +1 -1
- package/radio-list-item.mjs +8 -7
- package/radio.js +2 -2
- package/radio.mjs +7 -6
- package/razor-3871ef20.mjs +517 -0
- package/razor-4a6a11b1.js +6 -0
- package/redis-0d0a89dd.js +6 -0
- package/redis-276b8288.mjs +298 -0
- package/redshift-520a7359.mjs +806 -0
- package/redshift-b6bdaeca.js +6 -0
- package/restructuredtext-4676a3fc.mjs +162 -0
- package/restructuredtext-c83d56ed.js +6 -0
- package/{ripple-handlers-0d9ad7c2.mjs → ripple-handlers-8883e893.mjs} +2 -2
- package/{ripple-handlers-5d5b21db.js → ripple-handlers-9fb4a31a.js} +1 -1
- package/ruby-764137cd.mjs +444 -0
- package/ruby-96103dcf.js +6 -0
- package/rust-87887495.js +6 -0
- package/rust-97f8f6e1.mjs +337 -0
- package/sb-8c22f14c.mjs +110 -0
- package/sb-e2701210.js +6 -0
- package/scala-c68c650c.mjs +353 -0
- package/scala-e8b7bd42.js +6 -0
- package/scheme-b9cbf7cb.js +6 -0
- package/scheme-e6a52cb0.mjs +114 -0
- package/scss-45104c77.mjs +244 -0
- package/scss-d0f4f80e.js +8 -0
- package/select.js +1 -1
- package/select.mjs +10 -9
- package/shell-09452d42.mjs +224 -0
- package/shell-43cfbe7d.js +6 -0
- package/side-sheet.js +1 -1
- package/side-sheet.mjs +3 -2
- package/slider-range.js +1 -1
- package/slider-range.mjs +7 -6
- package/slider.js +1 -1
- package/slider.mjs +12 -11
- package/snackbar.js +14 -18
- package/snackbar.mjs +88 -159
- package/solidity-d4979008.mjs +1351 -0
- package/solidity-f1319e8a.js +6 -0
- package/sophia-21995caf.mjs +190 -0
- package/sophia-a1ce907f.js +6 -0
- package/sparql-5088743c.mjs +193 -0
- package/sparql-98d9e092.js +6 -0
- package/sql-63ec8e76.mjs +818 -0
- package/sql-faf05577.js +6 -0
- package/st-122893c4.js +6 -0
- package/st-fa9ab362.mjs +414 -0
- package/status-dialog.js +1 -1
- package/status-dialog.mjs +7 -6
- package/status-header.js +1 -1
- package/status-header.mjs +4 -3
- package/{style-map-88d2563f.js → style-map-a135c6ab.js} +2 -2
- package/{style-map-bc3ed3e0.mjs → style-map-e7ec6d41.mjs} +1 -1
- package/style.css +1 -0
- package/swift-724ff2a3.js +8 -0
- package/swift-abdf1835.mjs +315 -0
- package/switch.js +1 -1
- package/switch.mjs +6 -5
- package/systemverilog-8139818b.js +6 -0
- package/systemverilog-a4f858ed.mjs +556 -0
- package/tab-bar.js +2 -2
- package/tab-bar.mjs +7 -6
- package/tab.js +1 -1
- package/tab.mjs +9 -8
- package/tcl-8adf937f.mjs +232 -0
- package/tcl-e49fed0b.js +6 -0
- package/text-lockup.js +1 -1
- package/text-lockup.mjs +4 -3
- package/textarea.js +1 -1
- package/textarea.mjs +6 -5
- package/{textfield-11525c88.js → textfield-0645375b.js} +16 -16
- package/{textfield-902f3ad3.mjs → textfield-93cfcf3c.mjs} +5 -4
- package/textfield.js +1 -1
- package/textfield.mjs +6 -5
- package/toolbar.js +1 -1
- package/toolbar.mjs +5 -4
- package/top-app-bar-fixed.js +1 -1
- package/top-app-bar-fixed.mjs +5 -4
- package/top-app-bar.js +1 -1
- package/top-app-bar.mjs +8 -7
- package/tree-list-item.js +1 -1
- package/tree-list-item.mjs +4 -3
- package/tsMode-426fdb34.mjs +794 -0
- package/tsMode-9087ec29.js +16 -0
- package/twig-404eb73e.mjs +323 -0
- package/twig-4bfb5b04.js +6 -0
- package/typescript-37d9bf54.mjs +332 -0
- package/typescript-eb2ab867.js +6 -0
- package/vb-8dfd000c.js +6 -0
- package/vb-e21e8153.mjs +364 -0
- package/xml-349a9a42.js +6 -0
- package/xml-9970ffe1.mjs +100 -0
- package/yaml-167e3d82.mjs +189 -0
- package/yaml-837b2090.js +6 -0
- package/class-map-4b94b017.mjs +0 -62
- package/class-map-b5efe8da.js +0 -9
package/m3-aadaf771.mjs
ADDED
@@ -0,0 +1,210 @@
|
|
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
|
+
};
|
@@ -0,0 +1,202 @@
|
|
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: ">", notIn: ["string"] }
|
21
|
+
],
|
22
|
+
surroundingPairs: [
|
23
|
+
{ open: "(", close: ")" },
|
24
|
+
{ open: "[", close: "]" },
|
25
|
+
{ open: "`", close: "`" }
|
26
|
+
],
|
27
|
+
folding: {
|
28
|
+
markers: {
|
29
|
+
start: new RegExp("^\\s*<!--\\s*#?region\\b.*-->"),
|
30
|
+
end: new RegExp("^\\s*<!--\\s*#?endregion\\b.*-->")
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}, t = {
|
34
|
+
defaultToken: "",
|
35
|
+
tokenPostfix: ".md",
|
36
|
+
control: /[\\`*_\[\]{}()#+\-\.!]/,
|
37
|
+
noncontrol: /[^\\`*_\[\]{}()#+\-\.!]/,
|
38
|
+
escapes: /\\(?:@control)/,
|
39
|
+
jsescapes: /\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,
|
40
|
+
empty: [
|
41
|
+
"area",
|
42
|
+
"base",
|
43
|
+
"basefont",
|
44
|
+
"br",
|
45
|
+
"col",
|
46
|
+
"frame",
|
47
|
+
"hr",
|
48
|
+
"img",
|
49
|
+
"input",
|
50
|
+
"isindex",
|
51
|
+
"link",
|
52
|
+
"meta",
|
53
|
+
"param"
|
54
|
+
],
|
55
|
+
tokenizer: {
|
56
|
+
root: [
|
57
|
+
[/^\s*\|/, "@rematch", "@table_header"],
|
58
|
+
[/^(\s{0,3})(#+)((?:[^\\#]|@escapes)+)((?:#+)?)/, ["white", "keyword", "keyword", "keyword"]],
|
59
|
+
[/^\s*(=+|\-+)\s*$/, "keyword"],
|
60
|
+
[/^\s*((\*[ ]?)+)\s*$/, "meta.separator"],
|
61
|
+
[/^\s*>+/, "comment"],
|
62
|
+
[/^\s*([\*\-+:]|\d+\.)\s/, "keyword"],
|
63
|
+
[/^(\t|[ ]{4})[^ ].*$/, "string"],
|
64
|
+
[/^\s*~~~\s*((?:\w|[\/\-#])+)?\s*$/, { token: "string", next: "@codeblock" }],
|
65
|
+
[
|
66
|
+
/^\s*```\s*((?:\w|[\/\-#])+).*$/,
|
67
|
+
{ token: "string", next: "@codeblockgh", nextEmbedded: "$1" }
|
68
|
+
],
|
69
|
+
[/^\s*```\s*$/, { token: "string", next: "@codeblock" }],
|
70
|
+
{ include: "@linecontent" }
|
71
|
+
],
|
72
|
+
table_header: [
|
73
|
+
{ include: "@table_common" },
|
74
|
+
[/[^\|]+/, "keyword.table.header"]
|
75
|
+
],
|
76
|
+
table_body: [{ include: "@table_common" }, { include: "@linecontent" }],
|
77
|
+
table_common: [
|
78
|
+
[/\s*[\-:]+\s*/, { token: "keyword", switchTo: "table_body" }],
|
79
|
+
[/^\s*\|/, "keyword.table.left"],
|
80
|
+
[/^\s*[^\|]/, "@rematch", "@pop"],
|
81
|
+
[/^\s*$/, "@rematch", "@pop"],
|
82
|
+
[
|
83
|
+
/\|/,
|
84
|
+
{
|
85
|
+
cases: {
|
86
|
+
"@eos": "keyword.table.right",
|
87
|
+
"@default": "keyword.table.middle"
|
88
|
+
}
|
89
|
+
}
|
90
|
+
]
|
91
|
+
],
|
92
|
+
codeblock: [
|
93
|
+
[/^\s*~~~\s*$/, { token: "string", next: "@pop" }],
|
94
|
+
[/^\s*```\s*$/, { token: "string", next: "@pop" }],
|
95
|
+
[/.*$/, "variable.source"]
|
96
|
+
],
|
97
|
+
codeblockgh: [
|
98
|
+
[/```\s*$/, { token: "string", next: "@pop", nextEmbedded: "@pop" }],
|
99
|
+
[/[^`]+/, "variable.source"]
|
100
|
+
],
|
101
|
+
linecontent: [
|
102
|
+
[/&\w+;/, "string.escape"],
|
103
|
+
[/@escapes/, "escape"],
|
104
|
+
[/\b__([^\\_]|@escapes|_(?!_))+__\b/, "strong"],
|
105
|
+
[/\*\*([^\\*]|@escapes|\*(?!\*))+\*\*/, "strong"],
|
106
|
+
[/\b_[^_]+_\b/, "emphasis"],
|
107
|
+
[/\*([^\\*]|@escapes)+\*/, "emphasis"],
|
108
|
+
[/`([^\\`]|@escapes)+`/, "variable"],
|
109
|
+
[/\{+[^}]+\}+/, "string.target"],
|
110
|
+
[/(!?\[)((?:[^\]\\]|@escapes)*)(\]\([^\)]+\))/, ["string.link", "", "string.link"]],
|
111
|
+
[/(!?\[)((?:[^\]\\]|@escapes)*)(\])/, "string.link"],
|
112
|
+
{ include: "html" }
|
113
|
+
],
|
114
|
+
html: [
|
115
|
+
[/<(\w+)\/>/, "tag"],
|
116
|
+
[
|
117
|
+
/<(\w+)(\-|\w)*/,
|
118
|
+
{
|
119
|
+
cases: {
|
120
|
+
"@empty": { token: "tag", next: "@tag.$1" },
|
121
|
+
"@default": { token: "tag", next: "@tag.$1" }
|
122
|
+
}
|
123
|
+
}
|
124
|
+
],
|
125
|
+
[/<\/(\w+)(\-|\w)*\s*>/, { token: "tag" }],
|
126
|
+
[/<!--/, "comment", "@comment"]
|
127
|
+
],
|
128
|
+
comment: [
|
129
|
+
[/[^<\-]+/, "comment.content"],
|
130
|
+
[/-->/, "comment", "@pop"],
|
131
|
+
[/<!--/, "comment.content.invalid"],
|
132
|
+
[/[<\-]/, "comment.content"]
|
133
|
+
],
|
134
|
+
tag: [
|
135
|
+
[/[ \t\r\n]+/, "white"],
|
136
|
+
[
|
137
|
+
/(type)(\s*=\s*)(")([^"]+)(")/,
|
138
|
+
[
|
139
|
+
"attribute.name.html",
|
140
|
+
"delimiter.html",
|
141
|
+
"string.html",
|
142
|
+
{ token: "string.html", switchTo: "@tag.$S2.$4" },
|
143
|
+
"string.html"
|
144
|
+
]
|
145
|
+
],
|
146
|
+
[
|
147
|
+
/(type)(\s*=\s*)(')([^']+)(')/,
|
148
|
+
[
|
149
|
+
"attribute.name.html",
|
150
|
+
"delimiter.html",
|
151
|
+
"string.html",
|
152
|
+
{ token: "string.html", switchTo: "@tag.$S2.$4" },
|
153
|
+
"string.html"
|
154
|
+
]
|
155
|
+
],
|
156
|
+
[/(\w+)(\s*=\s*)("[^"]*"|'[^']*')/, ["attribute.name.html", "delimiter.html", "string.html"]],
|
157
|
+
[/\w+/, "attribute.name.html"],
|
158
|
+
[/\/>/, "tag", "@pop"],
|
159
|
+
[
|
160
|
+
/>/,
|
161
|
+
{
|
162
|
+
cases: {
|
163
|
+
"$S2==style": {
|
164
|
+
token: "tag",
|
165
|
+
switchTo: "embeddedStyle",
|
166
|
+
nextEmbedded: "text/css"
|
167
|
+
},
|
168
|
+
"$S2==script": {
|
169
|
+
cases: {
|
170
|
+
$S3: {
|
171
|
+
token: "tag",
|
172
|
+
switchTo: "embeddedScript",
|
173
|
+
nextEmbedded: "$S3"
|
174
|
+
},
|
175
|
+
"@default": {
|
176
|
+
token: "tag",
|
177
|
+
switchTo: "embeddedScript",
|
178
|
+
nextEmbedded: "text/javascript"
|
179
|
+
}
|
180
|
+
}
|
181
|
+
},
|
182
|
+
"@default": { token: "tag", next: "@pop" }
|
183
|
+
}
|
184
|
+
}
|
185
|
+
]
|
186
|
+
],
|
187
|
+
embeddedStyle: [
|
188
|
+
[/[^<]+/, ""],
|
189
|
+
[/<\/style\s*>/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }],
|
190
|
+
[/</, ""]
|
191
|
+
],
|
192
|
+
embeddedScript: [
|
193
|
+
[/[^<]+/, ""],
|
194
|
+
[/<\/script\s*>/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }],
|
195
|
+
[/</, ""]
|
196
|
+
]
|
197
|
+
}
|
198
|
+
};
|
199
|
+
export {
|
200
|
+
e as conf,
|
201
|
+
t as language
|
202
|
+
};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*!-----------------------------------------------------------------------------
|
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
|
+
*-----------------------------------------------------------------------------*/var e={comments:{blockComment:["<!--","-->"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">",notIn:["string"]}],surroundingPairs:[{open:"(",close:")"},{open:"[",close:"]"},{open:"`",close:"`"}],folding:{markers:{start:new RegExp("^\\s*<!--\\s*#?region\\b.*-->"),end:new RegExp("^\\s*<!--\\s*#?endregion\\b.*-->")}}},t={defaultToken:"",tokenPostfix:".md",control:/[\\`*_\[\]{}()#+\-\.!]/,noncontrol:/[^\\`*_\[\]{}()#+\-\.!]/,escapes:/\\(?:@control)/,jsescapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,empty:["area","base","basefont","br","col","frame","hr","img","input","isindex","link","meta","param"],tokenizer:{root:[[/^\s*\|/,"@rematch","@table_header"],[/^(\s{0,3})(#+)((?:[^\\#]|@escapes)+)((?:#+)?)/,["white","keyword","keyword","keyword"]],[/^\s*(=+|\-+)\s*$/,"keyword"],[/^\s*((\*[ ]?)+)\s*$/,"meta.separator"],[/^\s*>+/,"comment"],[/^\s*([\*\-+:]|\d+\.)\s/,"keyword"],[/^(\t|[ ]{4})[^ ].*$/,"string"],[/^\s*~~~\s*((?:\w|[\/\-#])+)?\s*$/,{token:"string",next:"@codeblock"}],[/^\s*```\s*((?:\w|[\/\-#])+).*$/,{token:"string",next:"@codeblockgh",nextEmbedded:"$1"}],[/^\s*```\s*$/,{token:"string",next:"@codeblock"}],{include:"@linecontent"}],table_header:[{include:"@table_common"},[/[^\|]+/,"keyword.table.header"]],table_body:[{include:"@table_common"},{include:"@linecontent"}],table_common:[[/\s*[\-:]+\s*/,{token:"keyword",switchTo:"table_body"}],[/^\s*\|/,"keyword.table.left"],[/^\s*[^\|]/,"@rematch","@pop"],[/^\s*$/,"@rematch","@pop"],[/\|/,{cases:{"@eos":"keyword.table.right","@default":"keyword.table.middle"}}]],codeblock:[[/^\s*~~~\s*$/,{token:"string",next:"@pop"}],[/^\s*```\s*$/,{token:"string",next:"@pop"}],[/.*$/,"variable.source"]],codeblockgh:[[/```\s*$/,{token:"string",next:"@pop",nextEmbedded:"@pop"}],[/[^`]+/,"variable.source"]],linecontent:[[/&\w+;/,"string.escape"],[/@escapes/,"escape"],[/\b__([^\\_]|@escapes|_(?!_))+__\b/,"strong"],[/\*\*([^\\*]|@escapes|\*(?!\*))+\*\*/,"strong"],[/\b_[^_]+_\b/,"emphasis"],[/\*([^\\*]|@escapes)+\*/,"emphasis"],[/`([^\\`]|@escapes)+`/,"variable"],[/\{+[^}]+\}+/,"string.target"],[/(!?\[)((?:[^\]\\]|@escapes)*)(\]\([^\)]+\))/,["string.link","","string.link"]],[/(!?\[)((?:[^\]\\]|@escapes)*)(\])/,"string.link"],{include:"html"}],html:[[/<(\w+)\/>/,"tag"],[/<(\w+)(\-|\w)*/,{cases:{"@empty":{token:"tag",next:"@tag.$1"},"@default":{token:"tag",next:"@tag.$1"}}}],[/<\/(\w+)(\-|\w)*\s*>/,{token:"tag"}],[/<!--/,"comment","@comment"]],comment:[[/[^<\-]+/,"comment.content"],[/-->/,"comment","@pop"],[/<!--/,"comment.content.invalid"],[/[<\-]/,"comment.content"]],tag:[[/[ \t\r\n]+/,"white"],[/(type)(\s*=\s*)(")([^"]+)(")/,["attribute.name.html","delimiter.html","string.html",{token:"string.html",switchTo:"@tag.$S2.$4"},"string.html"]],[/(type)(\s*=\s*)(')([^']+)(')/,["attribute.name.html","delimiter.html","string.html",{token:"string.html",switchTo:"@tag.$S2.$4"},"string.html"]],[/(\w+)(\s*=\s*)("[^"]*"|'[^']*')/,["attribute.name.html","delimiter.html","string.html"]],[/\w+/,"attribute.name.html"],[/\/>/,"tag","@pop"],[/>/,{cases:{"$S2==style":{token:"tag",switchTo:"embeddedStyle",nextEmbedded:"text/css"},"$S2==script":{cases:{$S3:{token:"tag",switchTo:"embeddedScript",nextEmbedded:"$S3"},"@default":{token:"tag",switchTo:"embeddedScript",nextEmbedded:"text/javascript"}}},"@default":{token:"tag",next:"@pop"}}}]],embeddedStyle:[[/[^<]+/,""],[/<\/style\s*>/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/</,""]],embeddedScript:[[/[^<]+/,""],[/<\/script\s*>/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/</,""]]}};exports.conf=e;exports.language=t;
|
package/menu.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./mwc-menu-base-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./mwc-menu-base-08f54c38.js"),u=require("./query-assigned-elements-f623705d.js");require("./tslib.es6-98719205.js");require("./mwc-list-base-22616d0a.js");require("./mwc-list-item-base-06d93e6e.js");require("./ripple-handlers-9fb4a31a.js");require("./base-element-58a3f9ea.js");require("./utils-a8190a39.js");require("./property-57f6f6fe.js");require("./state-0974a8e5.js");require("./query-680f1868.js");require("./class-map-0a4c6ca9.js");require("./directive-1186bc23.js");require("./style-map-a135c6ab.js");require("./observer-a096ab43.js");require("./query-assigned-nodes-99eae71d.js");require("./if-defined-f1c45245.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2021 Google LLC
|
4
4
|
* SPDX-LIcense-Identifier: Apache-2.0
|
5
|
-
*/const c=
|
6
|
-
`;var v=Object.defineProperty,q=Object.getOwnPropertyDescriptor,m=(
|
7
|
-
${
|
8
|
-
`];exports.CovalentMenu=m([
|
5
|
+
*/const c=u.i`mwc-list ::slotted([mwc-list-item]:not([twoline])),mwc-list ::slotted([noninteractive]:not([twoline])){height:var(--mdc-menu-item-height, 48px)}`,a=`mwc-menu-surface{--mdc-theme-surface: var(--cv-theme-surface-container)}
|
6
|
+
`;var v=Object.defineProperty,q=Object.getOwnPropertyDescriptor,m=(n,r,i,t)=>{for(var e=t>1?void 0:t?q(r,i):r,s=n.length-1,l;s>=0;s--)(l=n[s])&&(e=(t?l(r,i,e):l(e))||e);return t&&e&&v(r,i,e),e};exports.CovalentMenu=class extends o.MenuBase{};exports.CovalentMenu.styles=[c,u.i`
|
7
|
+
${u.r(a)}
|
8
|
+
`];exports.CovalentMenu=m([u.e("cv-menu")],exports.CovalentMenu);const M=exports.CovalentMenu;exports.default=M;
|
package/menu.mjs
CHANGED
@@ -1,16 +1,17 @@
|
|
1
|
-
import { M as c } from "./mwc-menu-base-
|
1
|
+
import { M as c } from "./mwc-menu-base-04586160.mjs";
|
2
2
|
import { i as p, r as l, e as a } from "./query-assigned-elements-4a39219d.mjs";
|
3
3
|
import "./tslib.es6-c4b0f3b1.mjs";
|
4
|
-
import "./mwc-list-base-
|
5
|
-
import "./mwc-list-item-base-
|
6
|
-
import "./ripple-handlers-
|
4
|
+
import "./mwc-list-base-402e1d8e.mjs";
|
5
|
+
import "./mwc-list-item-base-3c6a3bfb.mjs";
|
6
|
+
import "./ripple-handlers-8883e893.mjs";
|
7
7
|
import "./base-element-acf30176.mjs";
|
8
8
|
import "./utils-dc65fdc9.mjs";
|
9
9
|
import "./property-9b6ea53b.mjs";
|
10
10
|
import "./state-b5e865db.mjs";
|
11
11
|
import "./query-d843aa92.mjs";
|
12
|
-
import "./class-map-
|
13
|
-
import "./
|
12
|
+
import "./class-map-6e504a9a.mjs";
|
13
|
+
import "./directive-daf4e9b6.mjs";
|
14
|
+
import "./style-map-e7ec6d41.mjs";
|
14
15
|
import "./observer-be7b92e2.mjs";
|
15
16
|
import "./query-assigned-nodes-df691e78.mjs";
|
16
17
|
import "./if-defined-c367f208.mjs";
|
@@ -37,8 +38,8 @@ o.styles = [
|
|
37
38
|
o = h([
|
38
39
|
a("cv-menu")
|
39
40
|
], o);
|
40
|
-
const
|
41
|
+
const E = o;
|
41
42
|
export {
|
42
43
|
o as CovalentMenu,
|
43
|
-
|
44
|
+
E as default
|
44
45
|
};
|
@@ -0,0 +1,194 @@
|
|
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
|
+
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
|
9
|
+
comments: {
|
10
|
+
blockComment: ["###", "###"],
|
11
|
+
lineComment: "#"
|
12
|
+
},
|
13
|
+
folding: {
|
14
|
+
markers: {
|
15
|
+
start: new RegExp("^\\s*#region\\b"),
|
16
|
+
end: new RegExp("^\\s*#endregion\\b")
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}, t = {
|
20
|
+
defaultToken: "",
|
21
|
+
ignoreCase: !1,
|
22
|
+
tokenPostfix: ".mips",
|
23
|
+
regEx: /\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,
|
24
|
+
keywords: [
|
25
|
+
".data",
|
26
|
+
".text",
|
27
|
+
"syscall",
|
28
|
+
"trap",
|
29
|
+
"add",
|
30
|
+
"addu",
|
31
|
+
"addi",
|
32
|
+
"addiu",
|
33
|
+
"and",
|
34
|
+
"andi",
|
35
|
+
"div",
|
36
|
+
"divu",
|
37
|
+
"mult",
|
38
|
+
"multu",
|
39
|
+
"nor",
|
40
|
+
"or",
|
41
|
+
"ori",
|
42
|
+
"sll",
|
43
|
+
"slv",
|
44
|
+
"sra",
|
45
|
+
"srav",
|
46
|
+
"srl",
|
47
|
+
"srlv",
|
48
|
+
"sub",
|
49
|
+
"subu",
|
50
|
+
"xor",
|
51
|
+
"xori",
|
52
|
+
"lhi",
|
53
|
+
"lho",
|
54
|
+
"lhi",
|
55
|
+
"llo",
|
56
|
+
"slt",
|
57
|
+
"slti",
|
58
|
+
"sltu",
|
59
|
+
"sltiu",
|
60
|
+
"beq",
|
61
|
+
"bgtz",
|
62
|
+
"blez",
|
63
|
+
"bne",
|
64
|
+
"j",
|
65
|
+
"jal",
|
66
|
+
"jalr",
|
67
|
+
"jr",
|
68
|
+
"lb",
|
69
|
+
"lbu",
|
70
|
+
"lh",
|
71
|
+
"lhu",
|
72
|
+
"lw",
|
73
|
+
"li",
|
74
|
+
"la",
|
75
|
+
"sb",
|
76
|
+
"sh",
|
77
|
+
"sw",
|
78
|
+
"mfhi",
|
79
|
+
"mflo",
|
80
|
+
"mthi",
|
81
|
+
"mtlo",
|
82
|
+
"move"
|
83
|
+
],
|
84
|
+
symbols: /[\.,\:]+/,
|
85
|
+
escapes: /\\(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
86
|
+
tokenizer: {
|
87
|
+
root: [
|
88
|
+
[/\$[a-zA-Z_]\w*/, "variable.predefined"],
|
89
|
+
[
|
90
|
+
/[.a-zA-Z_]\w*/,
|
91
|
+
{
|
92
|
+
cases: {
|
93
|
+
this: "variable.predefined",
|
94
|
+
"@keywords": { token: "keyword.$0" },
|
95
|
+
"@default": ""
|
96
|
+
}
|
97
|
+
}
|
98
|
+
],
|
99
|
+
[/[ \t\r\n]+/, ""],
|
100
|
+
[/#.*$/, "comment"],
|
101
|
+
["///", { token: "regexp", next: "@hereregexp" }],
|
102
|
+
[/^(\s*)(@regEx)/, ["", "regexp"]],
|
103
|
+
[/(\,)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
104
|
+
[/(\:)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
105
|
+
[/@symbols/, "delimiter"],
|
106
|
+
[/\d+[eE]([\-+]?\d+)?/, "number.float"],
|
107
|
+
[/\d+\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
108
|
+
[/0[xX][0-9a-fA-F]+/, "number.hex"],
|
109
|
+
[/0[0-7]+(?!\d)/, "number.octal"],
|
110
|
+
[/\d+/, "number"],
|
111
|
+
[/[,.]/, "delimiter"],
|
112
|
+
[/"""/, "string", '@herestring."""'],
|
113
|
+
[/'''/, "string", "@herestring.'''"],
|
114
|
+
[
|
115
|
+
/"/,
|
116
|
+
{
|
117
|
+
cases: {
|
118
|
+
"@eos": "string",
|
119
|
+
"@default": { token: "string", next: '@string."' }
|
120
|
+
}
|
121
|
+
}
|
122
|
+
],
|
123
|
+
[
|
124
|
+
/'/,
|
125
|
+
{
|
126
|
+
cases: {
|
127
|
+
"@eos": "string",
|
128
|
+
"@default": { token: "string", next: "@string.'" }
|
129
|
+
}
|
130
|
+
}
|
131
|
+
]
|
132
|
+
],
|
133
|
+
string: [
|
134
|
+
[/[^"'\#\\]+/, "string"],
|
135
|
+
[/@escapes/, "string.escape"],
|
136
|
+
[/\./, "string.escape.invalid"],
|
137
|
+
[/\./, "string.escape.invalid"],
|
138
|
+
[
|
139
|
+
/#{/,
|
140
|
+
{
|
141
|
+
cases: {
|
142
|
+
'$S2=="': {
|
143
|
+
token: "string",
|
144
|
+
next: "root.interpolatedstring"
|
145
|
+
},
|
146
|
+
"@default": "string"
|
147
|
+
}
|
148
|
+
}
|
149
|
+
],
|
150
|
+
[
|
151
|
+
/["']/,
|
152
|
+
{
|
153
|
+
cases: {
|
154
|
+
"$#==$S2": { token: "string", next: "@pop" },
|
155
|
+
"@default": "string"
|
156
|
+
}
|
157
|
+
}
|
158
|
+
],
|
159
|
+
[/#/, "string"]
|
160
|
+
],
|
161
|
+
herestring: [
|
162
|
+
[
|
163
|
+
/("""|''')/,
|
164
|
+
{
|
165
|
+
cases: {
|
166
|
+
"$1==$S2": { token: "string", next: "@pop" },
|
167
|
+
"@default": "string"
|
168
|
+
}
|
169
|
+
}
|
170
|
+
],
|
171
|
+
[/[^#\\'"]+/, "string"],
|
172
|
+
[/['"]+/, "string"],
|
173
|
+
[/@escapes/, "string.escape"],
|
174
|
+
[/\./, "string.escape.invalid"],
|
175
|
+
[/#{/, { token: "string.quote", next: "root.interpolatedstring" }],
|
176
|
+
[/#/, "string"]
|
177
|
+
],
|
178
|
+
comment: [
|
179
|
+
[/[^#]+/, "comment"],
|
180
|
+
[/#/, "comment"]
|
181
|
+
],
|
182
|
+
hereregexp: [
|
183
|
+
[/[^\\\/#]+/, "regexp"],
|
184
|
+
[/\\./, "regexp"],
|
185
|
+
[/#.*$/, "comment"],
|
186
|
+
["///[igm]*", { token: "regexp", next: "@pop" }],
|
187
|
+
[/\//, "regexp"]
|
188
|
+
]
|
189
|
+
}
|
190
|
+
};
|
191
|
+
export {
|
192
|
+
e as conf,
|
193
|
+
t as language
|
194
|
+
};
|