@guihz/trading-vue-editor-tes 0.0.74 → 0.0.76
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/assets/{parserTccWorker-mM0z-Mci.js → parserTccWorker-C7fkhc8h.js} +83 -65
- package/lib/assets/{scriptsRunWorker-C-CbdlH1.js → scriptsRunWorker-Bq1EpqOm.js} +23 -23
- package/lib/components/editor/parseScript/constants.d.ts +6 -1
- package/lib/components/editor/parseScript/parseToJs.d.ts +1 -0
- package/lib/components/editor/parseScript/visitorParser.d.ts +1 -0
- package/lib/trading-vue-editor.js +964 -999
- package/lib/trading-vue-editor.umd.cjs +15 -15
- package/package.json +1 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import { VType } from "./enum";
|
1
|
+
import { VFormatType, VType } from "./enum";
|
2
2
|
export declare const ERRORS_TIPS: {
|
3
3
|
onlyInLoop: string;
|
4
4
|
invalidType: string;
|
@@ -58,6 +58,9 @@ export declare const ERRORS_TIPS: {
|
|
58
58
|
importNameRepeatErr: string;
|
59
59
|
exportFuncHasInputErr: string;
|
60
60
|
libraryTitleIsKeywordErr: string;
|
61
|
+
exportFuncUseGlobalVarErr: string;
|
62
|
+
loopRuntimeErr: string;
|
63
|
+
indicatorFormatErr: string;
|
61
64
|
};
|
62
65
|
export declare const WARNING_TIPS: {
|
63
66
|
repeatVar: string;
|
@@ -251,3 +254,5 @@ export declare const DEFAULT_EXPORT_TEST: {
|
|
251
254
|
codeStr: string;
|
252
255
|
};
|
253
256
|
export declare const JS_KEYWORDS: string[];
|
257
|
+
export declare const TCC_KEYWORDS: string[];
|
258
|
+
export declare const INDICATOR_FORMATS: VFormatType[];
|
@@ -10,6 +10,7 @@ export default class ParseToJs {
|
|
10
10
|
private _memberIndexList;
|
11
11
|
private _blockCount;
|
12
12
|
private _inputCount;
|
13
|
+
private _count;
|
13
14
|
constructor(prefix: string);
|
14
15
|
preParser(values: IKeyObjectValue[]): string | undefined;
|
15
16
|
parser(values: IKeyObjectValue[]): string | undefined;
|