Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/ReplaceObserver.java @ 14584:6189c1983cd3
Truffle: make Node#replace accept any CharSequence as reason
author | Andreas Woess <andreas.woess@jku.at> |
---|---|
date | Tue, 18 Mar 2014 13:14:53 +0100 |
parents | f46cab39a9a2 |
children | 4a5df5570b7f |
comparison
equal
deleted
inserted
replaced
14583:2ec76bd5f309 | 14584:6189c1983cd3 |
---|---|
29 /** | 29 /** |
30 * An observer that is notified whenever a child node is replaced. | 30 * An observer that is notified whenever a child node is replaced. |
31 */ | 31 */ |
32 public interface ReplaceObserver { | 32 public interface ReplaceObserver { |
33 | 33 |
34 void nodeReplaced(Node oldNode, Node newNode, String reason); | 34 void nodeReplaced(Node oldNode, Node newNode, CharSequence reason); |
35 } | 35 } |