getFileCommentElements function

Iterable<SourceElement> getFileCommentElements(
  1. File file
)

Gets an iterable over the comment SourceElements in a file.

Implementation

Iterable<SourceElement> getFileCommentElements(File file) {
  return getCommentElements(getFileElements(file));
}