| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 /** | 4 /** |
| 5 * @unrestricted | 5 * @unrestricted |
| 6 */ | 6 */ |
| 7 WebInspector.SASSProcessor = class { | 7 WebInspector.SASSProcessor = class { |
| 8 /** | 8 /** |
| 9 * @param {!WebInspector.ASTService} astService | 9 * @param {!WebInspector.ASTService} astService |
| 10 * @param {!WebInspector.ASTSourceMap} map | 10 * @param {!WebInspector.ASTSourceMap} map |
| (...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 532 rebase(newMap, nodeMapping) { | 532 rebase(newMap, nodeMapping) { |
| 533 var sassRule = /** @type {?WebInspector.SASSSupport.Rule} */ (nodeMapping.ge
t(this._sassRule)) || this._sassRule; | 533 var sassRule = /** @type {?WebInspector.SASSSupport.Rule} */ (nodeMapping.ge
t(this._sassRule)) || this._sassRule; |
| 534 var afterSASSProperty = this._afterSASSProperty ? | 534 var afterSASSProperty = this._afterSASSProperty ? |
| 535 /** @type {?WebInspector.SASSSupport.Property} */ (nodeMapping.get(this.
_afterSASSProperty)) || | 535 /** @type {?WebInspector.SASSSupport.Property} */ (nodeMapping.get(this.
_afterSASSProperty)) || |
| 536 this._afterSASSProperty : | 536 this._afterSASSProperty : |
| 537 null; | 537 null; |
| 538 return new WebInspector.SASSProcessor.InsertPropertiesOperation( | 538 return new WebInspector.SASSProcessor.InsertPropertiesOperation( |
| 539 newMap, sassRule, afterSASSProperty, this._nameTexts, this._valueTexts,
this._disabledStates); | 539 newMap, sassRule, afterSASSProperty, this._nameTexts, this._valueTexts,
this._disabledStates); |
| 540 } | 540 } |
| 541 }; | 541 }; |
| 542 | |
| 543 | |
| OLD | NEW |