time-to-botec/squiggle/node_modules/@quri/squiggle-lang/dist/src/js/parse.d.ts
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00

12 lines
487 B
TypeScript

import * as RSParse from "../rescript/Reducer/Reducer_Peggy/Reducer_Peggy_Parse.gen";
import { result } from "./types";
import { AnyPeggyNode } from "../rescript/Reducer/Reducer_Peggy/helpers";
import { SqLocation } from "./SqError";
export declare class SqParseError {
private _value;
constructor(_value: RSParse.ParseError_t);
getMessage(): string;
getLocation(): SqLocation;
}
export declare function parse(squiggleString: string): result<AnyPeggyNode, SqParseError>;