ProcessorCallback typedef

Callback passed to processors that can be used to add a new DocObject to the DocMap.

function(newDoc, newScope)

Parameters

  1. newDoc {DocObject}:

    DocObject created from processing the block.

  2. newScope {DocObject}:

    DocObject that will be used for scoping the next block.

Returns

{undefined}: