UNPKG

@awayfl/avm2

Version:

Virtual machine for executing AS3 code

23 lines 844 B
import { Multiname } from '../abc/lazy/Multiname'; export declare const IS_EXTERNAL_CLASS: unique symbol; type Ctr = { new (): Object; }; export declare const LONG_NAMES: RegExp; export declare const extClasses: { _lib: any; lib: any; }; export declare function getExtClassField(name: string, namespace?: string): Ctr | null; /** * Try construct object from external lib, like as Box2D or Nape * @param mn * @param args */ export declare function extClassConstructor(mn: Multiname, args: any[]): any; export declare function emitIsAX(name: string): string; export declare function needFastCheck(): boolean; export declare function emitIsAXOrPrimitive(name: string, explictNull?: boolean): string; export declare function emitIsCallableNative(name: string, func: string): string; export {}; //# sourceMappingURL=external.d.ts.map