| 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 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 * @param {number=} sourceColumnNumber | 424 * @param {number=} sourceColumnNumber |
| 425 */ | 425 */ |
| 426 WebInspector.SourceMap.Entry = function(lineNumber, columnNumber, sourceURL, sou
rceLineNumber, sourceColumnNumber) | 426 WebInspector.SourceMap.Entry = function(lineNumber, columnNumber, sourceURL, sou
rceLineNumber, sourceColumnNumber) |
| 427 { | 427 { |
| 428 this.lineNumber = lineNumber; | 428 this.lineNumber = lineNumber; |
| 429 this.columnNumber = columnNumber; | 429 this.columnNumber = columnNumber; |
| 430 this.sourceURL = sourceURL; | 430 this.sourceURL = sourceURL; |
| 431 this.sourceLineNumber = sourceLineNumber; | 431 this.sourceLineNumber = sourceLineNumber; |
| 432 this.sourceColumnNumber = sourceColumnNumber; | 432 this.sourceColumnNumber = sourceColumnNumber; |
| 433 } | 433 } |
| OLD | NEW |