@lpc-lang/core
Version:
LPC Language Compiler Library
11 lines • 544 B
TypeScript
import { Node, Printer, PrinterOptions, PrintHandlers, SourceFile } from "./_namespaces/lpc.js";
export declare function createPrinter(printerOptions?: PrinterOptions, handlers?: PrintHandlers): Printer;
export declare function emitNodeAsJsText(node: Node, sourceFile: SourceFile): string;
/**
* Creates a printer that will emit code as
* @param printerOptions
* @param handlers
* @returns
*/
export declare function createJsPrinter(printerOptions?: PrinterOptions, handlers?: PrintHandlers): Printer;
//# sourceMappingURL=emitter.d.ts.map