UNPKG

@awayfl/avm2

Version:

Virtual machine for executing AS3 code

21 lines (18 loc) 421 B
export interface IGenerator { /** * Generate header (before method anotation) of imports when it exist, or return empty string */ genHeader(ident: string): string; /** * Generate body (after method annotations), return empty string */ genBody(ident: string): string; /** * Run postprocess mutation of generated code */ genPost(arr: string[]): string[]; /** * Reset generator */ reset(): void; }