API reference
Preparing search index…

Native-owned Rml::DocumentHeader for document parsing and resource merging.

Inputs and outputs are independent copies. replace transfers all fields in one native entry. merge operations execute upstream code; mergePaths and mergeResources return the modified target copy. Shutdown invalidates the header. A header records script resources; their execution needs a script host, since Core's base document script hooks are empty.

Source & inheritance
Member directory11

Constructors

Accessors

Methods

Constructors

Accessors

  • get templateResources(): string[]

    Copy native template_resources.

    Returns

    string[]

    Independent path list in source order.

    Source & inheritance
  • set templateResources(value: readonly string[]): void

    Replace native template_resources.

    Parameters

    value
    readonly string[]

    Paths to copy without resolving them.

    Returns

    void
    Source & inheritance

Methods

  • Execute native MergePaths on independent target and source copies.

    Parameters

    target
    readonly string[]

    Existing paths to preserve.

    source
    readonly string[]

    Paths to resolve and append.

    basePath
    string

    Native source file path used by JoinPath.

    Returns

    string[]

    Merged path copy; input arrays and this header stay unchanged.

    Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0