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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/element/FieldElementImpl.java

Issue 351283003: Move Tokenfactory, AstFactory and ElementFactory from tests to the testing/ Folder. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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.engine/src/com/google/dart/engine/internal/element/FieldElementImpl.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/element/FieldElementImpl.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/element/FieldElementImpl.java
index 50b4cd3d751d8d6f6a684621b02e69567eb8b520..686b8c0df4514f3239282223e3917b218fc7c172 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/element/FieldElementImpl.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/element/FieldElementImpl.java
@@ -18,6 +18,7 @@ import com.google.dart.engine.element.ClassElement;
import com.google.dart.engine.element.ElementKind;
import com.google.dart.engine.element.ElementVisitor;
import com.google.dart.engine.element.FieldElement;
+import com.google.dart.engine.utilities.translation.DartName;
/**
* Instances of the class {@code FieldElementImpl} implement a {@code FieldElement}.
@@ -35,6 +36,7 @@ public class FieldElementImpl extends PropertyInducingElementImpl implements Fie
*
* @param name the name of this element
*/
+ @DartName("forNode")
public FieldElementImpl(Identifier name) {
super(name);
}
@@ -43,9 +45,11 @@ public class FieldElementImpl extends PropertyInducingElementImpl implements Fie
* Initialize a newly created synthetic field element to have the given name.
*
* @param name the name of this element
+ * @param nameOffset the offset of the name of this element in the file that contains the
+ * declaration of this element
*/
- public FieldElementImpl(String name) {
- super(name);
+ public FieldElementImpl(String name, int nameOffset) {
+ super(name, nameOffset);
}
@Override

Powered by Google App Engine
This is Rietveld 408576698