Genotype API Documentation - v0.1.0
    Preparing search index...

    Interface ParserOptions

    Parser configuration options

    interface ParserOptions {
        skipValidation?: boolean;
        maxLineLength?: number;
        trackLineNumbers?: boolean;
        signal?: AbortSignal;
        onError?: (error: string, lineNumber?: number) => void;
        onWarning?: (warning: string, lineNumber?: number) => void;
    }
    Index

    Properties

    skipValidation?: boolean

    Skip validation for performance (dangerous but fast)

    maxLineLength?: number

    Maximum line length before throwing error

    trackLineNumbers?: boolean

    Whether to preserve original line numbers

    signal?: AbortSignal

    AbortController signal for cancelling parsing operations

    onError?: (error: string, lineNumber?: number) => void

    Custom error handler

    onWarning?: (warning: string, lineNumber?: number) => void

    Custom warning handler