UNPKG

ton-assembly

Version:
13 lines 440 B
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