coins.ffront
クラス ReturnStmt

java.lang.Object
  |
  +--coins.ffront.FStmt
        |
        +--coins.ffront.ReturnStmt
すべての実装インタフェース:
Node

public class ReturnStmt
extends FStmt

RETURN statement


フィールドの概要
 
クラス coins.ffront.FStmt から継承したフィールド
defLabel, fDeclMgr, fESMgr, fHir, fHirUtil, fLine, fSymTable, fTypeUtil, generatedStmts, hir, stmt
 
コンストラクタの概要
ReturnStmt(Node pOptExpr, int line, FirToHir pfHir)
           
 
メソッドの概要
 void print(int level, java.lang.String spaces)
           
 void process()
          If this is in a subroutine subprogram, translate RETURN n to return n; and RETURN to return; or return 0; If this is in a function, translate RETURN to return returnVar;
 java.lang.String toString()
           
 
クラス coins.ffront.FStmt から継承したメソッド
addGeneratedStmt, addGeneratedStmtFirst, addLabel, addResultTo, dp, getLabelString, getResult, hasNotLabel, makeArgAddr, makeExp, mergeSymTable, preprocess, setLineAndFileInfo, setSymTable
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

ReturnStmt

public ReturnStmt(Node pOptExpr,
                  int line,
                  FirToHir pfHir)
メソッドの詳細

print

public void print(int level,
                  java.lang.String spaces)
定義:
インタフェース Node 内の print
オーバーライド:
クラス FStmt 内の print

toString

public java.lang.String toString()
定義:
インタフェース Node 内の toString
オーバーライド:
クラス FStmt 内の toString

process

public void process()
If this is in a subroutine subprogram, translate RETURN n to return n; and RETURN to return; or return 0; If this is in a function, translate RETURN to return returnVar;

オーバーライド:
クラス FStmt 内の process