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

Unified Diff: sdk/lib/_internal/compiler/implementation/elements/elements.dart

Issue 90713003: Dart2js option to dump info about compilation (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month 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: sdk/lib/_internal/compiler/implementation/elements/elements.dart
diff --git a/sdk/lib/_internal/compiler/implementation/elements/elements.dart b/sdk/lib/_internal/compiler/implementation/elements/elements.dart
index 52c6b30d51b9c933f4422929e223c4251f4bcc68..af4593f4eefd87b7d0597bcb87771cd7c16af62b 100644
--- a/sdk/lib/_internal/compiler/implementation/elements/elements.dart
+++ b/sdk/lib/_internal/compiler/implementation/elements/elements.dart
@@ -257,6 +257,13 @@ abstract class Element implements Spannable {
FunctionElement get targetConstructor;
void diagnose(Element context, DiagnosticListener listener);
+
+ /**
+ * Collect a JSON Object describing inferred information on this element and
karlklose 2013/11/27 14:19:23 'JSON Object' -> Map.
sigurdm 2013/11/29 10:39:37 Done.
+ * its sub-elements.
+ * Returns null if the given element is not used in the program.
+ */
+ Map collectInferredTypes(Compiler compiler);
}
class Elements {

Powered by Google App Engine
This is Rietveld 408576698