Index: pkg/js_ast/lib/src/nodes.dart |
diff --git a/pkg/js_ast/lib/src/nodes.dart b/pkg/js_ast/lib/src/nodes.dart |
index c43a2519687b7d2c7e101952b6bb46498c4db237..3ab8e6bb992fe79ddefea31537ce623d7448ac9f 100644 |
--- a/pkg/js_ast/lib/src/nodes.dart |
+++ b/pkg/js_ast/lib/src/nodes.dart |
@@ -233,6 +233,8 @@ abstract class Node { |
Statement toStatement() { |
throw new UnsupportedError('toStatement'); |
} |
+ |
+ String debugPrint() => DebugPrint(this); |
} |
class Program extends Node { |