codeAndComment
documentjs.process.codeAndComment(options, callback)
Processes a code suggestion and then a comment and produces a docObject.
Parameters
-
options
{processOptions}
An options object that contains the code and comment to process.
-
callback
{function(newDoc, newScope)}
A function that is called back with a docObject created from the code and the scope
docObject
. If no docObject is created,newDoc
will be null.