|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcoins.aflow.DefUseListImpl
DefUseListImpl class: Def-use list representaing list of definitions of a symbol where each definition has list of its use points. A DefUseList will be associated with a FlowAnalSym
| Field Summary | |
protected java.util.List |
fDefUseCellList
|
protected java.util.HashMap |
fHashCell
|
FlowRoot |
flowRoot
|
| Constructor Summary | |
(package private) |
DefUseListImpl(FlowRoot pFlowRoot)
|
| Method Summary | |
DefUseCell |
addDefUseCell(IR pDefNode)
addDefUseCell: Add DefUseCell which will be created by pDefNode that defines some symbol. |
DefUseCell |
getDefUseCell(IR pDefNode)
getDefUseCell: Get DefUseCell having pDefNode as its definie node. |
DefUseCell |
getDefUseCellRaw(IR pDefNode)
Just like getDefUseCell(IR), but if there is no DefUseCell with the specified argument as the def node, returns null. |
java.util.List |
getDefUseCells()
Returns the list of DefUseCells this DefUseList object holds. |
(package private) DefUseCell |
getOrAddDefUseCell(IR pDefNode)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public final FlowRoot flowRoot
protected java.util.List fDefUseCellList
protected java.util.HashMap fHashCell
| Constructor Detail |
DefUseListImpl(FlowRoot pFlowRoot)
| Method Detail |
public DefUseCell addDefUseCell(IR pDefNode)
DefUseList
addDefUseCell in interface DefUseListpublic DefUseCell getDefUseCell(IR pDefNode)
getDefUseCell in interface DefUseListDefUseCell getOrAddDefUseCell(IR pDefNode)
public DefUseCell getDefUseCellRaw(IR pDefNode)
DefUseListDefUseList.getDefUseCell(IR), but if there is no DefUseCell with the specified argument as the def node, returns null.
getDefUseCellRaw in interface DefUseListpublic java.lang.String toString()
public java.util.List getDefUseCells()
DefUseList
getDefUseCells in interface DefUseList
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||