Interface represents an interface for an object received as parameter by Node class constructor.

interface DocumentProps {
    nodes?: Root_[];
    raws?: Record<string, any>;
    source?: Source;
}

Hierarchy (view full)

Properties

Properties

nodes?: Root_[]
raws?: Record<string, any>

Information to generate byte-to-byte equal node string as it was in the origin input.

Every parser saves its own properties.

source?: Source