public abstract class AbstractDataFlowNode extends Object implements DataFlowNode
| Modifier and Type | Field and Description |
|---|---|
protected List<DataFlowNode> |
children |
protected List<DataFlowNode> |
dataFlow |
protected int |
line |
protected Node |
node |
protected List<DataFlowNode> |
parents |
protected BitSet |
type |
protected List<VariableAccess> |
variableAccess |
| Constructor and Description |
|---|
AbstractDataFlowNode(List<DataFlowNode> dataFlow) |
AbstractDataFlowNode(List<DataFlowNode> dataFlow,
Node node) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPathToChild(DataFlowNode child) |
List<DataFlowNode> |
getChildren() |
List<DataFlowNode> |
getFlow() |
int |
getIndex() |
int |
getLine() |
Node |
getNode() |
List<DataFlowNode> |
getParents() |
List<VariableAccess> |
getVariableAccess() |
boolean |
isType(int intype) |
boolean |
removePathToChild(DataFlowNode child) |
void |
reverseParentPathsTo(DataFlowNode destination) |
void |
setType(int type) |
void |
setVariableAccess(List<VariableAccess> variableAccess) |
String |
toString() |
protected Node node
protected List<DataFlowNode> parents
protected List<DataFlowNode> children
protected BitSet type
protected List<VariableAccess> variableAccess
protected List<DataFlowNode> dataFlow
protected int line
public AbstractDataFlowNode(List<DataFlowNode> dataFlow)
public AbstractDataFlowNode(List<DataFlowNode> dataFlow, Node node)
public void addPathToChild(DataFlowNode child)
addPathToChild in interface DataFlowNodepublic boolean removePathToChild(DataFlowNode child)
removePathToChild in interface DataFlowNodepublic void reverseParentPathsTo(DataFlowNode destination)
reverseParentPathsTo in interface DataFlowNodepublic int getLine()
getLine in interface DataFlowNodepublic void setType(int type)
setType in interface DataFlowNodepublic boolean isType(int intype)
isType in interface DataFlowNodepublic Node getNode()
getNode in interface DataFlowNodepublic List<DataFlowNode> getChildren()
getChildren in interface DataFlowNodepublic List<DataFlowNode> getParents()
getParents in interface DataFlowNodepublic List<DataFlowNode> getFlow()
getFlow in interface DataFlowNodepublic int getIndex()
getIndex in interface DataFlowNodepublic void setVariableAccess(List<VariableAccess> variableAccess)
setVariableAccess in interface DataFlowNodepublic List<VariableAccess> getVariableAccess()
getVariableAccess in interface DataFlowNodeCopyright © 2002-2014 InfoEther. All Rights Reserved.