UNPKG

@nfdi4plants/swate-components

Version:

Customizable React components for ontology annotation, based on Swate and the ARC.

78 lines 2.88 kB
export function Parsimmon(action: any): Parsimmon; export class Parsimmon { constructor(action: any); _: any; } export function times(n: any, f: any): void; export function forEach(f: any, arr: any): void; export function reduce(f: any, seed: any, arr: any): any; export function map(f: any, arr: any): any; export function lshiftBuffer(input: any): Buffer<any>; export function sum(numArr: any): any; export function find(pred: any, arr: any): any; export function makeSuccess(index: any, value: any): { status: boolean; index: any; value: any; furthest: number; expected: any[]; }; export function makeFailure(index: any, expected: any): { status: boolean; index: number; value: any; furthest: any; expected: any; }; export function repeat(string: any, amount: any): string; export function formatExpected(expected: any): string; export function leftPad(str: any, pad: any, char: any): any; export function rangeFromIndexAndOffsets(i: any, before: any, after: any, length: any): { from: number; to: any; }; export function byteRangeToRange(byteRange: any): { from: any; to: any; }; export function formatGot(input: any, error: any): any; export function formatError(input: any, error: any): string; export function flags(re: any): string; export function anchoredRegexp(re: any): RegExp; export function seq(...args: any[]): Parsimmon; export function seqObj(...args: any[]): Parsimmon; export function seqMap(...args: any[]): any; export function createLanguage(parsers: any): {}; export function alt(...args: any[]): Parsimmon; export function sepBy(parser: any, separator: any): any; export function sepBy1(parser: any, separator: any): any; export function string(str: any): Parsimmon; export function byte(b: any): Parsimmon; export function regexp(re: any, group: any, ...args: any[]): Parsimmon; export function succeed(value: any): Parsimmon; export function fail(expected: any): Parsimmon; export function lookahead(x: any): Parsimmon; export function notFollowedBy(parser: any): Parsimmon; export function test(predicate: any): Parsimmon; export function oneOf(str: any): any; export function noneOf(str: any): any; export function custom(parsingFunction: any): Parsimmon; export function range(begin: any, end: any): any; export function takeWhile(predicate: any): Parsimmon; export function lazy(desc: any, f: any, ...args: any[]): any; export const index: Parsimmon; export const any: Parsimmon; export const all: Parsimmon; export const eof: Parsimmon; export const digit: any; export const digits: any; export const letter: any; export const letters: any; export const optWhitespace: any; export const whitespace: any; export const cr: Parsimmon; export const lf: Parsimmon; export const crlf: Parsimmon; export const newline: any; export const end: Parsimmon; //# sourceMappingURL=Parsimmon.d.ts.map