coins.ffront
クラス FStmt
java.lang.Object
|
+--coins.ffront.FStmt
- すべての実装インタフェース:
- Node
- 直系の既知のサブクラス:
- ArithIfStmt, AssignGotoStmt, AssignLabelStmt, AssignOrFuncStmt, BlockIfStmt, CallStmt, CloseStmt, ComputedGoto, ContinueStmt, EndStmt, EntryStmt, FormatStmt, GotoStmt, HeaderStmt, IfStmt, InquireStmt, LabeledDoStmt, OpenStmt, OtherIOStmt, PauseStmt, ReadStmt, ReturnStmt, StopStmt, UnLabeledDoStmt, WriteStmt
- public class FStmt
- extends java.lang.Object
- implements Node
Super class for all FORTRAN statements
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
fHir
FirToHir fHir
fLine
int fLine
hir
HIR hir
defLabel
Token defLabel
stmt
Stmt stmt
generatedStmts
FirList generatedStmts
fHirUtil
HirUtility fHirUtil
fTypeUtil
TypeUtility fTypeUtil
fDeclMgr
DeclManager fDeclMgr
fESMgr
ExecStmtManager fESMgr
fSymTable
SymTable fSymTable
FStmt
public FStmt(int line,
FirToHir pfHir)
print
public void print(int level,
java.lang.String spaces)
- 定義:
- インタフェース
Node
内の print
toString
public java.lang.String toString()
- 定義:
- インタフェース
Node
内の toString
- オーバーライド:
- クラス
java.lang.Object
内の toString
addLabel
public void addLabel(Token t)
preprocess
public void preprocess()
process
public void process()
- define optional label and add it to generated statements
makeExp
public Exp makeExp()
- 定義:
- インタフェース
Node
内の makeExp
makeArgAddr
public Exp makeArgAddr(FStmt pFStmt)
- 定義:
- インタフェース
Node
内の makeArgAddr
getLabelString
public java.lang.String getLabelString()
hasNotLabel
public boolean hasNotLabel()
addResultTo
public void addResultTo(BlockStmt block)
- add generated statements and original statement to the block
Called after the process of original statement
- パラメータ:
block
-
addGeneratedStmt
void addGeneratedStmt(Stmt pStmt)
addGeneratedStmtFirst
void addGeneratedStmtFirst(Stmt pStmt)
mergeSymTable
SymTable mergeSymTable(SymTable dst,
SymTable src)
setSymTable
SymTable setSymTable(SymTable table)
setLineAndFileInfo
public void setLineAndFileInfo(Stmt pStmt)
getResult
public Stmt getResult()
dp
protected void dp(java.lang.String str)