code: function checkASTandNodeArray(ast, nodes) {
    typeCheckObject(ast, 'ast');
    typeCheckArray(nodes, 'nodes');
    nodes.forEach((node, index) => {
      typeCheckObject(node, 'nodes (index: ' + index + ')');
    });
    runValidator(ast, 'ast');
    nodes.forEach((node, index) => {
      runValidator(node, 'nodes (index: ' + index + ')');
    });
  }
docs: /*
  Function to check for errors between ast and an array of nodes