|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--coins.ast.TreeWalker
A helper class for traversing a tree.
入れ子クラスの概要 | |
(パッケージプライベート) static class |
TreeWalker.NodeList
|
コンストラクタの概要 | |
TreeWalker(ASTree root)
|
メソッドの概要 | |
ASTree |
begin()
Moves to the leftmost leaf node. |
TreeWalker |
copy()
Makes a copy of the TreeWalker object. |
ASTree |
current()
Returns the object at the current position. |
ASTree |
left()
Move to the left child. |
ASTree |
next()
Move to the next node in the post-order traversal. |
ASTree |
parent()
Move to the parent. |
ASTree |
right()
Move to the right child. |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
public TreeWalker(ASTree root)
メソッドの詳細 |
public TreeWalker copy()
public ASTree begin()
public ASTree next()
public ASTree current()
public ASTree left()
public ASTree right()
public ASTree parent()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |