Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Unified Diff: pkg/kernel/lib/canonical_name.dart

Issue 2896493002: Add LimitedBinaryPrinter, tests and switch incremental generator to it. (Closed)
Patch Set: Move LimitedBinaryPrinter to kernel, remove comments. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/kernel/lib/canonical_name.dart
diff --git a/pkg/kernel/lib/canonical_name.dart b/pkg/kernel/lib/canonical_name.dart
index daddfc9e502a2a54db7edc52efcd2349b1ab0302..a56c482c23264d8f147c4f5d1f8c2d08833843f3 100644
--- a/pkg/kernel/lib/canonical_name.dart
+++ b/pkg/kernel/lib/canonical_name.dart
@@ -108,6 +108,10 @@ class CanonicalName {
return getChild('@typedefs').getChild(typedef_.name);
}
+ void removeChild(String name) {
+ _children?.remove(name);
+ }
+
void bindTo(Reference target) {
if (reference == target) return;
if (reference != null) {

Powered by Google App Engine
This is Rietveld 408576698