anchor.diff:        elements.addAll(cu.functionTypeAliases);
       }
   
  -    elements.addAll(_exportedNameSpace
  +    elements.addAll(_exportedNamespace
           .where((element) => element is FunctionTypeAliasElement));
       elements..removeWhere(isPrivate);
       _typeDefs = elements.map((e) => new Typedef(e, this)).toList();
  
positive.code:       elements.addAll(cu.functions);
      }
      elements.addAll(
          _exportedNameSpace.where((element) => element is FunctionElement));
  
      elements..removeWhere(isPrivate);
      _functions = elements.map((e) {
  
negative.code:         return null;
        }
        var refLibrary;
        try {
          var element = refElement is ClassMemberElement
              ? refElement.enclosingElement
              : refElement;
          refLibrary = this.package._libraries
              .firstWhere((lib) => lib.hasInNamespace(element));
        } on StateError {}
        if (refLibrary != null) {
          var e = new ModelElement.from(refElement, refLibrary);
          return e.href;
        }
        return null;
      }
  
      return replaceAllLinks(docs, _getMatchingLink);
  