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

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

Issue 10661022: Issue 3752. Support for @override annotations (as structured doc comments) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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/DartPrefixParser.java
diff --git a/compiler/java/com/google/dart/compiler/parser/DartPrefixParser.java b/compiler/java/com/google/dart/compiler/parser/DartPrefixParser.java
index 20ba7965f7f244eb658182a0cb1d0afaf829c413..1c988b335874fcdea2f35403454ff63b7e202183 100644
--- a/compiler/java/com/google/dart/compiler/parser/DartPrefixParser.java
+++ b/compiler/java/com/google/dart/compiler/parser/DartPrefixParser.java
@@ -13,8 +13,11 @@
*/
package com.google.dart.compiler.parser;
+import com.google.dart.compiler.DartCompilerListener;
+import com.google.dart.compiler.Source;
import com.google.dart.compiler.ast.DartImportDirective;
import com.google.dart.compiler.ast.DartStringLiteral;
+import com.google.dart.compiler.metrics.CompilerMetrics;
import java.util.Set;
@@ -25,8 +28,14 @@ public class DartPrefixParser extends DartParser {
private final Set<String> prefixes;
- public DartPrefixParser(ParserContext parserCtx, boolean isDietParse, Set<String> prefixes) {
- super(parserCtx, isDietParse, prefixes);
+ public DartPrefixParser(
+ Source source,
+ String sourceCode,
+ boolean isDietParse,
+ Set<String> prefixes,
+ DartCompilerListener listener,
+ CompilerMetrics compilerMetrics) {
+ super(source, sourceCode, isDietParse, prefixes, listener, compilerMetrics);
this.prefixes = prefixes;
}

Powered by Google App Engine
This is Rietveld 408576698