Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/PropertyGetter.java |
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/PropertyGetter.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/PropertyGetter.java |
index f47854533ccdd1238fec6a4d0c24f6f7c04943a8..cd5d272bcfa506f7be465a21321ab66d688d435b 100644 |
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/PropertyGetter.java |
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/PropertyGetter.java |
@@ -1,5 +1,5 @@ |
/* |
- * Copyright (c) 2011, the Dart project authors. |
+ * Copyright (c) 2012, the Dart project authors. |
* |
* Licensed under the Eclipse Public License v1.0 (the "License"); you may not use this file except |
* in compliance with the License. You may obtain a copy of the License at |
@@ -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; |
@@ -127,15 +126,6 @@ public class PropertyGetter extends PropertyVisitor { |
} |
@Override |
- public Object visitAssertion(DartAssertion node) { |
- if (property == PropertyDescriptorHelper.DART_ASSERTION_EXPRESSION) { |
- return node.getExpression(); |
- } else { |
- return visitStatement(node); |
- } |
- } |
- |
- @Override |
public Object visitBinaryExpression(DartBinaryExpression node) { |
if (property == PropertyDescriptorHelper.DART_BINARY_EXPRESSION_LEFT_OPERAND) { |
return node.getArg1(); |