displayedLanguageFeatures property

Iterable<LanguageFeature> displayedLanguageFeatures
inherited

A list of language features that both apply to this ModelElement and make sense to display in context.

Implementation

Iterable<LanguageFeature> get displayedLanguageFeatures sync* {
  // TODO(jcollins-g): Implement mixed-mode handling and the tagging of
  // legacy interfaces.
  if (isNullSafety) {
    yield LanguageFeature(
        'Null safety', packageGraph.rendererFactory.featureRenderer);
  }
}