coins.ast.stmnt
クラス NamedLabel

java.lang.Object
  |
  +--coins.ast.ASTree
        |
        +--coins.ast.stmnt.LeafStmnt
              |
              +--coins.ast.stmnt.NamedLabel
すべての実装インタフェース:
java.io.Serializable, Stmnt

public class NamedLabel
extends LeafStmnt

Label.

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

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

コンストラクタの詳細

NamedLabel

public NamedLabel(java.lang.String label,
                  java.lang.String fname,
                  int line)
メソッドの詳細

accept

public void accept(Visitor v)
クラス ASTree の記述:
Is a method for the visitor pattern. It calls atXXX() on the given visitor, where XXX is the class name of the node object.

定義:
クラス ASTree 内の accept

getName

public java.lang.String getName()
Returns the label name.


toString

public java.lang.String toString()
オーバーライド:
クラス ASTree 内の toString

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