coins.ffront
クラス EntryStmt

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

public class EntryStmt
extends FStmt

Entry statement


フィールドの概要
 
クラス coins.ffront.FStmt から継承したフィールド
defLabel, fDeclMgr, fESMgr, fHir, fHirUtil, fLine, fSymTable, fTypeUtil, generatedStmts, hir, stmt
 
コンストラクタの概要
EntryStmt(Token pIdent, FirList pArgs, int line, FirToHir pfHir)
           
 
メソッドの概要
 void addParamTo(FirList paramList)
          Add parameters of this ENTRY statement to paramList.
 java.lang.String getIdent()
           
 Token getIdentToken()
           
 void makeSubp(int entryCount, FirList pArgs)
          make HIR subprogram from this ENTRY statement
 void print(int level, java.lang.String spaces)
           
 void process()
          Translate ENTRY g(s) to L_g: If this is a function entry then redefine g as EntryType variable.
 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
 

コンストラクタの詳細

EntryStmt

public EntryStmt(Token pIdent,
                 FirList pArgs,
                 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

getIdent

public java.lang.String getIdent()

getIdentToken

public Token getIdentToken()

process

public void process()
Translate ENTRY g(s) to L_g: If this is a function entry then redefine g as EntryType variable.

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

addParamTo

public void addParamTo(FirList paramList)
Add parameters of this ENTRY statement to paramList.

パラメータ:
paramList -

makeSubp

public void makeSubp(int entryCount,
                     FirList pArgs)
make HIR subprogram from this ENTRY statement

パラメータ:
entryCount -
pArgs -