code: function endFunction(node) {
              const count = functionStack.pop();
  
              if (ignoreTopLevelFunctions && functionStack.length === 0) {
                  topLevelFunctions.push({ node, count });
              } else {
                  reportIfTooManyStatements(node, count, maxStatements);
              }
          }
docs: Evaluate the node at the end of function
  @param {ASTNode} node node to evaluate
  @returns {void}
  @private