| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 library stack_trace.unparsed_frame; | |
| 6 | |
| 7 import 'frame.dart'; | 5 import 'frame.dart'; |
| 8 | 6 |
| 9 /// A frame that failed to parse. | 7 /// A frame that failed to parse. |
| 10 /// | 8 /// |
| 11 /// The [member] property contains the original frame's contents. | 9 /// The [member] property contains the original frame's contents. |
| 12 class UnparsedFrame implements Frame { | 10 class UnparsedFrame implements Frame { |
| 13 final Uri uri = new Uri(path: "unparsed"); | 11 final Uri uri = new Uri(path: "unparsed"); |
| 14 final int line = null; | 12 final int line = null; |
| 15 final int column = null; | 13 final int column = null; |
| 16 final bool isCore = false; | 14 final bool isCore = false; |
| 17 final String library = "unparsed"; | 15 final String library = "unparsed"; |
| 18 final String package = null; | 16 final String package = null; |
| 19 final String location = "unparsed"; | 17 final String location = "unparsed"; |
| 20 | 18 |
| 21 final String member; | 19 final String member; |
| 22 | 20 |
| 23 UnparsedFrame(this.member); | 21 UnparsedFrame(this.member); |
| 24 | 22 |
| 25 String toString() => member; | 23 String toString() => member; |
| 26 } | 24 } |
| OLD | NEW |