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

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

Issue 8395013: DartC User Warning Framework (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Use new ErrorCode enums in single onError() method. Created 9 years, 2 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/ParserContext.java
diff --git a/compiler/java/com/google/dart/compiler/parser/ParserContext.java b/compiler/java/com/google/dart/compiler/parser/ParserContext.java
index e3220d36b63f8a667bbbbd079c4ec5439b53f453..94b15bfff02ebe0931ec3bafa3e0913387dd55d1 100644
--- a/compiler/java/com/google/dart/compiler/parser/ParserContext.java
+++ b/compiler/java/com/google/dart/compiler/parser/ParserContext.java
@@ -75,12 +75,6 @@ public interface ParserContext {
void error(DartCompilationError dartError);
/**
- * Log a parse warning for the current lexical range.
- * @param dartError helpful error messaging describing what the expected tokens were
- */
- void warning(DartCompilationError dartError);
-
- /**
* Return the current token.
*/
Token getCurrentToken();

Powered by Google App Engine
This is Rietveld 408576698