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 analyzer.task.general; | 5 library analyzer.task.general; |
6 | 6 |
7 import 'package:analyzer/src/generated/source.dart'; | 7 import 'package:analyzer/src/generated/source.dart'; |
8 import 'package:analyzer/task/model.dart'; | 8 import 'package:analyzer/task/model.dart'; |
9 | 9 |
10 /** | 10 /** |
11 * The content of a [Source]. | 11 * The content of a [Source]. |
12 */ | 12 */ |
13 final ResultDescriptor<String> CONTENT = | 13 final ResultDescriptor<String> CONTENT = |
14 new ResultDescriptor<String>('CONTENT', null); | 14 new ResultDescriptor<String>('CONTENT', null); |
15 | 15 |
16 /** | 16 /** |
17 * The ignore information for a [Source]. | |
18 */ | |
19 final ResultDescriptor<IgnoreInfo> IGNORE_INFO = | |
20 new ResultDescriptor<IgnoreInfo>('IGNORE_INFO', null); | |
scheglov
2016/05/27 18:05:47
Do we need this as a public information?
Brian Wilkerson
2016/05/27 18:21:18
I'd make it an internal result until we find a rea
pquitslund
2016/05/27 21:50:53
Done.
| |
21 | |
22 /** | |
17 * The line information for a [Source]. | 23 * The line information for a [Source]. |
18 */ | 24 */ |
19 final ResultDescriptor<LineInfo> LINE_INFO = | 25 final ResultDescriptor<LineInfo> LINE_INFO = |
20 new ResultDescriptor<LineInfo>('LINE_INFO', null); | 26 new ResultDescriptor<LineInfo>('LINE_INFO', null); |
21 | 27 |
22 /** | 28 /** |
23 * The modification time of a [Source]. | 29 * The modification time of a [Source]. |
24 */ | 30 */ |
25 final ResultDescriptor<int> MODIFICATION_TIME = | 31 final ResultDescriptor<int> MODIFICATION_TIME = |
26 new ResultDescriptor<int>('MODIFICATION_TIME', -1); | 32 new ResultDescriptor<int>('MODIFICATION_TIME', -1); |
OLD | NEW |