|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcoins.opt.ReplaceInfo
title: ReplaceInfo class.
description: Information of global variable for replace.
| Nested Class Summary | |
(package private) class |
ReplaceInfo.Item
title: class Item |
| Field Summary | |
protected java.util.Map |
fReplaceMap
Map of global var to replace information. |
| Constructor Summary | |
ReplaceInfo()
Construct this object. |
|
| Method Summary | |
void |
add(VarNode lGlobalVarNode)
Add replace var node. |
void |
clear()
Clear this object. |
protected ReplaceInfo.Item |
getItem(Sym pSym)
get Item object related by pSym. |
Var |
getReplacedVar(Sym pSym)
Get replaced temporal variable, whitch is related by pSym. |
java.util.List |
getReplaceNodeList(Sym pSym)
Get List of VarNode to replace, whitch is related by pSym. |
java.util.Set |
getReplaceSymSet(int pCount)
Get Set of Sym larger than pCount. |
void |
remove(Sym pSym)
Remove var of replacing. |
boolean |
removeReplacedNode(VarNode pVarNode)
Remove Gloval temporal var from replaced node list whitch is related by pSym. |
boolean |
setReplacedVar(Sym pSym,
Var pVar)
Set replaced temporal variable, whitch is related by pSym. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.util.Map fReplaceMap
| Constructor Detail |
public ReplaceInfo()
| Method Detail |
public void clear()
protected ReplaceInfo.Item getItem(Sym pSym)
pSym - indicate to get related Item object.
this may be global simple var sym.
public void add(VarNode lGlobalVarNode)
lGlobalVarNode - var node of replacing.public void remove(Sym pSym)
pSym - sym of removing.public java.util.Set getReplaceSymSet(int pCount)
pCount - use count for replace.
public java.util.List getReplaceNodeList(Sym pSym)
pSym - indicate to get related List of VarNode.
It may be global simple var.
public Var getReplacedVar(Sym pSym)
pSym - indicate to get related temporal variable.
It may be global simple var.
public boolean setReplacedVar(Sym pSym,
Var pVar)
pSym - indicate to set related temporal variable.
It may be global simple var.pVar - temporal variable.
public boolean removeReplacedNode(VarNode pVarNode)
pVarNode - Global temporal var whitch is replaced.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||