@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.
@@ -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;
@@ -14,6 +14,7 @@ export default class ParserVisitor extends ParserUtils {
14
14
  private _isNeedCalc;
15
15
  private _blockCount;
16
16
  private _isInFunc;
17
+ private _currentExportFunc?;
17
18
  private _onlyStatementsCount;
18
19
  private _blockRanges;
19
20
  private _overloadsFuncs;