bit-docs-js/process/codeAndComment module

processCodeAndComment(options, callback)

Processes a CodeTagBlock and the CodeLine immediately following the CodeTagBlock to produce a new DocObject.

Parameters

  1. options {ProcessCodeOptions}:

    Options object that includes the CodeTagBlock and any CodeLine that immediately followed the CodeTagBlock.

  2. callback {ProcessorCallback(newDoc, newScope)}:

    Callback to call with the new DocObject.