processComment method

Future<String> processComment(
  1. String documentationComment
)

Process documentationComment, performing various actions based on {@}-style directives, returning the processed result.

Implementation

Future<String> processComment(String documentationComment) async {
  var docs = stripComments(documentationComment);
  // Must evaluate tools first, in case they insert any other directives.
  docs = await _evaluateTools(docs);
  docs = processCommentDirectives(docs);
  _analyzeCodeBlocks(docs);
  return docs;
}