act-plus 1.1.23 → 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.
- package/act-plus.js +6 -5
- package/act-plus.umd.cjs +94 -1722
- package/lib/{configBtns-c51c642b.js → configBtns-15591aad.js} +51 -50
- package/lib/{configFileds-4633be91.js → configFileds-a045430e.js} +5 -4
- package/lib/{configTable-160a99e8.js → configTable-0285d3f8.js} +32 -31
- package/lib/{dialogAddField-a8db1c57.js → dialogAddField-f474439d.js} +5 -4
- package/lib/{dialogConfigBtn-e5c41ad9.js → dialogConfigBtn-c97ccee8.js} +5 -4
- package/lib/{dialogSiteComponentsParams-05a400cc.js → dialogSiteComponentsParams-e2c5b8dd.js} +1 -1
- package/lib/{index-28cfa770.js → index-36c9cd81.js} +4 -3
- package/lib/{index-7a1700c3.js → index-3e20553c.js} +11 -10
- package/lib/{index-44e2732a.js → index-7de949f6.js} +4 -3
- package/lib/{index-cceb15dd.js → index-85deefc8.js} +5 -4
- package/lib/index-d0c3be37.js +68438 -0
- package/lib/{index-421ea84f.js → index-f58e1535.js} +31 -30
- package/package.json +1 -1
- package/style.css +1 -1
- package/assets/css.worker-1af1972f.js +0 -84
- package/assets/editor.worker-df55e1ff.js +0 -8
- package/assets/html.worker-38c267f1.js +0 -456
- package/assets/json.worker-bf861c27.js +0 -39
- package/assets/ts.worker-e151483b.js +0 -33972
- package/lib/abap-1354785f.js +0 -1314
- package/lib/apex-279d4f27.js +0 -315
- package/lib/azcli-ba812c55.js +0 -74
- package/lib/bat-4d77495d.js +0 -95
- package/lib/bicep-7b240724.js +0 -108
- package/lib/cameligo-5d2daeb8.js +0 -168
- package/lib/clojure-b7ea12a3.js +0 -754
- package/lib/coffee-1a8cfbf4.js +0 -228
- package/lib/cpp-642b10c4.js +0 -387
- package/lib/csharp-d987ddad.js +0 -320
- package/lib/csp-96407af0.js +0 -57
- package/lib/css-5dd354ac.js +0 -186
- package/lib/cssMode-55e3e2b9.js +0 -1448
- package/lib/cypher-11e5a4b6.js +0 -262
- package/lib/dart-5d209f63.js +0 -270
- package/lib/dockerfile-8739cff7.js +0 -132
- package/lib/ecl-a20c5155.js +0 -454
- package/lib/elixir-8b028584.js +0 -467
- package/lib/flow9-0dea2e73.js +0 -141
- package/lib/freemarker2-86429a9d.js +0 -646
- package/lib/fsharp-49a70fad.js +0 -210
- package/lib/go-46e3b371.js +0 -208
- package/lib/graphql-51a577e5.js +0 -141
- package/lib/handlebars-dcad112f.js +0 -394
- package/lib/hcl-56b85754.js +0 -177
- package/lib/html-95cf87e3.js +0 -284
- package/lib/htmlMode-93d4ea14.js +0 -1458
- package/lib/index-22ab90dc.js +0 -162522
- package/lib/ini-1d58d82f.js +0 -68
- package/lib/java-cd017f60.js +0 -221
- package/lib/javascript-55252557.js +0 -78
- package/lib/jsonMode-b73c28d1.js +0 -1869
- package/lib/julia-a0caf483.js +0 -496
- package/lib/kotlin-c6e52a56.js +0 -245
- package/lib/less-718543b4.js +0 -168
- package/lib/lexon-5e6e7a44.js +0 -151
- package/lib/liquid-c923578c.js +0 -241
- package/lib/lua-f159160b.js +0 -157
- package/lib/m3-aadaf771.js +0 -210
- package/lib/markdown-9b448c46.js +0 -202
- package/lib/mips-161e49ce.js +0 -194
- package/lib/msdax-f65cb1e6.js +0 -377
- package/lib/mysql-24549dd1.js +0 -875
- package/lib/objective-c-e129a5ca.js +0 -188
- package/lib/pascal-4ccdf5ce.js +0 -245
- package/lib/pascaligo-a9603dcd.js +0 -158
- package/lib/perl-ba1fb97a.js +0 -599
- package/lib/pgsql-89978310.js +0 -843
- package/lib/php-987b9d87.js +0 -471
- package/lib/pla-96c2695d.js +0 -131
- package/lib/postiats-7b52ebac.js +0 -544
- package/lib/powerquery-8954ec26.js +0 -890
- package/lib/powershell-f00d0274.js +0 -233
- package/lib/protobuf-3eb85f80.js +0 -422
- package/lib/pug-6fab415a.js +0 -393
- package/lib/python-319c4cbb.js +0 -262
- package/lib/qsharp-4792f872.js +0 -282
- package/lib/r-630f5d6b.js +0 -245
- package/lib/razor-9a8bae51.js +0 -515
- package/lib/redis-276b8288.js +0 -298
- package/lib/redshift-520a7359.js +0 -806
- package/lib/restructuredtext-4676a3fc.js +0 -162
- package/lib/ruby-764137cd.js +0 -444
- package/lib/rust-97f8f6e1.js +0 -337
- package/lib/sb-8c22f14c.js +0 -110
- package/lib/scala-c68c650c.js +0 -353
- package/lib/scheme-e6a52cb0.js +0 -114
- package/lib/scss-45104c77.js +0 -244
- package/lib/shell-09452d42.js +0 -224
- package/lib/solidity-d4979008.js +0 -1351
- package/lib/sophia-21995caf.js +0 -190
- package/lib/sparql-5088743c.js +0 -193
- package/lib/sql-63ec8e76.js +0 -818
- package/lib/st-fa9ab362.js +0 -414
- package/lib/swift-abdf1835.js +0 -315
- package/lib/systemverilog-a4f858ed.js +0 -556
- package/lib/tcl-8adf937f.js +0 -232
- package/lib/tsMode-7111578e.js +0 -792
- package/lib/twig-404eb73e.js +0 -323
- package/lib/typescript-0c5e909b.js +0 -330
- package/lib/vb-e21e8153.js +0 -364
- package/lib/xml-acd745c7.js +0 -98
- package/lib/yaml-c114fa81.js +0 -187
package/lib/markdown-9b448c46.js
DELETED
|
@@ -1,202 +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: ">", 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
|
-
};
|
package/lib/mips-161e49ce.js
DELETED
|
@@ -1,194 +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
|
-
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
|
-
};
|