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

Unified Diff: compiler/java/com/google/dart/compiler/parser/DartParser.java

Issue 9113017: Add unitAboutToCompile() into DartCompilerListener (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 12 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: compiler/java/com/google/dart/compiler/parser/DartParser.java
diff --git a/compiler/java/com/google/dart/compiler/parser/DartParser.java b/compiler/java/com/google/dart/compiler/parser/DartParser.java
index 3a23979cf5c7435e5d160d1deefe713f86222969..a12eb799be260b96058a502d2975c6c5ed28b547 100644
--- a/compiler/java/com/google/dart/compiler/parser/DartParser.java
+++ b/compiler/java/com/google/dart/compiler/parser/DartParser.java
@@ -245,6 +245,7 @@ public class DartParser extends CompletionHooksParserBase {
*/
public DartUnit parseUnit(DartSource source) {
beginCompilationUnit();
+ ctx.unitAboutToCompile(source, isDietParse);
DartUnit unit = new DartUnit(source);
// parse any directives at the beginning of the source

Powered by Google App Engine
This is Rietveld 408576698