public class Structure extends Object
Constructor and Description |
---|
Structure(DataFlowHandler dataFlowHandler) |
Modifier and Type | Method and Description |
---|---|
DataFlowNode |
createEndNode(int line) |
DataFlowNode |
createNewNode(Node node)
This class encapsulates the access to the DataFlowNode class.
|
DataFlowNode |
createStartNode(int line) |
String |
dump() |
List<StackObject> |
getBraceStack() |
List<StackObject> |
getContinueBreakReturnStack() |
DataFlowNode |
getFirst() |
DataFlowNode |
getLast() |
void |
pushOnStack(int type,
DataFlowNode node)
The braceStack contains all nodes which are important to link the data
flow nodes.
|
public Structure(DataFlowHandler dataFlowHandler)
public DataFlowNode createNewNode(Node node)
public DataFlowNode createStartNode(int line)
public DataFlowNode createEndNode(int line)
public DataFlowNode getLast()
public DataFlowNode getFirst()
public void pushOnStack(int type, DataFlowNode node)
public List<StackObject> getBraceStack()
public List<StackObject> getContinueBreakReturnStack()
public String dump()
Copyright © 2002–2017 PMD. All rights reserved.