public class FlowGraphFragment
extends java.lang.Object
Constructor and Description |
---|
FlowGraphFragment(java.lang.Object key,
BasicBlock entryBlock,
Function entryFun,
java.util.Collection<Function> functions,
java.util.Collection<BasicBlock> blocks)
Constructs a flow graph fragment.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<BasicBlock> |
getBlocks()
Returns the collection of blocks.
|
BasicBlock |
getEntryBlock()
Returns the entry block.
|
Function |
getEntryFunction()
Returns the entry function.
|
java.util.Collection<Function> |
getFunction()
Returns the collection of functions.
|
java.lang.Object |
getKey()
Returns the key.
|
public FlowGraphFragment(java.lang.Object key, BasicBlock entryBlock, Function entryFun, java.util.Collection<Function> functions, java.util.Collection<BasicBlock> blocks)
key
- fragment keyentryBlock
- starting block for this fragmententryFun
- outermost function block for this fragment (used to keep track of event handlers)functions
- functions that belong to this fragmentblocks
- blocks that belong to this fragment (excluding blocks in the given collection of functions)public java.util.Collection<BasicBlock> getBlocks()
public BasicBlock getEntryBlock()
public Function getEntryFunction()
public java.util.Collection<Function> getFunction()
public java.lang.Object getKey()
Copyright © 2009-2019 Aarhus University