@wdprlib/ast
    Preparing search index...

    Module diagnostic

    Diagnostic types for reporting parse-time issues.

    When the parser encounters syntactically questionable or invalid markup (e.g. an unclosed [[div]] block), it records a Diagnostic rather than throwing an error. The parser is lenient: it always produces an AST, even when diagnostics are present.

    Diagnostics are returned alongside the AST via ParseResult.

    2.0.0

    Diagnostics

    Diagnostic
    ParseResult
    DiagnosticSeverity