commentRefs property

List<ModelCommentReference> commentRefs
override

Implementation

@override
List<ModelCommentReference> get commentRefs {
  if (_commentRefs == null) {
    _commentRefs = [];
    for (var from in documentationFrom) {
      var checkReferences = <ModelElement>[from];
      if (from is Accessor) {
        checkReferences.add(from.enclosingCombo);
      }
      for (var e in checkReferences) {
        _commentRefs.addAll(e.modelNode.commentRefs ?? []);
      }
    }
  }
  return _commentRefs;
}