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

Unified Diff: compiler/java/com/google/dart/compiler/ast/DartNode.java

Issue 8905021: Dartest CL - Please review (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years 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: compiler/java/com/google/dart/compiler/ast/DartNode.java
===================================================================
--- compiler/java/com/google/dart/compiler/ast/DartNode.java (revision 2358)
+++ compiler/java/com/google/dart/compiler/ast/DartNode.java (working copy)
@@ -18,6 +18,7 @@
public abstract class DartNode extends AbstractNode implements DartVisitable {
private DartNode parent;
+ private boolean isInstrumentedNode;
public final String toSource() {
DefaultTextOutput out = new DefaultTextOutput(false);
@@ -165,4 +166,16 @@
// TODO (fabiomfv) - Implement proper cloning when strictly needed.
return this;
}
+
+ public String getObjectIdentifier(){
+ return super.toString();
+ }
+
+ public boolean isInstrumentedNode() {
+ return isInstrumentedNode;
+ }
+
+ public void setInstrumentedNode(boolean isInstrumentedNode) {
+ this.isInstrumentedNode = isInstrumentedNode;
+ }
}

Powered by Google App Engine
This is Rietveld 408576698