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 : @override 12 : final Uri uri = Uri(path: 'unparsed'); 13 : @override 14 : final int? line = null; 15 : @override 16 : final int? column = null; 17 : @override 18 : final bool isCore = false; 19 : @override 20 : final String library = 'unparsed'; 21 : @override 22 : final String? package = null; 23 : @override 24 : final String location = 'unparsed'; 25 : 26 : @override 27 : final String member; 28 : 29 0 : UnparsedFrame(this.member); 30 : 31 0 : @override 32 0 : String toString() => member; 33 : }