c6e068aff0
Change-Id: I4c6413c2011da55ad1d82739130be750cc2b8b37 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/185380 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
16 lines
655 B
Dart
16 lines
655 B
Dart
// Copyright (c) 2020, 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:kernel/ast.dart' show Class;
|
|
|
|
/// Meant for notifying the backend (the compiler) that the structure has
|
|
/// changed, in turn allowing it to update its internal model.
|
|
abstract class ChangedStructureNotifier {
|
|
/// Mark the members of class [cls] have changed.
|
|
void registerClassMemberChange(Class cls);
|
|
|
|
/// Mark that the class hierarchy for class [cls] has changed.
|
|
void registerClassHierarchyChange(Class cls);
|
|
}
|