@awayfl/avm2
Version:
Virtual machine for executing AS3 code
20 lines • 615 B
TypeScript
import { Scope } from './run/Scope';
import { AXFunction } from './run/AXFunction';
import { MethodInfo } from './abc/lazy/MethodInfo';
/**
* Helps the interpreter allocate fewer Scope objects.
*/
export declare class ScopeStack {
parent: Scope;
stack: any[];
isWith: boolean[];
scopes: Scope[];
constructor(parent: Scope);
push(object: any, isWith: boolean): void;
get(index: any): any;
clear(): void;
pop(): void;
topScope(): Scope;
}
export declare function interpret(methodInfo: MethodInfo, savedScope: Scope, callee: AXFunction): any;
//# sourceMappingURL=int.d.ts.map