coins.ffront
クラス UnLabeledDoStmt
java.lang.Object
|
+--coins.ffront.FStmt
|
+--coins.ffront.UnLabeledDoStmt
- すべての実装インタフェース:
- Node
- public class UnLabeledDoStmt
- extends FStmt
クラス coins.ffront.FStmt から継承したフィールド |
defLabel, fDeclMgr, fESMgr, fHir, fHirUtil, fLine, fSymTable, fTypeUtil, generatedStmts, hir, stmt |
クラス 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 |
UnLabeledDoStmt
public UnLabeledDoStmt(Node pDoSpec,
Node pDoTail,
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
makeInitStmt
public Stmt makeInitStmt()
- Make Stmt "i = 1" from "DO 10 i = 1, 30"
- 戻り値:
- initiation statement.
makeCondExp
public Exp makeCondExp()
- Make Exp "i <= 30" from "DO 10 i = 1, 30"
- 戻り値:
- constant expression.
makeStepStmt
public Stmt makeStepStmt()
- Make Stmt "i = i + 5" from "DO 10 i = 1, 30, 5"
- 戻り値:
- step part Stmt.
makeLoopBodyStmt
Stmt makeLoopBodyStmt()
process
public void process()
- クラス
FStmt
の記述:
- define optional label and add it to generated statements
- オーバーライド:
- クラス
FStmt
内の process