coins.ffront
Class ConcatNode

java.lang.Object
  extended bycoins.ffront.Pair
      extended bycoins.ffront.ConcatNode
All Implemented Interfaces:
HasConstValue, Node

public class ConcatNode
extends Pair
implements HasConstValue

Concat Expression


Field Summary
(package private)  Exp evl
           
(package private)  Exp evp
           
(package private)  DeclManager fDeclMgr
           
(package private)  ExecStmtManager fESMgr
           
(package private)  HirUtility fHirUtil
           
(package private)  TypeUtility fTypeMgr
           
(package private)  Exp func_
           
(package private)  HIR hir
           
(package private)  int length_
           
(package private)  int size_
           
(package private)  Sym sym
           
 
Fields inherited from class coins.ffront.Pair
fHir, left, right
 
Constructor Summary
ConcatNode(Node left, Node right, FirToHir pfHir)
           
 
Method Summary
 Stmt assignWithConcatString(Node dstnode)
           
(package private)  void dp(java.lang.String msg)
           
(package private)  FirList get_concatenatee()
           
 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 concat expression.
(package private)  void prepare()
           
 void print(int level, java.lang.String spaces)
           
 java.lang.String toString()
           
(package private)  void traverse_concatenatee(FirList list, Node target)
           
 
Methods inherited from class coins.ffront.Pair
getLeft, getRight
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fHirUtil

HirUtility fHirUtil

fTypeMgr

TypeUtility fTypeMgr

fDeclMgr

DeclManager fDeclMgr

fESMgr

ExecStmtManager fESMgr

hir

HIR hir

sym

Sym sym

func_

Exp func_

evp

Exp evp

evl

Exp evl

length_

int length_

size_

int size_
Constructor Detail

ConcatNode

public ConcatNode(Node left,
                  Node right,
                  FirToHir pfHir)
Method Detail

print

public void print(int level,
                  java.lang.String spaces)
Specified by:
print in interface Node
Overrides:
print in class Pair

toString

public java.lang.String toString()
Specified by:
toString in interface Node
Overrides:
toString in class Pair

get_concatenatee

FirList get_concatenatee()

traverse_concatenatee

void traverse_concatenatee(FirList list,
                           Node target)

prepare

void prepare()

makeExp

public Exp makeExp()
Make HIR Exp node of this concat expression.

Specified by:
makeExp in interface Node
Overrides:
makeExp in class Pair

makeArgAddr

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

Specified by:
makeArgAddr in interface Node
Overrides:
makeArgAddr in class Pair
Parameters:
pCallStmt - a call statement or a function call expression
Returns:
Exp node.

assignWithConcatString

public Stmt assignWithConcatString(Node dstnode)

getConstValue

public FNumber getConstValue()
Specified by:
getConstValue in interface HasConstValue

dp

void dp(java.lang.String msg)