12 lines
487 B
TypeScript
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>;
|