monacozen 0.5.1 → 0.6.0
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/README.md +4 -0
- package/assets/_omit-monaco-features_css-qxObuaCQ.js +1 -0
- package/assets/_omit-monaco-features_html-VygYHg7B.js +1 -0
- package/assets/_omit-monaco-features_typescript-D_BnRRMx.js +1 -0
- package/assets/antimono-400-b0f584bd.woff2 +0 -0
- package/assets/antimono-400-italic-09f4c1ae.woff2 +0 -0
- package/assets/antimono-700-2072e038.woff2 +0 -0
- package/assets/antimono-700-italic-78952312.woff2 +0 -0
- package/assets/antimono-XFdMCgZb.js +2 -0
- package/assets/antimono-zBXMptjq.css +1 -1
- package/assets/bat-DkMb6tS9.js +1 -0
- package/assets/bicep-gz7oXw8V.js +2 -0
- package/assets/clojure-BeArCv4U.js +1 -0
- package/assets/codicon-77f90255.ttf +0 -0
- package/assets/coffee-hLOn_V5A.js +1 -0
- package/assets/cpp-DxRo2s7O.js +1 -0
- package/assets/csharp-C1LINnKt.js +1 -0
- package/assets/css-1Eg8GPA8.js +3 -0
- package/assets/cypher-Ca1JvSwk.js +1 -0
- package/assets/dart-Bje7CIuI.js +1 -0
- package/assets/dist-DiJdi6br.js +11 -0
- package/assets/dockerfile-DZFCIeNp.js +1 -0
- package/assets/editor.api-ClTSSybg.js +912 -0
- package/assets/editorWebWorkerMain-9q7AG3J9.js +1 -0
- package/assets/editorWebWorkerMain-BeKU-a3I.js +33 -0
- package/assets/elixir-6RTg0lbw.js +1 -0
- package/assets/fsharp-p7RecL-a.js +1 -0
- package/assets/go-B21Jr2Lc.js +1 -0
- package/assets/graphql-fmXr3nnJ.js +1 -0
- package/assets/handlebars-CyuWwLhs.js +1 -0
- package/assets/hcl-CpzslTdj.js +1 -0
- package/assets/html-D-6ViuBT.js +1 -0
- package/assets/ini-sBoK_t0W.js +1 -0
- package/assets/java-ByyLeZXC.js +1 -0
- package/assets/javascript-Cs-KDyqn.js +1 -0
- package/assets/{json.worker-CAiVr-gV.js → json.worker-BO5JkV3c.js} +6 -6
- package/assets/json.worker-D4KZT3k0.js +1 -0
- package/assets/jsonMode-CgXNHhiW.js +12 -0
- package/assets/julia-BNQOXozl.js +1 -0
- package/assets/kotlin-fjNqnENY.js +1 -0
- package/assets/less-B9-X_OHM.js +2 -0
- package/assets/liquid-Co_Rw9yK.js +1 -0
- package/assets/lua-CsQS60Ue.js +1 -0
- package/assets/main-DhJSBJDT.js +1 -0
- package/assets/main-HAVFq1WZ.js +1 -0
- package/assets/main-e2I2uRcQ.js +1 -0
- package/assets/markdown-D9M8UCDQ.js +1 -0
- package/assets/mdx-QikHivq4.js +1 -0
- package/assets/mips-DwkTBQD5.js +1 -0
- package/assets/monaco-9bd99409.css +3 -0
- package/assets/monaco-BPDUy015.js +59 -0
- package/assets/mysql-B9tHR_c9.js +1 -0
- package/assets/objective-c-Csug38Zp.js +1 -0
- package/assets/pascal-BruRBdsr.js +1 -0
- package/assets/perl-Dql_Egn0.js +1 -0
- package/assets/pgsql-DI4tfWYt.js +1 -0
- package/assets/php-DjHJy6xV.js +1 -0
- package/assets/powershell-DOR_yACD.js +1 -0
- package/assets/protobuf-B6qBET1H.js +2 -0
- package/assets/pug-BC7GTg9W.js +1 -0
- package/assets/python-ywrvpsv-.js +1 -0
- package/assets/r-B-J1yMT1.js +1 -0
- package/assets/redis-DZRGuxk2.js +1 -0
- package/assets/ruby-aklVn8qB.js +1 -0
- package/assets/rust-nh76nEti.js +1 -0
- package/assets/scala-BvnaqAb1.js +1 -0
- package/assets/scss-9xZSuRET.js +3 -0
- package/assets/shell-BOwo4WfX.js +1 -0
- package/assets/solidity-hGP85dDs.js +1 -0
- package/assets/sql-CIrXk7iQ.js +1 -0
- package/assets/swift-B0ETVgO9.js +1 -0
- package/assets/systemverilog-C0rJIDsQ.js +1 -0
- package/assets/twig-B_taSrVf.js +1 -0
- package/assets/typescript-pjjiBLxk.js +1 -0
- package/assets/typespec-uhVOI7Qs.js +1 -0
- package/assets/vb-4iFT4G4y.js +1 -0
- package/assets/wgsl-DpFanUEy.js +298 -0
- package/assets/xml-CuyY6WsM.js +1 -0
- package/assets/yaml-BDf1vVDq.js +1 -0
- package/assets/yaml.worker-D0QDX0Zj.js +1 -0
- package/assets/yaml.worker-DD5NU0Ed.js +431 -0
- package/package.json +1 -1
- package/src/main.js +19 -19
- package/assets/antimono-ClsI0fxy.js +0 -5
- package/assets/bat-CAz1OfAu.js +0 -125
- package/assets/bicep-B6UDBWZN.js +0 -220
- package/assets/clojure-BmcSQAck.js +0 -148
- package/assets/coffee-BjQKeqpj.js +0 -262
- package/assets/cpp-SbfDT5PL.js +0 -232
- package/assets/csharp-DIgVBsD4.js +0 -262
- package/assets/css-CyL9hcFb.js +0 -286
- package/assets/css.worker-BIsSvM_Q.js +0 -96
- package/assets/css.worker-ZGAWMrD5.js +0 -6
- package/assets/cssMode-CJXOwqou.js +0 -65
- package/assets/cypher-CFQunzEa.js +0 -214
- package/assets/dart-DeIsDVRt.js +0 -238
- package/assets/dist-Bx9hOuoB.js +0 -624
- package/assets/dockerfile-Yk3LuDQk.js +0 -193
- package/assets/editor.api-BzOtwRIu.js +0 -85776
- package/assets/editorWebWorkerMain-5pwK50BL.js +0 -6
- package/assets/editorWebWorkerMain-BioN9fGU.js +0 -33
- package/assets/elixir-y_NY5k67.js +0 -525
- package/assets/fsharp-DdRbc-sH.js +0 -149
- package/assets/go-D7w79i6g.js +0 -167
- package/assets/graphql-BsDuKp-c.js +0 -176
- package/assets/handlebars-CBxzRnT2.js +0 -412
- package/assets/hcl-CXnaLDBx.js +0 -221
- package/assets/html-2O_gNlhN.js +0 -333
- package/assets/html.worker-CEvqvEpu.js +0 -509
- package/assets/html.worker-CjDeE2MB.js +0 -6
- package/assets/htmlMode-DXEYjoJO.js +0 -74
- package/assets/ini-DAoNsTkV.js +0 -96
- package/assets/java-Cp0vrvO9.js +0 -175
- package/assets/javascript-b4MphFng.js +0 -20
- package/assets/json.worker-C4u3dDHp.js +0 -6
- package/assets/jsonMode-CJ6m-6ix.js +0 -450
- package/assets/julia-CVutXSdh.js +0 -416
- package/assets/kotlin-DYeWZuUb.js +0 -184
- package/assets/less-INmgXeDn.js +0 -244
- package/assets/liquid-vTiq1Xyj.js +0 -199
- package/assets/lspLanguageFeatures-bOiKIJ8R.js +0 -1455
- package/assets/lua-COF3XwLj.js +0 -202
- package/assets/main-16cPxgwS.js +0 -107
- package/assets/main-CB71Lf5W.js +0 -129
- package/assets/main-HEYSEiwe.js +0 -66
- package/assets/markdown-CCGC2kAW.js +0 -264
- package/assets/mdx-CDmJWd6e.js +0 -329
- package/assets/mips-ll8pdQLQ.js +0 -130
- package/assets/monaco-d37b1a8f.css +0 -3
- package/assets/monaco-eCLjoH9K.js +0 -40922
- package/assets/mysql-CnCmYLcK.js +0 -170
- package/assets/objective-c-D-xZGaTr.js +0 -146
- package/assets/pascal-CKVRL3bp.js +0 -178
- package/assets/perl-DqL2sfnN.js +0 -318
- package/assets/pgsql-BpvbArh-.js +0 -160
- package/assets/php-BbqlrNqC.js +0 -473
- package/assets/powershell-0oEoSDwW.js +0 -213
- package/assets/protobuf-DlOMtU4U.js +0 -661
- package/assets/pug-CTxaaQKP.js +0 -302
- package/assets/python-H0euVUAi.js +0 -254
- package/assets/r-DF_g8_2l.js +0 -191
- package/assets/redis-B09Z6nB5.js +0 -125
- package/assets/ruby-CWBObvDC.js +0 -529
- package/assets/rust-DdLDSWVK.js +0 -180
- package/assets/scala-Bg3GaqPc.js +0 -553
- package/assets/scss-D-qk8UVY.js +0 -419
- package/assets/shell-CpVOERQd.js +0 -225
- package/assets/solidity-CVmhJ22u.js +0 -149
- package/assets/sql-DHvzW7ba.js +0 -173
- package/assets/swift-DIkzszb_.js +0 -215
- package/assets/systemverilog-T3rz_k7V.js +0 -300
- package/assets/ts.worker-BydNuElr.js +0 -6
- package/assets/ts.worker-DZhhT1EO.js +0 -67741
- package/assets/tsMode-x1GCvxZU.js +0 -566
- package/assets/twig-CWOr6DII.js +0 -390
- package/assets/typescript-DGfbroT9.js +0 -257
- package/assets/typespec-4ubJw-FV.js +0 -236
- package/assets/vb-SSAHHOVh.js +0 -262
- package/assets/wgsl-hf5cqFtC.js +0 -147
- package/assets/xml-Bz6VGB5E.js +0 -130
- package/assets/yaml-D00PSO5v.js +0 -223
- package/assets/yaml.worker-DzOKX3TP.js +0 -474
- package/assets/yaml.worker-Y0uWi-gi.js +0 -6
|
@@ -1,300 +0,0 @@
|
|
|
1
|
-
//#region node_modules/monaco-editor/esm/vs/languages/definitions/systemverilog/systemverilog.js
|
|
2
|
-
var e = {
|
|
3
|
-
comments: {
|
|
4
|
-
lineComment: "//",
|
|
5
|
-
blockComment: ["/*", "*/"]
|
|
6
|
-
},
|
|
7
|
-
brackets: [
|
|
8
|
-
["{", "}"],
|
|
9
|
-
["[", "]"],
|
|
10
|
-
["(", ")"],
|
|
11
|
-
["begin", "end"],
|
|
12
|
-
["case", "endcase"],
|
|
13
|
-
["casex", "endcase"],
|
|
14
|
-
["casez", "endcase"],
|
|
15
|
-
["checker", "endchecker"],
|
|
16
|
-
["class", "endclass"],
|
|
17
|
-
["clocking", "endclocking"],
|
|
18
|
-
["config", "endconfig"],
|
|
19
|
-
["function", "endfunction"],
|
|
20
|
-
["generate", "endgenerate"],
|
|
21
|
-
["group", "endgroup"],
|
|
22
|
-
["interface", "endinterface"],
|
|
23
|
-
["module", "endmodule"],
|
|
24
|
-
["package", "endpackage"],
|
|
25
|
-
["primitive", "endprimitive"],
|
|
26
|
-
["program", "endprogram"],
|
|
27
|
-
["property", "endproperty"],
|
|
28
|
-
["specify", "endspecify"],
|
|
29
|
-
["sequence", "endsequence"],
|
|
30
|
-
["table", "endtable"],
|
|
31
|
-
["task", "endtask"]
|
|
32
|
-
],
|
|
33
|
-
autoClosingPairs: [
|
|
34
|
-
{
|
|
35
|
-
open: "[",
|
|
36
|
-
close: "]"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
open: "{",
|
|
40
|
-
close: "}"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
open: "(",
|
|
44
|
-
close: ")"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
open: "'",
|
|
48
|
-
close: "'",
|
|
49
|
-
notIn: ["string", "comment"]
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
open: "\"",
|
|
53
|
-
close: "\"",
|
|
54
|
-
notIn: ["string"]
|
|
55
|
-
}
|
|
56
|
-
],
|
|
57
|
-
surroundingPairs: [
|
|
58
|
-
{
|
|
59
|
-
open: "{",
|
|
60
|
-
close: "}"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
open: "[",
|
|
64
|
-
close: "]"
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
open: "(",
|
|
68
|
-
close: ")"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
open: "\"",
|
|
72
|
-
close: "\""
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
open: "'",
|
|
76
|
-
close: "'"
|
|
77
|
-
}
|
|
78
|
-
],
|
|
79
|
-
folding: {
|
|
80
|
-
offSide: !1,
|
|
81
|
-
markers: {
|
|
82
|
-
start: /* @__PURE__ */ RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:begin|case(x|z)?|class|clocking|config|covergroup|function|generate|interface|module|package|primitive|property|program|sequence|specify|table|task)\\b"),
|
|
83
|
-
end: /* @__PURE__ */ RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:end|endcase|endclass|endclocking|endconfig|endgroup|endfunction|endgenerate|endinterface|endmodule|endpackage|endprimitive|endproperty|endprogram|endsequence|endspecify|endtable|endtask)\\b")
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}, t = {
|
|
87
|
-
defaultToken: "",
|
|
88
|
-
tokenPostfix: ".sv",
|
|
89
|
-
brackets: [
|
|
90
|
-
{
|
|
91
|
-
token: "delimiter.curly",
|
|
92
|
-
open: "{",
|
|
93
|
-
close: "}"
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
token: "delimiter.parenthesis",
|
|
97
|
-
open: "(",
|
|
98
|
-
close: ")"
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
token: "delimiter.square",
|
|
102
|
-
open: "[",
|
|
103
|
-
close: "]"
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
token: "delimiter.angle",
|
|
107
|
-
open: "<",
|
|
108
|
-
close: ">"
|
|
109
|
-
}
|
|
110
|
-
],
|
|
111
|
-
keywords: /* @__PURE__ */ "accept_on.alias.always.always_comb.always_ff.always_latch.and.assert.assign.assume.automatic.before.begin.bind.bins.binsof.bit.break.buf.bufif0.bufif1.byte.case.casex.casez.cell.chandle.checker.class.clocking.cmos.config.const.constraint.context.continue.cover.covergroup.coverpoint.cross.deassign.default.defparam.design.disable.dist.do.edge.else.end.endcase.endchecker.endclass.endclocking.endconfig.endfunction.endgenerate.endgroup.endinterface.endmodule.endpackage.endprimitive.endprogram.endproperty.endspecify.endsequence.endtable.endtask.enum.event.eventually.expect.export.extends.extern.final.first_match.for.force.foreach.forever.fork.forkjoin.function.generate.genvar.global.highz0.highz1.if.iff.ifnone.ignore_bins.illegal_bins.implements.implies.import.incdir.include.initial.inout.input.inside.instance.int.integer.interconnect.interface.intersect.join.join_any.join_none.large.let.liblist.library.local.localparam.logic.longint.macromodule.matches.medium.modport.module.nand.negedge.nettype.new.nexttime.nmos.nor.noshowcancelled.not.notif0.notif1.null.or.output.package.packed.parameter.pmos.posedge.primitive.priority.program.property.protected.pull0.pull1.pulldown.pullup.pulsestyle_ondetect.pulsestyle_onevent.pure.rand.randc.randcase.randsequence.rcmos.real.realtime.ref.reg.reject_on.release.repeat.restrict.return.rnmos.rpmos.rtran.rtranif0.rtranif1.s_always.s_eventually.s_nexttime.s_until.s_until_with.scalared.sequence.shortint.shortreal.showcancelled.signed.small.soft.solve.specify.specparam.static.string.strong.strong0.strong1.struct.super.supply0.supply1.sync_accept_on.sync_reject_on.table.tagged.task.this.throughout.time.timeprecision.timeunit.tran.tranif0.tranif1.tri.tri0.tri1.triand.trior.trireg.type.typedef.union.unique.unique0.unsigned.until.until_with.untyped.use.uwire.var.vectored.virtual.void.wait.wait_order.wand.weak.weak0.weak1.while.wildcard.wire.with.within.wor.xnor.xor".split("."),
|
|
112
|
-
builtin_gates: [
|
|
113
|
-
"and",
|
|
114
|
-
"nand",
|
|
115
|
-
"nor",
|
|
116
|
-
"or",
|
|
117
|
-
"xor",
|
|
118
|
-
"xnor",
|
|
119
|
-
"buf",
|
|
120
|
-
"not",
|
|
121
|
-
"bufif0",
|
|
122
|
-
"bufif1",
|
|
123
|
-
"notif1",
|
|
124
|
-
"notif0",
|
|
125
|
-
"cmos",
|
|
126
|
-
"nmos",
|
|
127
|
-
"pmos",
|
|
128
|
-
"rcmos",
|
|
129
|
-
"rnmos",
|
|
130
|
-
"rpmos",
|
|
131
|
-
"tran",
|
|
132
|
-
"tranif1",
|
|
133
|
-
"tranif0",
|
|
134
|
-
"rtran",
|
|
135
|
-
"rtranif1",
|
|
136
|
-
"rtranif0"
|
|
137
|
-
],
|
|
138
|
-
operators: /* @__PURE__ */ "=.+=.-=.*=./=.%=.&=.|=.^=.<<=.>>+.<<<=.>>>=.?.:.+.-.!.~.&.~&.|.~|.^.~^.^~.+.-.*./.%.==.!=.===.!==.==?.!=?.&&.||.**.<.<=.>.>=.&.|.^.>>.<<.>>>.<<<.++.--.->.<->.inside.dist.::.+:.-:.*>.&&&.|->.|=>.#=#".split("."),
|
|
139
|
-
symbols: /[=><!~?:&|+\-*\/\^%#]+/,
|
|
140
|
-
escapes: /%%|\\(?:[antvf\\"']|x[0-9A-Fa-f]{1,2}|[0-7]{1,3})/,
|
|
141
|
-
identifier: /(?:[a-zA-Z_][a-zA-Z0-9_$\.]*|\\\S+ )/,
|
|
142
|
-
systemcall: /[$][a-zA-Z0-9_]+/,
|
|
143
|
-
timeunits: /s|ms|us|ns|ps|fs/,
|
|
144
|
-
tokenizer: {
|
|
145
|
-
root: [
|
|
146
|
-
[/^(\s*)(@identifier)/, ["", { cases: {
|
|
147
|
-
"@builtin_gates": {
|
|
148
|
-
token: "keyword.$2",
|
|
149
|
-
next: "@module_instance"
|
|
150
|
-
},
|
|
151
|
-
table: {
|
|
152
|
-
token: "keyword.$2",
|
|
153
|
-
next: "@table"
|
|
154
|
-
},
|
|
155
|
-
"@keywords": { token: "keyword.$2" },
|
|
156
|
-
"@default": {
|
|
157
|
-
token: "identifier",
|
|
158
|
-
next: "@module_instance"
|
|
159
|
-
}
|
|
160
|
-
} }]],
|
|
161
|
-
[/^\s*`include/, {
|
|
162
|
-
token: "keyword.directive.include",
|
|
163
|
-
next: "@include"
|
|
164
|
-
}],
|
|
165
|
-
[/^\s*`\s*\w+/, "keyword"],
|
|
166
|
-
{ include: "@identifier_or_keyword" },
|
|
167
|
-
{ include: "@whitespace" },
|
|
168
|
-
[/\(\*.*\*\)/, "annotation"],
|
|
169
|
-
[/@systemcall/, "variable.predefined"],
|
|
170
|
-
[/[{}()\[\]]/, "@brackets"],
|
|
171
|
-
[/[<>](?!@symbols)/, "@brackets"],
|
|
172
|
-
[/@symbols/, { cases: {
|
|
173
|
-
"@operators": "delimiter",
|
|
174
|
-
"@default": ""
|
|
175
|
-
} }],
|
|
176
|
-
{ include: "@numbers" },
|
|
177
|
-
[/[;,.]/, "delimiter"],
|
|
178
|
-
{ include: "@strings" }
|
|
179
|
-
],
|
|
180
|
-
identifier_or_keyword: [[/@identifier/, { cases: {
|
|
181
|
-
"@keywords": { token: "keyword.$0" },
|
|
182
|
-
"@default": "identifier"
|
|
183
|
-
} }]],
|
|
184
|
-
numbers: [
|
|
185
|
-
[/\d+?[\d_]*(?:\.[\d_]+)?[eE][\-+]?\d+/, "number.float"],
|
|
186
|
-
[/\d+?[\d_]*\.[\d_]+(?:\s*@timeunits)?/, "number.float"],
|
|
187
|
-
[/(?:\d+?[\d_]*\s*)?'[sS]?[dD]\s*[0-9xXzZ?]+?[0-9xXzZ?_]*/, "number"],
|
|
188
|
-
[/(?:\d+?[\d_]*\s*)?'[sS]?[bB]\s*[0-1xXzZ?]+?[0-1xXzZ?_]*/, "number.binary"],
|
|
189
|
-
[/(?:\d+?[\d_]*\s*)?'[sS]?[oO]\s*[0-7xXzZ?]+?[0-7xXzZ?_]*/, "number.octal"],
|
|
190
|
-
[/(?:\d+?[\d_]*\s*)?'[sS]?[hH]\s*[0-9a-fA-FxXzZ?]+?[0-9a-fA-FxXzZ?_]*/, "number.hex"],
|
|
191
|
-
[/1step/, "number"],
|
|
192
|
-
[/[\dxXzZ]+?[\dxXzZ_]*(?:\s*@timeunits)?/, "number"],
|
|
193
|
-
[/'[01xXzZ]+/, "number"]
|
|
194
|
-
],
|
|
195
|
-
module_instance: [
|
|
196
|
-
{ include: "@whitespace" },
|
|
197
|
-
[/(#?)(\()/, ["", {
|
|
198
|
-
token: "@brackets",
|
|
199
|
-
next: "@port_connection"
|
|
200
|
-
}]],
|
|
201
|
-
[/@identifier\s*[;={}\[\],]/, {
|
|
202
|
-
token: "@rematch",
|
|
203
|
-
next: "@pop"
|
|
204
|
-
}],
|
|
205
|
-
[/@symbols|[;={}\[\],]/, {
|
|
206
|
-
token: "@rematch",
|
|
207
|
-
next: "@pop"
|
|
208
|
-
}],
|
|
209
|
-
[/@identifier/, "type"],
|
|
210
|
-
[
|
|
211
|
-
/;/,
|
|
212
|
-
"delimiter",
|
|
213
|
-
"@pop"
|
|
214
|
-
]
|
|
215
|
-
],
|
|
216
|
-
port_connection: [
|
|
217
|
-
{ include: "@identifier_or_keyword" },
|
|
218
|
-
{ include: "@whitespace" },
|
|
219
|
-
[/@systemcall/, "variable.predefined"],
|
|
220
|
-
{ include: "@numbers" },
|
|
221
|
-
{ include: "@strings" },
|
|
222
|
-
[/[,]/, "delimiter"],
|
|
223
|
-
[
|
|
224
|
-
/\(/,
|
|
225
|
-
"@brackets",
|
|
226
|
-
"@port_connection"
|
|
227
|
-
],
|
|
228
|
-
[
|
|
229
|
-
/\)/,
|
|
230
|
-
"@brackets",
|
|
231
|
-
"@pop"
|
|
232
|
-
]
|
|
233
|
-
],
|
|
234
|
-
whitespace: [
|
|
235
|
-
[/[ \t\r\n]+/, ""],
|
|
236
|
-
[
|
|
237
|
-
/\/\*/,
|
|
238
|
-
"comment",
|
|
239
|
-
"@comment"
|
|
240
|
-
],
|
|
241
|
-
[/\/\/.*$/, "comment"]
|
|
242
|
-
],
|
|
243
|
-
comment: [
|
|
244
|
-
[/[^\/*]+/, "comment"],
|
|
245
|
-
[
|
|
246
|
-
/\*\//,
|
|
247
|
-
"comment",
|
|
248
|
-
"@pop"
|
|
249
|
-
],
|
|
250
|
-
[/[\/*]/, "comment"]
|
|
251
|
-
],
|
|
252
|
-
strings: [[/"([^"\\]|\\.)*$/, "string.invalid"], [
|
|
253
|
-
/"/,
|
|
254
|
-
"string",
|
|
255
|
-
"@string"
|
|
256
|
-
]],
|
|
257
|
-
string: [
|
|
258
|
-
[/[^\\"]+/, "string"],
|
|
259
|
-
[/@escapes/, "string.escape"],
|
|
260
|
-
[/\\./, "string.escape.invalid"],
|
|
261
|
-
[
|
|
262
|
-
/"/,
|
|
263
|
-
"string",
|
|
264
|
-
"@pop"
|
|
265
|
-
]
|
|
266
|
-
],
|
|
267
|
-
include: [[/(\s*)(")([\w*\/*]*)(.\w*)(")/, [
|
|
268
|
-
"",
|
|
269
|
-
"string.include.identifier",
|
|
270
|
-
"string.include.identifier",
|
|
271
|
-
"string.include.identifier",
|
|
272
|
-
{
|
|
273
|
-
token: "string.include.identifier",
|
|
274
|
-
next: "@pop"
|
|
275
|
-
}
|
|
276
|
-
]], [/(\s*)(<)([\w*\/*]*)(.\w*)(>)/, [
|
|
277
|
-
"",
|
|
278
|
-
"string.include.identifier",
|
|
279
|
-
"string.include.identifier",
|
|
280
|
-
"string.include.identifier",
|
|
281
|
-
{
|
|
282
|
-
token: "string.include.identifier",
|
|
283
|
-
next: "@pop"
|
|
284
|
-
}
|
|
285
|
-
]]],
|
|
286
|
-
table: [
|
|
287
|
-
{ include: "@whitespace" },
|
|
288
|
-
[/[()]/, "@brackets"],
|
|
289
|
-
[/[:;]/, "delimiter"],
|
|
290
|
-
[/[01\-*?xXbBrRfFpPnN]/, "variable.predefined"],
|
|
291
|
-
[
|
|
292
|
-
"endtable",
|
|
293
|
-
"keyword.endtable",
|
|
294
|
-
"@pop"
|
|
295
|
-
]
|
|
296
|
-
]
|
|
297
|
-
}
|
|
298
|
-
};
|
|
299
|
-
//#endregion
|
|
300
|
-
export { e as conf, t as language };
|