first commit

This commit is contained in:
s.golasch
2023-08-01 13:49:46 +02:00
commit 1fc239fd54
20238 changed files with 3112246 additions and 0 deletions

31
build/node_modules/source-list-map/lib/CodeNode.js generated vendored Normal file
View File

@@ -0,0 +1,31 @@
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
var getNumberOfLines = require("./helpers").getNumberOfLines;
function CodeNode(generatedCode) {
this.generatedCode = generatedCode;
}
module.exports = CodeNode;
CodeNode.prototype.clone = function() {
return new CodeNode(this.generatedCode);
}
CodeNode.prototype.getGeneratedCode = function() {
return this.generatedCode;
};
CodeNode.prototype.getMappings = function(mappingsContext) {
var lines = getNumberOfLines(this.generatedCode);
return Array(lines+1).join(";");
};
CodeNode.prototype.addGeneratedCode = function(generatedCode) {
this.generatedCode += generatedCode;
};
CodeNode.prototype.mapGeneratedCode = function(fn) {
this.generatedCode = fn(this.generatedCode);
};