function traverse_switch_statement (statement, context) {
  var cases = statement.cases;
  for (var i = 0; i !== cases.length; ++i) {
    var switch_case = cases[i];
    for (var j = 0; j !== switch_case.consequent.length; ++j) {
      var case_statement = switch_case.consequent[j];
      traverse_ast_statements(case_statement, context);
    }
  }
}
/**
 * @param {object} statement An esprima statement
 * @param {object} statement Contextual data that is parsed from the ast
 * Function that traverses through the espirma ast of switch case statements
 */
@param {object} statement An esprima statement
@param {object} statement Contextual data that is parsed from the ast
Function that traverses through the espirma ast of switch case statements
@param { object } statement An esprima statement @param { object } statement Contextual data that is parsed from the ast Function that traverses through the espirma ast of switch case statements
function traverse_switch_statement (statement, context) {
  var cases = statement.cases;
  for (var i = 0; i !== cases.length; ++i) {
    var switch_case = cases[i];
    for (var j = 0; j !== switch_case.consequent.length; ++j) {
      var case_statement = switch_case.consequent[j];
      traverse_ast_statements(case_statement, context);
    }
  }
}
function traverse_switch_statement ( statement , context ) { var cases = statement . cases ; for ( var i = 0 ; i !== cases . length ; ++ i ) { var switch_case = cases [ i ] ; for ( var j = 0 ; j !== switch_case . consequent . length ; ++ j ) { var case_statement = switch_case . consequent [ j ] ; traverse_ast_statements ( case_statement , context ) ; } } }
@param {object} statement An esprima statement
 @param {object} statement Contextual data that is parsed from the ast
 Function that traverses through the espirma ast of switch case statements
@param { object } statement An esprima statement @param { object } statement Contextual data that is parsed from the ast Function that traverses through the espirma ast of switch case statements