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 line information for a [Source]. | 17 * The line information for a [Source]. |
18 */ | 18 */ |
19 final ResultDescriptor<LineInfo> LINE_INFO = | 19 final ResultDescriptor<LineInfo> LINE_INFO = |
20 new ResultDescriptor<LineInfo>('LINE_INFO', null); | 20 new ResultDescriptor<LineInfo>('LINE_INFO', null); |
21 | 21 |
22 /** | 22 /** |
23 * The modification time of a [Source]. | 23 * The modification time of a [Source]. |
24 */ | 24 */ |
25 final ResultDescriptor<int> MODIFICATION_TIME = | 25 final ResultDescriptor<int> MODIFICATION_TIME = |
26 new ResultDescriptor<int>('MODIFICATION_TIME', -1); | 26 new ResultDescriptor<int>('MODIFICATION_TIME', -1); |
OLD | NEW |