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

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

Issue 1576853003: Deprecate the ChainHandler typedef. (Closed) Base URL: git@github.com:dart-lang/stack_trace@master
Patch Set: Created 4 years, 11 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
« lib/src/chain.dart ('K') | « lib/src/chain.dart ('k') | no next file » | 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) 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 library frame; 5 library frame;
6 6
7 import 'package:path/path.dart' as path; 7 import 'package:path/path.dart' as path;
8 8
9 import 'trace.dart'; 9 import 'trace.dart';
10 import 'unparsed_frame.dart'; 10 import 'unparsed_frame.dart';
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 return body(); 297 return body();
298 } on FormatException catch (_) { 298 } on FormatException catch (_) {
299 return new UnparsedFrame(text); 299 return new UnparsedFrame(text);
300 } 300 }
301 } 301 }
302 302
303 Frame(this.uri, this.line, this.column, this.member); 303 Frame(this.uri, this.line, this.column, this.member);
304 304
305 String toString() => '$location in $member'; 305 String toString() => '$location in $member';
306 } 306 }
307
308 import 'package:stack_trace/stack_trace.dart';
Bob Nystrom 2016/01/12 01:12:14 ?
nweiz 2016/01/12 01:30:35 Done.
309
310 void main() {
311 Chain.capture(() {
312 // Your program goes here.
313 });
314 }
315
OLDNEW
« lib/src/chain.dart ('K') | « lib/src/chain.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698