docs: function(cond){
      var test = cond.test;
  
      var blockConsequent = this.visit(cond.consequent, cond);
      var c = t.ifStatement(
        cond.astTest || this.parseExpr(test),
        t.blockStatement(blockConsequent)
      );
  
  
      if (cond.alternate) {
        if (cond.alternate.type === 'Conditional') {
          c.alternate = this.visitConditional(cond.alternate)[0];
        } else {
          var blockAlternate = this.visit(cond.alternate, cond);
          c.alternate = t.blockStatement(blockAlternate);
        }
      }
      return [c];
    }