Line data Source code
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
3 : // BSD-style license that can be found in the LICENSE file.
4 :
5 : import 'frame.dart';
6 :
7 : /// A frame that failed to parse.
8 : ///
9 : /// The [member] property contains the original frame's contents.
10 : class UnparsedFrame implements Frame {
11 : final Uri uri = new Uri(path: "unparsed");
12 : final int line = null;
13 : final int column = null;
14 : final bool isCore = false;
15 : final String library = "unparsed";
16 : final String package = null;
17 : final String location = "unparsed";
18 :
19 : final String member;
20 :
21 0 : UnparsedFrame(this.member);
22 :
23 0 : String toString() => member;
24 : }
|