Traqula
    Preparing search index...

    Interface IRuleConfig<T>

    interface IRuleConfig<T> {
        recoveryValueFunc?: (e: IRecognitionException) => T;
        resyncEnabled?: boolean;
    }

    Type Parameters

    • T
    Index

    Properties

    recoveryValueFunc?: (e: IRecognitionException) => T

    The function which will be invoked to produce the returned value for a production that have not been successfully executed and the parser recovered from.

    resyncEnabled?: boolean

    Enable/Disable re-sync error recovery for this specific production.