|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--coins.ast.ASTree | +--coins.ast.ASTList | +--coins.ast.stmnt.CompoundStmnt
A linked-list of statements.
コンストラクタの概要 | |
CompoundStmnt(Stmnt s)
|
|
CompoundStmnt(Stmnt s,
CompoundStmnt rest)
|
メソッドの概要 | |
void |
accept(Visitor v)
Is a method for the visitor pattern. |
static CompoundStmnt |
append(CompoundStmnt block,
Stmnt s)
|
static CompoundStmnt |
concat(CompoundStmnt block1,
CompoundStmnt block2)
|
java.lang.String |
fileName()
Returns the file name including the statement. |
Stmnt |
get()
Returns the first element of the list. |
protected java.lang.String |
getTag()
Returns the type of this node. |
int |
lineNumber()
Returns the line number of the statement. |
CompoundStmnt |
next()
Returns the cdr part of the list. |
protected void |
putSeparator(java.lang.StringBuffer sbuf)
|
Stmnt |
simplify()
|
クラス coins.ast.ASTList から継承したメソッド |
append, concat, getLeft, getRight, head, rightToString, setHead, setLeft, setRight, setTail, subst, tail |
クラス coins.ast.ASTree から継承したメソッド |
toString, toString1 |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
コンストラクタの詳細 |
public CompoundStmnt(Stmnt s)
public CompoundStmnt(Stmnt s, CompoundStmnt rest)
メソッドの詳細 |
protected java.lang.String getTag()
ASTree
の記述: toString()
.
ASTList
内の getTag
public Stmnt get()
public CompoundStmnt next()
public Stmnt simplify()
public java.lang.String fileName()
Stmnt
の記述:
Stmnt
内の fileName
public int lineNumber()
Stmnt
の記述:
Stmnt
内の lineNumber
protected void putSeparator(java.lang.StringBuffer sbuf)
ASTree
内の putSeparator
public static CompoundStmnt append(CompoundStmnt block, Stmnt s)
public static CompoundStmnt concat(CompoundStmnt block1, CompoundStmnt block2)
public void accept(Visitor v)
ASTree
の記述: atXXX()
on the given visitor, where
XXX
is the class name of the node object.
ASTList
内の accept
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |