| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // This code was auto-generated, is not intended to be edited, and is subject to | 5 // This code was auto-generated, is not intended to be edited, and is subject to |
| 6 // significant change. Please see the README file for more information. | 6 // significant change. Please see the README file for more information. |
| 7 | 7 |
| 8 library engine; | 8 library engine; |
| 9 | 9 |
| 10 import "dart:math" as math; | 10 import "dart:math" as math; |
| (...skipping 10489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10500 cache.offset + cache.oldLength); | 10500 cache.offset + cache.oldLength); |
| 10501 // Update the resolution | 10501 // Update the resolution |
| 10502 TypeProvider typeProvider = this.typeProvider; | 10502 TypeProvider typeProvider = this.typeProvider; |
| 10503 if (_updatedUnit != null && typeProvider != null) { | 10503 if (_updatedUnit != null && typeProvider != null) { |
| 10504 CompilationUnitElement element = _updatedUnit.element; | 10504 CompilationUnitElement element = _updatedUnit.element; |
| 10505 if (element != null) { | 10505 if (element != null) { |
| 10506 LibraryElement library = element.library; | 10506 LibraryElement library = element.library; |
| 10507 if (library != null) { | 10507 if (library != null) { |
| 10508 IncrementalResolver resolver = new IncrementalResolver( | 10508 IncrementalResolver resolver = new IncrementalResolver( |
| 10509 typeProvider, | 10509 typeProvider, |
| 10510 library, | |
| 10511 element, | 10510 element, |
| 10512 cache.source, | |
| 10513 cache.offset, | 10511 cache.offset, |
| 10514 cache.oldLength, | 10512 cache.oldLength, |
| 10515 cache.newLength); | 10513 cache.newLength); |
| 10516 resolver.resolve(parser.updatedNode); | 10514 resolver.resolve(parser.updatedNode); |
| 10517 } | 10515 } |
| 10518 } | 10516 } |
| 10519 } | 10517 } |
| 10520 } | 10518 } |
| 10521 } | 10519 } |
| 10522 | 10520 |
| (...skipping 4395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14918 | 14916 |
| 14919 @override | 14917 @override |
| 14920 Object visitPolymerTagDartElement(PolymerTagDartElement element) { | 14918 Object visitPolymerTagDartElement(PolymerTagDartElement element) { |
| 14921 if (element.name == PolymerHtmlUnitBuilder_this._elementName) { | 14919 if (element.name == PolymerHtmlUnitBuilder_this._elementName) { |
| 14922 throw new PolymerHtmlUnitBuilder_FoundTagDartElementError( | 14920 throw new PolymerHtmlUnitBuilder_FoundTagDartElementError( |
| 14923 element as PolymerTagDartElementImpl); | 14921 element as PolymerTagDartElementImpl); |
| 14924 } | 14922 } |
| 14925 return null; | 14923 return null; |
| 14926 } | 14924 } |
| 14927 } | 14925 } |
| OLD | NEW |