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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/PropertyDescriptorHelper.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/PropertyDescriptorHelper.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/PropertyDescriptorHelper.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/PropertyDescriptorHelper.java
index df869a5a91fd3f8c686be4b5f96b42d3d28466fa..52a8286aab639a4704495978660b8bb1f9a67070 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/PropertyDescriptorHelper.java
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/PropertyDescriptorHelper.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;
@@ -134,16 +133,6 @@ public class PropertyDescriptorHelper {
StructuralPropertyDescriptor.CYCLE_RISK);
/**
- * The expression in an assertion statement.
- */
- public static final StructuralPropertyDescriptor DART_ASSERTION_EXPRESSION = new ChildPropertyDescriptor(
- DartAssertion.class,
- "expression",
- DartExpression.class,
- StructuralPropertyDescriptor.MANDATORY,
- StructuralPropertyDescriptor.NO_CYCLE_RISK);
-
- /**
* The expression computing the left operand of the binary operator.
*/
public static final StructuralPropertyDescriptor DART_BINARY_EXPRESSION_LEFT_OPERAND = new ChildPropertyDescriptor(
@@ -1322,8 +1311,6 @@ public class PropertyDescriptorHelper {
properties.add(DART_ARRAY_ACCESS_TARGET);
} else if (type == DartArrayLiteral.class) {
properties.add(DART_ARRAY_LITERAL_EXPRESSIONS);
- } else if (type == DartAssertion.class) {
- properties.add(DART_ASSERTION_EXPRESSION);
} else if (type == DartBinaryExpression.class) {
properties.add(DART_BINARY_EXPRESSION_LEFT_OPERAND);
properties.add(DART_BINARY_EXPRESSION_OPERATOR);

Powered by Google App Engine
This is Rietveld 408576698