OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 /** | 53 /** |
54 * @constructor | 54 * @constructor |
55 */ | 55 */ |
56 SourceMapV3.Offset = function() | 56 SourceMapV3.Offset = function() |
57 { | 57 { |
58 /** @type {number} */ this.line; | 58 /** @type {number} */ this.line; |
59 /** @type {number} */ this.column; | 59 /** @type {number} */ this.column; |
60 } | 60 } |
61 | 61 |
62 /** | 62 /** |
63 * Implements Source Map V3 model. See http://code.google.com/p/closure-compiler
/wiki/SourceMaps | 63 * Implements Source Map V3 model. See https://github.com/google/closure-compile
r/wiki/Source-Maps |
64 * for format description. | 64 * for format description. |
65 * @constructor | 65 * @constructor |
66 * @param {string} compiledURL | 66 * @param {string} compiledURL |
67 * @param {string} sourceMappingURL | 67 * @param {string} sourceMappingURL |
68 * @param {!SourceMapV3} payload | 68 * @param {!SourceMapV3} payload |
69 */ | 69 */ |
70 WebInspector.SourceMap = function(compiledURL, sourceMappingURL, payload) | 70 WebInspector.SourceMap = function(compiledURL, sourceMappingURL, payload) |
71 { | 71 { |
72 if (!WebInspector.SourceMap.prototype._base64Map) { | 72 if (!WebInspector.SourceMap.prototype._base64Map) { |
73 const base64Digits = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwx
yz0123456789+/"; | 73 const base64Digits = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwx
yz0123456789+/"; |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
416 * @param {number=} sourceColumnNumber | 416 * @param {number=} sourceColumnNumber |
417 */ | 417 */ |
418 WebInspector.SourceMap.Entry = function(lineNumber, columnNumber, sourceURL, sou
rceLineNumber, sourceColumnNumber) | 418 WebInspector.SourceMap.Entry = function(lineNumber, columnNumber, sourceURL, sou
rceLineNumber, sourceColumnNumber) |
419 { | 419 { |
420 this.lineNumber = lineNumber; | 420 this.lineNumber = lineNumber; |
421 this.columnNumber = columnNumber; | 421 this.columnNumber = columnNumber; |
422 this.sourceURL = sourceURL; | 422 this.sourceURL = sourceURL; |
423 this.sourceLineNumber = sourceLineNumber; | 423 this.sourceLineNumber = sourceLineNumber; |
424 this.sourceColumnNumber = sourceColumnNumber; | 424 this.sourceColumnNumber = sourceColumnNumber; |
425 } | 425 } |
OLD | NEW |