SSL wasm-source-map.js
Interaktion und PortierbarkeitJAVA
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict";
/** * SourceMapConsumer for WebAssembly source maps. It transposes columns with * lines, which allows mapping data to be used with SpiderMonkey Debugger API.
*/ class WasmRemap { /** * @param map SourceMapConsumer
*/
constructor(map) { this._map = map; this.version = map.version; this.file = map.file; this._computeColumnSpans = false;
}
get sources() { returnthis._map.sources;
}
get sourceRoot() { returnthis._map.sourceRoot;
}
/** * @param url string
*/
set sourceRoot(url) { // important, since sources are using this. this._map.sourceRoot = url;
}
get names() { returnthis._map.names;
}
get sourcesContent() { returnthis._map.sourcesContent;
}
get mappings() { thrownew Error("not supported");
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.