@wdprlib/decompiler
    Preparing search index...

    Class DecompileContext

    Context maintained during HTML-to-AST decompilation.

    Tracks footnote content extracted from the footnotes-footer section and a running TOC index for heading id matching.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    footnoteContents: Map<number, Element[]> = ...

    Maps footnote numbers (1-based) to their parsed content elements.

    options: Required<DecompileOptions>

    Methods

    • Return the current TOC index and advance the counter.

      Returns number