warn(node, msg, type) {
    this.warnings.push({
      line: node.loc ? node.loc.start.line : 0,
      msg,
      type,
    });
  }
Logs a warning.
@param  {Object} node AAST node that caused the warning
@param  {String} msg Warning message itself
@param  {String} type Name of the transform