remix-analyzer/src/solidity-analyzer/modules/functionCallGraph.js
function analyseCallGraph (callGraph, funcName, context, nodeCheck) {
  return analyseCallGraphInternal(callGraph, funcName, context, (a, b) => a || b, nodeCheck, {})
}
function analyseCallGraph (callGraph, funcName, context, nodeCheck) {
  return analyseCallGraphInternal(callGraph, funcName, context, (a, b) => a || b, nodeCheck, {})
}
function analyseCallGraph ( callGraph , funcName , context , nodeCheck ) { return analyseCallGraphInternal ( callGraph , funcName , context , ( a , b ) => a || b , nodeCheck , { } ) }
Walks through the call graph from a defined starting function, true if nodeCheck holds for every relevant node in the callgraph
@callGraph {callGraph} As returned by buildGlobalFuncCallGraph
@funcName {string} full qualified name of the starting function
@context {Object} provides additional context information that can be used by the nodeCheck function
@nodeCheck {(ASTNode, context) -> bool} applied on every relevant node in the call graph
@return {bool} returns map from contract name to contract call graph
Walks through the call graph from a defined starting function true if nodeCheck holds for every relevant node in the callgraph