coins.ast.stmnt
クラス TreeStmnt

java.lang.Object
  |
  +--coins.ast.ASTree
        |
        +--coins.ast.stmnt.TreeStmnt
すべての実装インタフェース:
java.io.Serializable, Stmnt
直系の既知のサブクラス:
DoStmnt, ExpressionStmnt, ForStmnt, IfStmnt, ReturnStmnt, SwitchStmnt, WhileStmnt

public abstract class TreeStmnt
extends ASTree
implements Stmnt

The super class of statements that contain nested statements.

関連項目:
直列化された形式

フィールドの概要
protected  ASTree left
           
protected  ASTree right
           
 
コンストラクタの概要
protected TreeStmnt(ASTree _left, ASTree _right, java.lang.String fname, int line)
           
protected TreeStmnt(java.lang.String fname, int line)
           
 
メソッドの概要
 java.lang.String fileName()
          Returns the file name including the statement.
 ASTree getLeft()
           
 ASTree getRight()
           
protected  java.lang.String getTag()
          Returns the type of this node.
 int lineNumber()
          Returns the line number of the statement.
 void setLeft(ASTree _left)
           
 void setRight(ASTree _right)
           
 
クラス coins.ast.ASTree から継承したメソッド
accept, putSeparator, rightToString, toString, toString1
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

left

protected ASTree left

right

protected ASTree right
コンストラクタの詳細

TreeStmnt

protected TreeStmnt(java.lang.String fname,
                    int line)

TreeStmnt

protected TreeStmnt(ASTree _left,
                    ASTree _right,
                    java.lang.String fname,
                    int line)
メソッドの詳細

fileName

public java.lang.String fileName()
インタフェース Stmnt の記述:
Returns the file name including the statement.

定義:
インタフェース Stmnt 内の fileName

lineNumber

public int lineNumber()
インタフェース Stmnt の記述:
Returns the line number of the statement.

定義:
インタフェース Stmnt 内の lineNumber

getTag

protected java.lang.String getTag()
クラス ASTree の記述:
Returns the type of this node. This method is used by toString().

オーバーライド:
クラス ASTree 内の getTag

getLeft

public ASTree getLeft()
定義:
クラス ASTree 内の getLeft

getRight

public ASTree getRight()
定義:
クラス ASTree 内の getRight

setLeft

public void setLeft(ASTree _left)
定義:
クラス ASTree 内の setLeft

setRight

public void setRight(ASTree _right)
定義:
クラス ASTree 内の setRight