blob: 3a6c6cbd6e698e7f86533df301914e28befaee35 [file] [log] [blame]
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:dartdoc/src/model/model.dart';
/// Mixin for subclasses of [ModelElement] representing Elements that can be
/// extension methods.
mixin Extendable on ContainerMember {
/// Returns this Extendable from the [Extension] in which it was declared.
Extendable get definingExtension =>
throw UnimplementedError('definingExtension');
Container get canonicalEnclosingContainer =>
throw UnimplementedError('canonicalEnclosingContainer');