'use strict';

/* build.js
 * Build CSS from a tree.
 */

const Selector = require('./selector'),
      Property = require('./property'),
      Value = require('./value');

module.exports = exports = build;

function build(tree, indent){
  
}

@@ -61,16 +61,12 @@
 nst 
-Selector
+Rule
  = r
@@ -79,16 +79,12 @@
 ('./
-selector
+rule
 '),%0A
@@ -185,21 +185,22 @@
 ports = 
-build
+render
 ;%0A%0Afunct
@@ -207,30 +207,328 @@
 ion 
-build(tree, indent)%7B
+render(tree, opts)%7B%0A  opts = (typeof opts === 'object') ? opts : %5B%5D;%0A%0A  if (!Array.isArray(tree))%0A   throw new TypeError('tree must be an array.');%0A%0A  if (!opts.weak %7C%7C opts.strict) %7B%0A    tree.forEach((x) =%3E %7B%0A      if (!(x instanceof Rule))%0A        throw new Error('tree may only contain Rules at the base');%0A    %7D);
 %0A  
+%7D
 %0A%7D%0A

Rename to render and add strict checking