| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 * @param {*} object | 80 * @param {*} object |
| 81 */ | 81 */ |
| 82 InjectedScriptHostClass.prototype.type = function(object) { } | 82 InjectedScriptHostClass.prototype.type = function(object) { } |
| 83 /** | 83 /** |
| 84 * @param {*} object | 84 * @param {*} object |
| 85 */ | 85 */ |
| 86 InjectedScriptHostClass.prototype.getEventListeners = function(object) { } | 86 InjectedScriptHostClass.prototype.getEventListeners = function(object) { } |
| 87 /** | 87 /** |
| 88 * @param {string} expression | 88 * @param {string} expression |
| 89 */ | 89 */ |
| 90 InjectedScriptHostClass.prototype.evaluate = function(expression) { } | 90 InjectedScriptHostClass.prototype.eval = function(expression) { } |
| 91 /** |
| 92 * @param {string} expression |
| 93 */ |
| 94 InjectedScriptHostClass.prototype.evaluateWithExceptionDetails = function(expres
sion) { } |
| 91 /** | 95 /** |
| 92 * @param {*} fn | 96 * @param {*} fn |
| 93 */ | 97 */ |
| 94 InjectedScriptHostClass.prototype.debugFunction = function(fn) { } | 98 InjectedScriptHostClass.prototype.debugFunction = function(fn) { } |
| 95 /** | 99 /** |
| 96 * @param {*} fn | 100 * @param {*} fn |
| 97 */ | 101 */ |
| 98 InjectedScriptHostClass.prototype.undebugFunction = function(fn) { } | 102 InjectedScriptHostClass.prototype.undebugFunction = function(fn) { } |
| 99 /** | 103 /** |
| 100 * @param {*} fn | 104 * @param {*} fn |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 /** @type {string} */ | 140 /** @type {string} */ |
| 137 this.stepInPositions; | 141 this.stepInPositions; |
| 138 } | 142 } |
| 139 | 143 |
| 140 /** | 144 /** |
| 141 * @param {number} index | 145 * @param {number} index |
| 142 */ | 146 */ |
| 143 JavaScriptCallFrame.prototype.scopeType = function(index) { } | 147 JavaScriptCallFrame.prototype.scopeType = function(index) { } |
| 144 | 148 |
| 145 JavaScriptCallFrame.prototype.restart = function() { } | 149 JavaScriptCallFrame.prototype.restart = function() { } |
| 146 | 150 /** |
| 151 * @param {string} expression |
| 152 */ |
| 153 JavaScriptCallFrame.prototype.evaluateWithExceptionDetails = function(expression
) { } |
| 147 /** | 154 /** |
| 148 * @param {number} scopeNumber | 155 * @param {number} scopeNumber |
| 149 * @param {string} variableName | 156 * @param {string} variableName |
| 150 * @param {*} newValue | 157 * @param {*} newValue |
| 151 */ | 158 */ |
| 152 JavaScriptCallFrame.prototype.setVariableValue = function(scopeNumber, variableN
ame, newValue) {} | 159 JavaScriptCallFrame.prototype.setVariableValue = function(scopeNumber, variableN
ame, newValue) {} |
| 153 | 160 |
| 154 /** | 161 /** |
| 155 * @constructor | 162 * @constructor |
| 156 */ | 163 */ |
| 157 function JavaScriptFunction() | 164 function JavaScriptFunction() |
| 158 { | 165 { |
| 159 /** @type {Array} */ | 166 /** @type {Array} */ |
| 160 this.rawScopes; | 167 this.rawScopes; |
| 161 } | 168 } |
| 162 | 169 |
| 163 // FIXME: Remove once ES6 is supported natively by JS compiler. | 170 // FIXME: Remove once ES6 is supported natively by JS compiler. |
| 164 | 171 |
| 165 /** @typedef {string} */ | 172 /** @typedef {string} */ |
| 166 var symbol; | 173 var symbol; |
| 167 | 174 |
| 168 /** | 175 /** |
| 169 * @param {string} description | 176 * @param {string} description |
| 170 * @return {symbol} | 177 * @return {symbol} |
| 171 */ | 178 */ |
| 172 function Symbol(description) {} | 179 function Symbol(description) {} |
| OLD | NEW |