Code coverage report for harmonizer/transform/shorthands.js

Statements: 100% (5 / 5)      Branches: 100% (0 / 0)      Functions: 100% (2 / 2)      Lines: 100% (5 / 5)      Ignored: none     

All files » harmonizer/transform/ » shorthands.js
1 2 3 4 5 6 7 8  1 10 84 84     1
'use strict';
function deshorthandify(program) {
  program.search('#Property').forEach(function (node) {
    node.shorthand = false;
    node.method = false;
  });
}
exports.transform = deshorthandify;