ton-assembly
Version:
TON assembler and disassembler
13 lines • 561 B
TypeScript
import type { Mapping } from "../runtime";
import type { Loc as InstrLoc } from "../runtime/util";
import type { AssemblyMapping, CellHash, CellRepresentation, Loc } from "ton-source-map";
export declare const fromParserLoc: (loc: InstrLoc) => Loc;
/**
* Describes mapping of a Cell to its instructions.
*/
export type CellsMapping = Record<CellHash, undefined | CellRepresentation>;
/**
* Creates a mapping of all cells to their instructions.
*/
export declare const createMappingInfo: (m: Mapping) => AssemblyMapping;
//# sourceMappingURL=mapping.d.ts.map