| Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/PropertyLocator.java
|
| diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/PropertyLocator.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/PropertyLocator.java
|
| index 8d021970c31c96214151f68556b3c2641fe0f369..a58897dec357ad0a841a68472922e0491778579a 100644
|
| --- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/PropertyLocator.java
|
| +++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/PropertyLocator.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
|
| @@ -13,9 +13,9 @@
|
| */
|
| package com.google.dart.tools.core.dom;
|
|
|
| +import com.google.dart.compiler.ast.ASTVisitor;
|
| 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;
|
| @@ -60,7 +60,6 @@ import com.google.dart.compiler.ast.DartNativeBlock;
|
| import com.google.dart.compiler.ast.DartNativeDirective;
|
| import com.google.dart.compiler.ast.DartNewExpression;
|
| import com.google.dart.compiler.ast.DartNode;
|
| -import com.google.dart.compiler.ast.ASTVisitor;
|
| import com.google.dart.compiler.ast.DartNullLiteral;
|
| import com.google.dart.compiler.ast.DartParameter;
|
| import com.google.dart.compiler.ast.DartParameterizedTypeNode;
|
| @@ -145,15 +144,6 @@ public class PropertyLocator extends ASTVisitor<StructuralPropertyDescriptor> {
|
| }
|
|
|
| @Override
|
| - public StructuralPropertyDescriptor visitAssertion(DartAssertion node) {
|
| - if (childNode == node.getExpression()) {
|
| - return PropertyDescriptorHelper.DART_ASSERTION_EXPRESSION;
|
| - } else {
|
| - return visitStatement(node);
|
| - }
|
| - }
|
| -
|
| - @Override
|
| public StructuralPropertyDescriptor visitBinaryExpression(DartBinaryExpression node) {
|
| if (childNode == node.getArg1()) {
|
| return PropertyDescriptorHelper.DART_BINARY_EXPRESSION_LEFT_OPERAND;
|
|
|