public class ControlFlowGraph extends Object
Each node of the graph represents a list of elements which are executed one after the other. Each node has:
| Modifier and Type | Method and Description |
|---|---|
Set<CfgBlock> |
blocks() |
static ControlFlowGraph |
build(BlockTree body) |
static ControlFlowGraph |
build(ScriptTree tree) |
Set<SyntaxToken> |
disconnectingJumps(CfgBlock block) |
CfgBlock |
end() |
CfgBlock |
start() |
Set<CfgBlock> |
unreachableBlocks() |
public static ControlFlowGraph build(ScriptTree tree)
public static ControlFlowGraph build(BlockTree body)
public CfgBlock start()
public CfgBlock end()
public Set<SyntaxToken> disconnectingJumps(CfgBlock block)
Copyright © 2011–2016 SonarSource and Eriks Nukis. All rights reserved.