comparison graal/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/ChildNodeTest.java @ 15480:1a7ebcf3ae22

Truffle: fix javadoc
author Andreas Woess <andreas.woess@jku.at>
date Fri, 02 May 2014 17:14:09 +0200
parents 64dcb92ee75a
children
comparison
equal deleted inserted replaced
15479:4f397be8f424 15480:1a7ebcf3ae22
34 /** 34 /**
35 * <h3>Creating a Child Node</h3> 35 * <h3>Creating a Child Node</h3>
36 * 36 *
37 * <p> 37 * <p>
38 * Child nodes are stored in the class of the parent node in fields that are marked with the 38 * Child nodes are stored in the class of the parent node in fields that are marked with the
39 * {@link Child} annotation. Before such a field is assigned, {@link Node#adoptChild} must be 39 * {@link Child} annotation. The {@link Node#getParent()} method allows access to this field. Every
40 * called. This method automatically establishes a link from the child to the parent. The 40 * node also provides the ability to iterate over its children using {@link Node#getChildren()}.
41 * {@link Node#getParent()} method allows access to this field. Every node also provides the ability
42 * to iterate over its children using {@link Node#getChildren()}.
43 * </p> 41 * </p>
44 * 42 *
45 * <p> 43 * <p>
46 * A child node field must be declared private and non-final. It may only be assigned in the 44 * A child node field must be declared private and non-final. It may only be assigned in the
47 * constructor of the parent node. For changing the structure of the tree at run time, the method 45 * constructor of the parent node. For changing the structure of the tree at run time, the method