remix-analyzer/src/solidity-analyzer/modules/staticAnalysisCommon.js
function isLocalCall (node) {
  return nodeType(node, exactMatch(nodeTypes.FUNCTIONCALL)) &&
        minNrOfChildren(node, 1) &&
        nodeType(node.children[0], exactMatch(nodeTypes.IDENTIFIER)) &&
        expressionType(node.children[0], basicRegex.FUNCTIONTYPE) &&
        !expressionType(node.children[0], basicRegex.EXTERNALFUNCTIONTYPE) &&
        nrOfChildren(node.children[0], 0)
}
function isLocalCall (node) {
  return nodeType(node, exactMatch(nodeTypes.FUNCTIONCALL)) &&
        minNrOfChildren(node, 1) &&
        nodeType(node.children[0], exactMatch(nodeTypes.IDENTIFIER)) &&
        expressionType(node.children[0], basicRegex.FUNCTIONTYPE) &&
        !expressionType(node.children[0], basicRegex.EXTERNALFUNCTIONTYPE) &&
        nrOfChildren(node.children[0], 0)
}
function isLocalCall ( node ) { return nodeType ( node , exactMatch ( nodeTypes . FUNCTIONCALL ) ) && minNrOfChildren ( node , 1 ) && nodeType ( node . children [ 0 ] , exactMatch ( nodeTypes . IDENTIFIER ) ) && expressionType ( node . children [ 0 ] , basicRegex . FUNCTIONTYPE ) && ! expressionType ( node . children [ 0 ] , basicRegex . EXTERNALFUNCTIONTYPE ) && nrOfChildren ( node . children [ 0 ] , 0 ) }
True if call to local function
@node {ASTNode} some AstNode
@return {bool}
True if call to local function