coins.ffront
クラス BinaryNode

java.lang.Object
  |
  +--coins.ffront.Pair
        |
        +--coins.ffront.BinaryNode
すべての実装インタフェース:
HasConstValue, Node
直系の既知のサブクラス:
PowerNode

public class BinaryNode
extends Pair
implements HasConstValue

Binary Expression


フィールドの概要
(パッケージプライベート)  DeclManager fDeclMgr
           
(パッケージプライベート)  ExecStmtManager fESMgr
           
(パッケージプライベート)  HirUtility fHirUtil
           
(パッケージプライベート)  TypeUtility fTypeUtil
           
(パッケージプライベート)  HIR hir
           
 
クラス coins.ffront.Pair から継承したフィールド
fHir, left, right
 
コンストラクタの概要
BinaryNode(int op, Node left, Node right, FirToHir pfHir)
           
 
メソッドの概要
(パッケージプライベート)  Exp character_operation(FortranCharacterExp e1, FortranCharacterExp e2)
           
 FNumber getConstValue()
           
 Exp makeArgAddr(FStmt pCallStmt)
          Make HIR Exp node from this expression as a call-by-address parameter in pCallStmt.
 Exp makeExp()
          Make HIR Exp node of this binary expression.
 java.lang.String opString()
           
 void print(int level, java.lang.String spaces)
           
 java.lang.String toString()
           
 
クラス coins.ffront.Pair から継承したメソッド
getLeft, getRight
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

fHirUtil

HirUtility fHirUtil

fTypeUtil

TypeUtility fTypeUtil

fDeclMgr

DeclManager fDeclMgr

fESMgr

ExecStmtManager fESMgr

hir

HIR hir
コンストラクタの詳細

BinaryNode

public BinaryNode(int op,
                  Node left,
                  Node right,
                  FirToHir pfHir)
メソッドの詳細

print

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

toString

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

opString

public java.lang.String opString()

makeExp

public Exp makeExp()
Make HIR Exp node of this binary expression. In case of complex expression make a special ComplexExp node which is composed of a real part expression node and an imaginary part expression node.

定義:
インタフェース Node 内の makeExp
オーバーライド:
クラス Pair 内の makeExp
戻り値:
HIR Exp.

character_operation

Exp character_operation(FortranCharacterExp e1,
                        FortranCharacterExp e2)

makeArgAddr

public Exp makeArgAddr(FStmt pCallStmt)
Make HIR Exp node from this expression as a call-by-address parameter in pCallStmt.

定義:
インタフェース Node 内の makeArgAddr
オーバーライド:
クラス Pair 内の makeArgAddr
パラメータ:
pCallStmt - a call statement or a function call expression
戻り値:
HIR Exp.

getConstValue

public FNumber getConstValue()
定義:
インタフェース HasConstValue 内の getConstValue