Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Side by Side Diff: lib/src/unparsed_frame.dart

Issue 1291633004: Fix a couple bugs introduced in the last CL. (Closed) Base URL: git@github.com:dart-lang/stack_trace@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « CHANGELOG.md ('k') | pubspec.yaml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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; 5 library stack_trace.unparsed_frame;
6 6
7 import 'frame.dart'; 7 import 'frame.dart';
8 8
9 /// A frame that failed to parse. 9 /// A frame that failed to parse.
10 /// 10 ///
11 /// The [member] property contains the original frame's contents. 11 /// The [member] property contains the original frame's contents.
12 class UnparsedFrame implements Frame { 12 class UnparsedFrame implements Frame {
13 final Uri uri = new Uri(path: "unparsed"); 13 final Uri uri = new Uri(path: "unparsed");
14 final int line = null; 14 final int line = null;
15 final int column = null; 15 final int column = null;
16 final bool isCore = false; 16 final bool isCore = false;
17 final String library = "unparsed"; 17 final String library = "unparsed";
18 final String package = null; 18 final String package = null;
19 final String location = "unparsed"; 19 final String location = "unparsed";
20 20
21 final String member; 21 final String member;
22 22
23 UnparsedFrame(this.member); 23 UnparsedFrame(this.member);
24 24
25 String toString() => _original; 25 String toString() => member;
26 } 26 }
OLDNEW
« no previous file with comments | « CHANGELOG.md ('k') | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698