Interface IRuleConfig<T>

Type Parameters

  • T

Hierarchy

  • IRuleConfig

Properties

recoveryValueFunc?: ((e) => T)

Type declaration

    • (e): 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.

      Parameters

      Returns T

resyncEnabled?: boolean

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

Generated using TypeDoc