* 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
(node, msg, type)
| 13 | * @param {String} type Name of the transform |
| 14 | */ |
| 15 | warn(node, msg, type) { |
| 16 | this.warnings.push({ |
| 17 | line: node.loc ? node.loc.start.line : 0, |
| 18 | msg, |
| 19 | type, |
| 20 | }); |
| 21 | } |
| 22 | |
| 23 | /** |
| 24 | * Returns list of all the warnings |
no outgoing calls
no test coverage detected