| OLD | NEW | 
|---|
| 1 // Copyright (c) 2013, the Dart project authors.  Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 part of dart.core; | 5 part of dart.core; | 
| 6 | 6 | 
| 7 /** | 7 /** | 
| 8  * An interface implemented by all stack trace objects. | 8  * An interface implemented by all stack trace objects. | 
| 9  * | 9  * | 
| 10  * A [StackTrace] is intended to convey information to the user about the call | 10  * A [StackTrace] is intended to convey information to the user about the call | 
| (...skipping 28 matching lines...) Expand all  Loading... | 
| 39    * | 39    * | 
| 40    * The getter achieves this without throwing, except on platforms that | 40    * The getter achieves this without throwing, except on platforms that | 
| 41    * have no other way to get a stack trace. | 41    * have no other way to get a stack trace. | 
| 42    */ | 42    */ | 
| 43   external static StackTrace get current; | 43   external static StackTrace get current; | 
| 44 | 44 | 
| 45   /** | 45   /** | 
| 46    * Returns a [String] representation of the stack trace. | 46    * Returns a [String] representation of the stack trace. | 
| 47    * | 47    * | 
| 48    * The string represents the full stack trace starting from | 48    * The string represents the full stack trace starting from | 
| 49    * the point where a throw ocurred to the top of the current call sequence. | 49    * the point where a throw occurred to the top of the current call sequence. | 
| 50    * | 50    * | 
| 51    * The exact format of the string representation is not final. | 51    * The exact format of the string representation is not final. | 
| 52    */ | 52    */ | 
| 53   String toString(); | 53   String toString(); | 
| 54 } | 54 } | 
| 55 | 55 | 
| 56 class _StringStackTrace implements StackTrace { | 56 class _StringStackTrace implements StackTrace { | 
| 57   final String _stackTrace; | 57   final String _stackTrace; | 
| 58   _StringStackTrace(this._stackTrace); | 58   _StringStackTrace(this._stackTrace); | 
| 59   String toString() => _stackTrace; | 59   String toString() => _stackTrace; | 
| 60 } | 60 } | 
| OLD | NEW | 
|---|