• property



Property Type: {Object}

A tag adds additional information to the comment being processed. For example, if you want the current comment to include the author, include an @author tag.

Creating your own tag

To create a tag, you need to add to DocumentJS.tags an object with an add and an optional addMore method like:

DocumentJS.tags.mytag = {
  add : function(line){ ... },
  addMore : function(line, last){ ... }