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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/AST.java

Issue 10516006: Issue 3268. Support for replacing 'assert' statement with 'assert' function (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Changes for review comments 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: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/AST.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/AST.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/AST.java
index 38ff2cf8a2e557d96cb4979618ca9cb1acfe4b48..f12d8af75c5c5d5cbbd7531df63bc5a2af07ee8e 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/AST.java
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/AST.java
@@ -15,7 +15,6 @@ package com.google.dart.tools.core.dom;
import com.google.dart.compiler.ast.DartArrayAccess;
import com.google.dart.compiler.ast.DartArrayLiteral;
-import com.google.dart.compiler.ast.DartAssertion;
import com.google.dart.compiler.ast.DartBinaryExpression;
import com.google.dart.compiler.ast.DartBlock;
import com.google.dart.compiler.ast.DartBooleanLiteral;
@@ -95,8 +94,6 @@ public class AST {
return (N) new DartArrayAccess(null, null);
} else if (nodeClass == DartArrayLiteral.class) {
return (N) new DartArrayLiteral(false, null, new ArrayList<DartExpression>());
- } else if (nodeClass == DartAssertion.class) {
- return (N) new DartAssertion(null);
} else if (nodeClass == DartBinaryExpression.class) {
return (N) new DartBinaryExpression(null, null, null);
} else if (nodeClass == DartBlock.class) {

Powered by Google App Engine
This is Rietveld 408576698