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

Unified Diff: compiler/java/com/google/dart/compiler/parser/DartScannerParserContext.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/DartScannerParserContext.java
diff --git a/compiler/java/com/google/dart/compiler/parser/DartScannerParserContext.java b/compiler/java/com/google/dart/compiler/parser/DartScannerParserContext.java
index cdd00cb3a5d512313d798ad5ee06194cec93ddde..bbe70b33136c31eba2a5523b66d895c57323567d 100644
--- a/compiler/java/com/google/dart/compiler/parser/DartScannerParserContext.java
+++ b/compiler/java/com/google/dart/compiler/parser/DartScannerParserContext.java
@@ -6,6 +6,7 @@ package com.google.dart.compiler.parser;
import com.google.dart.compiler.DartCompilationError;
import com.google.dart.compiler.DartCompilerListener;
+import com.google.dart.compiler.DartSource;
import com.google.dart.compiler.Source;
import com.google.dart.compiler.ast.DartUnit;
import com.google.dart.compiler.common.HasSourceInfo;
@@ -120,6 +121,11 @@ public class DartScannerParserContext implements ParserContext {
public void error(DartCompilationError dartError) {
listener.onError(dartError);
}
+
+ @Override
+ public void unitAboutToCompile(DartSource source, boolean diet) {
+ listener.unitAboutToCompile(source, diet);
+ }
@Override
public void advance() {

Powered by Google App Engine
This is Rietveld 408576698