@awayfl/avm2
Version:
Virtual machine for executing AS3 code
12 lines • 661 B
TypeScript
import { Multiname } from '../../abc/lazy/Multiname';
import { CompilerState } from '../CompilerState';
export declare function isPrimitiveType(type: Multiname): boolean;
/**
* Emit coercion mapping for primitive values: arguments, returns, fast coercion
* @param state
* @param stackIndexOrName index - when it it stack, name - when is local or not stack value
* @param type
* @param inline Inline coerce return name without coersion instead of null
*/
export declare function emitPrimitiveCoerce(state: CompilerState, stackIndexOrName: number | string, type: Multiname, inline?: boolean): string | null;
//# sourceMappingURL=emitPrimitiveCoerce.d.ts.map