@shd101wyy/yo 0.1.27 → 0.1.28

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.
@@ -85,6 +85,7 @@ export declare function addVariableToFrame({ frame, variable, }: {
85
85
  frame: Frame;
86
86
  variable: Variable;
87
87
  }): Frame;
88
+ export declare function _printFrameIndexStats(): void;
88
89
  export declare function getVariablesFromFrame(frame: Frame, variableName: string, variableFilter?: (variable: Variable) => boolean): Variable[];
89
90
  export declare function getVariablesFromEnv(env: Environment, variableName: string, variableFilter?: (variable: Variable) => boolean): Variable[];
90
91
  export declare function findVariableFrameLevel(env: Environment, variableName: string): number | undefined;
@@ -25,7 +25,7 @@ export declare function checkIfFunctionParameterMatchesArgument({ functionType,
25
25
  };
26
26
  export declare function extractFunctionValue(value: Value | undefined): FunctionValue | undefined;
27
27
  export declare function _printCallProfile(): void;
28
- export declare function tryToCallFunctionWithArguments({ expr, functionValue, functionType, functionCalleeExpr, argExprs, callerEnv, context, isMethodCall, skipSpecialization, skipCtfeExecution, }: {
28
+ type TryToCallArgs = {
29
29
  functionValue?: FunctionValue;
30
30
  functionType: FunctionType;
31
31
  expr?: Expr;
@@ -36,10 +36,12 @@ export declare function tryToCallFunctionWithArguments({ expr, functionValue, fu
36
36
  isMethodCall: boolean;
37
37
  skipSpecialization?: boolean;
38
38
  skipCtfeExecution?: boolean;
39
- }): FunctionCallResult;
39
+ };
40
+ export declare function tryToCallFunctionWithArguments(args: TryToCallArgs): FunctionCallResult;
40
41
  export declare function validateFunctionReturnType({ returnType, expr, env, context, }: {
41
42
  returnType: Type;
42
43
  expr: Expr | undefined;
43
44
  env: Environment;
44
45
  context: EvaluatorContext;
45
46
  }): void;
47
+ export {};
@@ -6,6 +6,7 @@ export interface SynthesizeTypesOptions {
6
6
  setResolvedConcreteType?: boolean;
7
7
  token?: Token;
8
8
  }
9
+ export declare function _printSynthStats(): void;
9
10
  export declare function synthesizeTypes(expected: {
10
11
  type: Type;
11
12
  env: Environment;
@@ -1,4 +1,5 @@
1
1
  import { type Expr } from "./expr";
2
+ export declare const DEFAULT_TEST_BATCH_SIZE = 100;
2
3
  export interface TestDeclaration {
3
4
  name: string;
4
5
  bodyExpr: Expr;
@@ -37,4 +38,5 @@ export declare function runTests(testFiles: string[], options?: {
37
38
  keepGeneratedFiles?: boolean;
38
39
  profile?: boolean;
39
40
  noSanitize?: boolean;
41
+ testBatchSize?: number;
40
42
  }): Promise<TestRunSummary>;