File tree 3 files changed +22
-1
lines changed 3 files changed +22
-1
lines changed Original file line number Diff line number Diff line change
1
+ // Copyright (c) 2017, 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
+ @deprecated
6
+ library context.context_root;
7
+
8
+ export 'package:analyzer/src/context/context_root.dart' ;
Original file line number Diff line number Diff line change @@ -62,8 +62,13 @@ class LineInfo {
62
62
63
63
/**
64
64
* Return the location information for the character at the given [offset] .
65
+ *
66
+ * A future version of this API will return a [CharacterLocation] rather than
67
+ // ignore: deprecated_member_use
68
+ * a [LineInfo_Location] .
65
69
*/
66
- CharacterLocation getLocation (int offset) {
70
+ // ignore: deprecated_member_use
71
+ LineInfo_Location getLocation (int offset) {
67
72
var min = 0 ;
68
73
var max = lineStarts.length - 1 ;
69
74
Original file line number Diff line number Diff line change
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
+ @deprecated
6
+ library task.model;
7
+
8
+ export 'package:analyzer/src/task/api/model.dart' ;
You can’t perform that action at this time.
0 commit comments