ton-assembly
Version:
TON assembler and disassembler
13 lines • 440 B
TypeScript
import type { Instr } from "../runtime";
import { ParseError } from "./util";
export type ParseResult = ParseSuccess | ParseFailure;
export type ParseSuccess = {
readonly $: "ParseSuccess";
readonly instructions: Instr[];
};
export type ParseFailure = {
readonly $: "ParseFailure";
readonly error: ParseError;
};
export declare function parse(filepath: string, code: string): ParseResult;
//# sourceMappingURL=parse.d.ts.map