|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Object
|
+--coins.ast.ASTree
|
+--coins.ast.ASTList
A linked list. The right subtree must be an ASTList object or null.
| コンストラクタの概要 | |
ASTList(ASTree _head)
|
|
ASTList(ASTree _head,
ASTList _tail)
|
|
| メソッドの概要 | |
void |
accept(Visitor v)
Is a method for the visitor pattern. |
static ASTList |
append(ASTList a,
ASTree b)
Appends an object to a list. |
static ASTList |
concat(ASTList a,
ASTList b)
Concatenates two lists. |
ASTree |
getLeft()
|
ASTree |
getRight()
|
protected java.lang.String |
getTag()
Returns the type of this node. |
ASTree |
head()
Returns the car part of the list. |
protected void |
rightToString(java.lang.StringBuffer sbuf,
ASTree _right)
|
void |
setHead(ASTree _head)
|
void |
setLeft(ASTree _left)
|
void |
setRight(ASTree _right)
|
void |
setTail(ASTList _tail)
|
boolean |
subst(ASTree newObj,
ASTree oldObj)
|
ASTList |
tail()
Returns the cdr part of the list. |
| クラス coins.ast.ASTree から継承したメソッド |
putSeparator, toString, toString1 |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| コンストラクタの詳細 |
public ASTList(ASTree _head,
ASTList _tail)
public ASTList(ASTree _head)
| メソッドの詳細 |
public ASTree getLeft()
ASTree 内の getLeftpublic ASTree getRight()
ASTree 内の getRightpublic void setLeft(ASTree _left)
ASTree 内の setLeftpublic void setRight(ASTree _right)
ASTree 内の setRightpublic ASTree head()
public void setHead(ASTree _head)
public ASTList tail()
public void setTail(ASTList _tail)
public void accept(Visitor v)
ASTree の記述: atXXX() on the given visitor, where
XXX is the class name of the node object.
ASTree 内の acceptprotected java.lang.String getTag()
ASTree の記述: toString().
ASTree 内の getTag
protected void rightToString(java.lang.StringBuffer sbuf,
ASTree _right)
ASTree 内の rightToString
public boolean subst(ASTree newObj,
ASTree oldObj)
public static ASTList append(ASTList a,
ASTree b)
public static ASTList concat(ASTList a,
ASTList b)
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||