@gmod/bed
Version:
A BED file format parser with autoSql support
16 lines (13 loc) • 367 B
TypeScript
export class SyntaxError extends Error {
message: string
expected: unknown
found: string | null
location: {
start: { offset: number; line: number; column: number }
end: { offset: number; line: number; column: number }
}
}
export interface ParseOptions {
startRule?: string
}
export function parse(input: string, options?: ParseOptions): unknown