@guihz/trading-vue-editor-tes 0.0.60 → 0.0.62

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.
@@ -11,6 +11,7 @@ export default class ParseToLibJs {
11
11
  private _blockCount;
12
12
  private _libTitle;
13
13
  private _exportEles;
14
+ private _inputCount;
14
15
  constructor(prefix: string, title: string);
15
16
  parser(values: IKeyObjectValue[]): string | undefined;
16
17
  private _parserStmt;
@@ -263,6 +263,7 @@ export default class ParserVisitor extends ParserUtils {
263
263
  private _setCopyMethod;
264
264
  private _setFunc;
265
265
  private _setMethod;
266
+ private _verifyFuncRepeat;
266
267
  private _getMethodTypes;
267
268
  private _globalFuncVerify;
268
269
  private _hasMemberIndexVerify;
@@ -50,6 +50,7 @@ export interface IDocValue {
50
50
  declare?: string;
51
51
  valueType?: string;
52
52
  defaultValue?: any;
53
+ index?: number;
53
54
  }
54
55
  export interface IDetailedDesc {
55
56
  desc: string[];
@@ -0,0 +1,29 @@
1
+ import { IKeyObjectValue } from '../type';
2
+ export declare function parseTcc(val: string, hasTranscoding?: boolean): Promise<{
3
+ errors: any[];
4
+ functions: {
5
+ [k: string]: import("../type").IDocValue[];
6
+ };
7
+ variables: {
8
+ [k: string]: import("../type").IDocValue[];
9
+ };
10
+ types: {
11
+ [k: string]: import("../type").IDocValue[];
12
+ };
13
+ methods: {
14
+ [k: string]: import("../type").IDocValue[];
15
+ };
16
+ overloadsFuncs: import("../type").IKeyValue[];
17
+ codeStr: string;
18
+ preParserCode: string | undefined;
19
+ }>;
20
+ export declare function scriptsRun(strJs: string, data: IKeyObjectValue, isNew?: boolean): Promise<{
21
+ status: number;
22
+ errors: any;
23
+ options?: undefined;
24
+ } | {
25
+ status: number;
26
+ options: any;
27
+ errors?: undefined;
28
+ }>;
29
+ export declare function removeScript(id: string): Promise<void>;
@@ -0,0 +1,15 @@
1
+ import { IKeyObjectValue } from '../type';
2
+ export declare function runScript(strJs: string, options: IKeyObjectValue, isNew: boolean): {
3
+ status: number;
4
+ errors: any;
5
+ options?: undefined;
6
+ } | {
7
+ status: number;
8
+ options: any;
9
+ errors?: undefined;
10
+ };
11
+ export declare function removeScript(id: string): void;
12
+ export interface IScriptWorker {
13
+ runScript: typeof runScript;
14
+ removeScript: typeof removeScript;
15
+ }