| 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 6820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6831 /** | 6831 /** |
| 6832 * Perform this analysis task, ensuring that all exceptions are wrapped in an | 6832 * Perform this analysis task, ensuring that all exceptions are wrapped in an |
| 6833 * [AnalysisException]. | 6833 * [AnalysisException]. |
| 6834 * | 6834 * |
| 6835 * @throws AnalysisException if any exception occurs while performing the task | 6835 * @throws AnalysisException if any exception occurs while performing the task |
| 6836 */ | 6836 */ |
| 6837 void _safelyPerform() { | 6837 void _safelyPerform() { |
| 6838 try { | 6838 try { |
| 6839 internalPerform(); | 6839 internalPerform(); |
| 6840 } on AnalysisException catch (exception) { | 6840 } on AnalysisException catch (exception) { |
| 6841 throw exception; | 6841 rethrow; |
| 6842 } catch (exception, stackTrace) { | 6842 } catch (exception, stackTrace) { |
| 6843 throw new AnalysisException( | 6843 throw new AnalysisException( |
| 6844 exception.toString(), | 6844 exception.toString(), |
| 6845 new CaughtException(exception, stackTrace)); | 6845 new CaughtException(exception, stackTrace)); |
| 6846 } | 6846 } |
| 6847 } | 6847 } |
| 6848 } | 6848 } |
| 6849 | 6849 |
| 6850 /** | 6850 /** |
| 6851 * An `AnalysisTaskVisitor` visits tasks. While tasks are not structured in any | 6851 * An `AnalysisTaskVisitor` visits tasks. While tasks are not structured in any |
| (...skipping 5577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12429 if (element.id == _id) { | 12429 if (element.id == _id) { |
| 12430 result = element; | 12430 result = element; |
| 12431 throw new _ElementByIdFinderException(); | 12431 throw new _ElementByIdFinderException(); |
| 12432 } | 12432 } |
| 12433 super.visitElement(element); | 12433 super.visitElement(element); |
| 12434 } | 12434 } |
| 12435 } | 12435 } |
| 12436 | 12436 |
| 12437 class _ElementByIdFinderException { | 12437 class _ElementByIdFinderException { |
| 12438 } | 12438 } |
| OLD | NEW |