getFileDocumentationComments function

Iterable<List<SourceLine>> getFileDocumentationComments(
  1. File file
)

Gets an iterable over all of the blocks of documentation comments in a file using the analyzer.

Each entry in the list is a list of source lines corresponding to the documentation comment block.

Implementation

Iterable<List<SourceLine>> getFileDocumentationComments(File file) {
  return getDocumentationComments(getFileElements(file));
}