UNPKG

ton-assembly

Version:
19 lines 834 B
import type { Instr } from "../runtime"; import type { Code, Dict } from "../runtime/util"; import type { Slice } from "@ton/core"; export declare class Printer { indent: number; result: string; constructor(indent: number); beginLine(text: string): void; append(text: string): void; inIndent(action: (p: Printer) => void): void; build(): string; } export declare const printInstr: (p: Printer, instr: Instr) => void; export declare const printInstructions: (p: Printer, instructions: Instr[]) => void; export declare const print: (instructions: Instr[]) => string; export declare function printDictionary(p: Printer, dict: Dict): void; export declare function printCode(p: Printer, arg0: Code): void; export declare function printSlice(p: Printer, slice: Slice): void; //# sourceMappingURL=printer.d.ts.map