Sha256: a6247b99eae0d67c7d15e22e3e02fab81aaeb794da4e566c991621277595990b

Contents?: true

Size: 332 Bytes

Versions: 7

Compression:

Stored size: 332 Bytes

Contents

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = addComment;

var _addComments = require("./addComments");

function addComment(node, type, content, line) {
  return (0, _addComments.default)(node, type, [{
    type: line ? "CommentLine" : "CommentBlock",
    value: content
  }]);
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
disco_app-0.16.1 test/dummy/node_modules/@babel/types/lib/comments/addComment.js
disco_app-0.15.2 test/dummy/node_modules/@babel/types/lib/comments/addComment.js
disco_app-0.18.4 test/dummy/node_modules/@babel/types/lib/comments/addComment.js
disco_app-0.18.1 test/dummy/node_modules/@babel/types/lib/comments/addComment.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/@babel/types/lib/comments/addComment.js
disco_app-0.14.0 test/dummy/node_modules/@babel/types/lib/comments/addComment.js
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/@babel/types/lib/comments/addComment.js