mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 00:09:49 +00:00
Unmake some breaking changes made in previous CLs
Change-Id: I4c28418f8e5a3c9af7b37f44d7ebd3cd2d818c16 Reviewed-on: https://dart-review.googlesource.com/52160 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
This commit is contained in:
parent
313b5bd191
commit
9d7e35b417
8
pkg/analyzer/lib/context/context_root.dart
Normal file
8
pkg/analyzer/lib/context/context_root.dart
Normal file
|
@ -0,0 +1,8 @@
|
|||
// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
// BSD-style license that can be found in the LICENSE file.
|
||||
|
||||
@deprecated
|
||||
library context.context_root;
|
||||
|
||||
export 'package:analyzer/src/context/context_root.dart';
|
|
@ -62,8 +62,13 @@ class LineInfo {
|
|||
|
||||
/**
|
||||
* Return the location information for the character at the given [offset].
|
||||
*
|
||||
* A future version of this API will return a [CharacterLocation] rather than
|
||||
// ignore: deprecated_member_use
|
||||
* a [LineInfo_Location].
|
||||
*/
|
||||
CharacterLocation getLocation(int offset) {
|
||||
// ignore: deprecated_member_use
|
||||
LineInfo_Location getLocation(int offset) {
|
||||
var min = 0;
|
||||
var max = lineStarts.length - 1;
|
||||
|
||||
|
|
8
pkg/analyzer/lib/task/model.dart
Normal file
8
pkg/analyzer/lib/task/model.dart
Normal file
|
@ -0,0 +1,8 @@
|
|||
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
// BSD-style license that can be found in the LICENSE file.
|
||||
|
||||
@deprecated
|
||||
library task.model;
|
||||
|
||||
export 'package:analyzer/src/task/api/model.dart';
|
Loading…
Reference in a new issue