jspm_packages/npm/babel-core@5.8.38/lib/generation/generators/statements.js
function SwitchStatement(node, print) {
  this.keyword("switch");
  this.push("(");
  print.plain(node.discriminant);
  this.push(")");
  this.space();
  this.push("{");

  print.sequence(node.cases, {
    indent: true,
    addNewlines: function addNewlines(leading, cas) {
      if (!leading && node.cases[node.cases.length - 1] === cas) return -1;
    }
  });

  this.push("}");
}
function SwitchStatement(node, print) {
  this.keyword("switch");
  this.push("(");
  print.plain(node.discriminant);
  this.push(")");
  this.space();
  this.push("{");

  print.sequence(node.cases, {
    indent: true,
    addNewlines: function addNewlines(leading, cas) {
      if (!leading && node.cases[node.cases.length - 1] === cas) return -1;
    }
  });

  this.push("}");
}
function SwitchStatement ( node , print ) { this . keyword ( "switch" ) ; this . push ( "(" ) ; print . plain ( node . discriminant ) ; this . push ( ")" ) ; this . space ( ) ; this . push ( "{" ) ; print . sequence ( node . cases , { indent : true , addNewlines : function addNewlines ( leading , cas ) { if ( ! leading && node . cases [ node . cases . length - 1 ] === cas ) return - 1 ; } } ) ; this . push ( "}" ) ; }
Prints SwitchStatement, prints discriminant and cases.
Prints SwitchStatement prints discriminant and cases .