@guihz/trading-vue-editor-tes 0.1.62 → 0.1.63
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/lib/assets/{parserTccWorker-DNjcb8Nl.js → parserTccWorker-Bpuz4vCT.js} +18 -3
- package/lib/components/editor/v4/parseScript/visitorParser.d.ts +1 -1
- package/lib/components/editor/v5/parseScript/visitorParser.d.ts +1 -1
- package/lib/components/editor/v6/parseScript/visitorParser.d.ts +1 -1
- package/lib/trading-vue-editor.es.packages.js +363 -361
- package/lib/trading-vue-editor.umd.packages.mjs +2 -2
- package/package.json +1 -1
|
@@ -60092,12 +60092,17 @@ Input files:
|
|
|
60092
60092
|
const i = [];
|
|
60093
60093
|
for (; n < t.length; n++) {
|
|
60094
60094
|
const s = t[n];
|
|
60095
|
-
s.ruleIndex === e0.RULE_formalParameterArg
|
|
60095
|
+
if (s.ruleIndex === e0.RULE_formalParameterArg) {
|
|
60096
|
+
const o = this.visit(s);
|
|
60097
|
+
o && i.push(o);
|
|
60098
|
+
}
|
|
60096
60099
|
}
|
|
60097
60100
|
return i;
|
|
60098
60101
|
};
|
|
60099
60102
|
visitFormalParameterArg = (e) => {
|
|
60100
60103
|
const { children: t } = e;
|
|
60104
|
+
if (!t)
|
|
60105
|
+
return;
|
|
60101
60106
|
let n = 0;
|
|
60102
60107
|
const i = {};
|
|
60103
60108
|
for (; n < t.length; n++) {
|
|
@@ -77692,12 +77697,17 @@ ${this._prefixNameVar}.setCacheData("m${b}_" + ${f}, ${m})
|
|
|
77692
77697
|
const i = [];
|
|
77693
77698
|
for (; n < t.length; n++) {
|
|
77694
77699
|
const s = t[n];
|
|
77695
|
-
s.ruleIndex === I.RULE_formalParameterArg
|
|
77700
|
+
if (s.ruleIndex === I.RULE_formalParameterArg) {
|
|
77701
|
+
const o = this.visit(s);
|
|
77702
|
+
o && i.push(o);
|
|
77703
|
+
}
|
|
77696
77704
|
}
|
|
77697
77705
|
return i;
|
|
77698
77706
|
};
|
|
77699
77707
|
visitFormalParameterArg = (e) => {
|
|
77700
77708
|
const { children: t } = e;
|
|
77709
|
+
if (!t)
|
|
77710
|
+
return;
|
|
77701
77711
|
let n = 0;
|
|
77702
77712
|
const i = {};
|
|
77703
77713
|
for (; n < t.length; n++) {
|
|
@@ -96426,12 +96436,17 @@ ${this._prefixNameVar}.setCacheData("m${b}_" + ${f}, ${m})
|
|
|
96426
96436
|
const i = [];
|
|
96427
96437
|
for (; n < t.length; n++) {
|
|
96428
96438
|
const s = t[n];
|
|
96429
|
-
s.ruleIndex === N.RULE_formalParameterArg
|
|
96439
|
+
if (s.ruleIndex === N.RULE_formalParameterArg) {
|
|
96440
|
+
const o = this.visit(s);
|
|
96441
|
+
o && i.push(o);
|
|
96442
|
+
}
|
|
96430
96443
|
}
|
|
96431
96444
|
return i;
|
|
96432
96445
|
};
|
|
96433
96446
|
visitFormalParameterArg = (e) => {
|
|
96434
96447
|
const { children: t } = e;
|
|
96448
|
+
if (!t)
|
|
96449
|
+
return;
|
|
96435
96450
|
let n = 0;
|
|
96436
96451
|
const i = {};
|
|
96437
96452
|
for (; n < t.length; n++) {
|
|
@@ -207,7 +207,7 @@ export default class ParserVisitor extends ParserUtils {
|
|
|
207
207
|
visitArrowFunction: (ctx: IKeyObjectValue) => IKeyObjectValue;
|
|
208
208
|
visitArrowFunctionParameters: (ctx: IKeyObjectValue) => IKeyObjectValue[];
|
|
209
209
|
visitFormalParameterList: (ctx: IKeyObjectValue) => IKeyObjectValue[];
|
|
210
|
-
visitFormalParameterArg: (ctx: IKeyObjectValue) => IKeyObjectValue;
|
|
210
|
+
visitFormalParameterArg: (ctx: IKeyObjectValue) => IKeyObjectValue | undefined;
|
|
211
211
|
private _verifyArgsDefaultValue;
|
|
212
212
|
visitAssignmentOperator: (ctx: IKeyObjectValue) => any;
|
|
213
213
|
visitTypeArray: (ctx: IKeyObjectValue) => string;
|
|
@@ -238,7 +238,7 @@ export default class ParserVisitor extends ParserUtils {
|
|
|
238
238
|
visitArrowFunction: (ctx: IKeyObjectValue) => IKeyObjectValue;
|
|
239
239
|
visitArrowFunctionParameters: (ctx: IKeyObjectValue) => IKeyObjectValue[];
|
|
240
240
|
visitFormalParameterList: (ctx: IKeyObjectValue) => IKeyObjectValue[];
|
|
241
|
-
visitFormalParameterArg: (ctx: IKeyObjectValue) => IKeyObjectValue;
|
|
241
|
+
visitFormalParameterArg: (ctx: IKeyObjectValue) => IKeyObjectValue | undefined;
|
|
242
242
|
private _verifyArgsDefaultValue;
|
|
243
243
|
visitArrowMethod: (ctx: IKeyObjectValue) => IKeyObjectValue;
|
|
244
244
|
private _exportArgsTypeVerify;
|
|
@@ -242,7 +242,7 @@ export default class ParserVisitor extends ParserUtils {
|
|
|
242
242
|
visitArrowFunction: (ctx: IKeyObjectValue) => IKeyObjectValue;
|
|
243
243
|
visitArrowFunctionParameters: (ctx: IKeyObjectValue) => IKeyObjectValue[];
|
|
244
244
|
visitFormalParameterList: (ctx: IKeyObjectValue) => IKeyObjectValue[];
|
|
245
|
-
visitFormalParameterArg: (ctx: IKeyObjectValue) => IKeyObjectValue;
|
|
245
|
+
visitFormalParameterArg: (ctx: IKeyObjectValue) => IKeyObjectValue | undefined;
|
|
246
246
|
private _verifyArgsDefaultValue;
|
|
247
247
|
visitArrowMethod: (ctx: IKeyObjectValue) => IKeyObjectValue;
|
|
248
248
|
private _exportArgsTypeVerify;
|