UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

22 lines 539 B
/** * Optimization structure, caches functions internally to avoid creating multiple identical functions */ export class FunctionCompiler { /** * * @type {Cache<FunctionDefinition, Function>} * @private */ private cache; /** * * @param {string} code * @param {string[]} [args] * @param {string} [name] */ compile({ code, args, name }: string): Function; } export namespace FunctionCompiler { let INSTANCE: FunctionCompiler; } //# sourceMappingURL=FunctionCompiler.d.ts.map