Tag.end typedef

Called when moving on to the next Tag.

function(line, curData, scope, docMap)

Parameters

  1. line {String}:

    Text from @ until the end of line.

  2. curData {DocObject}:

    Current DocObject.

  3. scope {DocObject}:

    DocObject representing current scope.

  4. docMap {DocMap}:

    DocMap being added to.

Returns

{undefined}:

Use

Use this to clean up anything before switching to a new Tag.

Does not get called if Tag.keepStack is true.