Note
This interface should not be considered stable. Only exprSetParent and exprGetParent can be counted on to work reliably. Work in progress.
| Modifier and Type | Method and Description |
|---|---|
| public void | exprAddChild(ExpressionNode n, int i)
This method tells the node to add its argument to the node's list of children. |
| public ExpressionNode | |
| public int | |
| public ExpressionNode | |
| public void |
| exprAddChild | back to summary |
|---|---|
| public void exprAddChild(ExpressionNode n, int i) This method tells the node to add its argument to the node's list of children. | |
| exprGetChild | back to summary |
|---|---|
| public ExpressionNode exprGetChild(int i) This method returns a child node. The children are numbered from zero, left to right. | |
| exprGetNumChildren | back to summary |
|---|---|
| public int exprGetNumChildren() Return the number of children the node has. | |
| exprGetParent | back to summary |
|---|---|
| public ExpressionNode exprGetParent() | |
| exprSetParent | back to summary |
|---|---|
| public void exprSetParent(ExpressionNode n) This pair of methods are used to inform the node of its parent. | |