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; |
+ } |
} |