Mercurial > hg > truffle
comparison graal/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/OnAdoptTest.java @ 19507:1cde96b96673
Fixed code format issues.
author | Roland Schatz <roland.schatz@oracle.com> |
---|---|
date | Thu, 19 Feb 2015 16:15:56 +0100 |
parents | 1cd02b4d90d1 |
children |
comparison
equal
deleted
inserted
replaced
19506:8c7536965c95 | 19507:1cde96b96673 |
---|---|
28 import com.oracle.truffle.api.frame.*; | 28 import com.oracle.truffle.api.frame.*; |
29 import com.oracle.truffle.api.nodes.*; | 29 import com.oracle.truffle.api.nodes.*; |
30 | 30 |
31 /** | 31 /** |
32 * <h3>Inserting Extra Nodes into the AST Transparently</h3> | 32 * <h3>Inserting Extra Nodes into the AST Transparently</h3> |
33 * | 33 * |
34 * <p> | 34 * <p> |
35 * The {@link Node} class provides a callback that is invoked whenever a node is adopted in an AST | 35 * The {@link Node} class provides a callback that is invoked whenever a node is adopted in an AST |
36 * by insertion or replacement. Node classes can override the {@code onAdopt()} method to run extra | 36 * by insertion or replacement. Node classes can override the {@code onAdopt()} method to run extra |
37 * functionality upon adoption. | 37 * functionality upon adoption. |
38 * </p> | 38 * </p> |
39 * | 39 * |
40 * <p> | 40 * <p> |
41 * This test demonstrates how node instances of a specific class can be automatically wrapped in | 41 * This test demonstrates how node instances of a specific class can be automatically wrapped in |
42 * extra nodes when they are inserted into the AST. | 42 * extra nodes when they are inserted into the AST. |
43 * </p> | 43 * </p> |
44 */ | 44 */ |