summaryrefslogtreecommitdiff
path: root/tools/node_modules/babel-eslint/node_modules/@babel/types/lib/comments/inheritLeadingComments.js
blob: f5c213be1fcddd464a7a348ea7bb4db50e2c0113 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
"use strict";

exports.__esModule = true;
exports.default = inheritLeadingComments;

var _inherit = _interopRequireDefault(require("../utils/inherit"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function inheritLeadingComments(child, parent) {
  (0, _inherit.default)("leadingComments", child, parent);
}