coins.ast.stmnt
クラス LeafStmnt

java.lang.Object
  |
  +--coins.ast.ASTree
        |
        +--coins.ast.stmnt.LeafStmnt
すべての実装インタフェース:
java.io.Serializable, Stmnt
直系の既知のサブクラス:
BreakStmnt, CaseLabel, ContinueStmnt, DefaultLabel, GotoStmnt, NamedLabel, NullStmnt

abstract class LeafStmnt
extends ASTree
implements Stmnt

The super class of statements that do not contain nested statements.


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

コンストラクタの詳細

LeafStmnt

protected LeafStmnt(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

getLeft

public ASTree getLeft()
Returns null.

定義:
クラス ASTree 内の getLeft

getRight

public ASTree getRight()
Returns null.

定義:
クラス ASTree 内の getRight

setLeft

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

setRight

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