coins.ffront
クラス AssignOrFuncStmt

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

public class AssignOrFuncStmt
extends FStmt

Assignment statement or statement-function defining statement.


フィールドの概要
 
クラス coins.ffront.FStmt から継承したフィールド
defLabel, fDeclMgr, fESMgr, fHir, fHirUtil, fLine, fSymTable, fTypeUtil, generatedStmts, hir, stmt
 
コンストラクタの概要
AssignOrFuncStmt(Node pLeft, Node pRight, int line, FirToHir pfHir)
           
 
メソッドの概要
(パッケージプライベート)  void characterAssignment(FortranCharacterExp e1, FortranCharacterExp e2)
           
(パッケージプライベート)  Exp complexCheck(Exp e)
          complex?
 Node getLeft()
           
 Node getRight()
           
(パッケージプライベート)  boolean isStmtFunc()
          Return true if this is a statement-function defining statement.
 void print(int level, java.lang.String spaces)
           
 void process()
          Make HIR node of assignment statement.
 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
 

コンストラクタの詳細

AssignOrFuncStmt

public AssignOrFuncStmt(Node pLeft,
                        Node pRight,
                        int line,
                        FirToHir pfHir)
メソッドの詳細

getLeft

public Node getLeft()

getRight

public Node getRight()

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()
Make HIR node of assignment statement. COMPLEX type assignment is composed of real part assignment and imaginary part assignment

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

characterAssignment

void characterAssignment(FortranCharacterExp e1,
                         FortranCharacterExp e2)

complexCheck

Exp complexCheck(Exp e)
complex?


isStmtFunc

boolean isStmtFunc()
Return true if this is a statement-function defining statement. If lhs is a form of SubscrOrFunCall and its name is undefined or not an array name then this is a statement-function defining statement. In these cases, define this statement function as a SymtFuncType subprogram.

戻り値:
true if statement function.