getCommentNodes method

List<CommentNode<T>> getCommentNodes()

Get all comment nodes

Implementation

List<CommentNode<T>> getCommentNodes() {
  return nodes.whereType<CommentNode<T>>().toList();
}