buildFromMethod method

ControlFlowGraph buildFromMethod(
  1. MethodDeclaration node
)

Builds a CFG from a method declaration.

Implementation

ControlFlowGraph buildFromMethod(MethodDeclaration node) {
  return _build(node.name.lexeme, node.body);
}