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:
Brian Wilkerson 2018-04-20 16:16:09 +00:00 committed by commit-bot@chromium.org
parent 313b5bd191
commit 9d7e35b417
3 changed files with 22 additions and 1 deletions

View 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';

View file

@ -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;

View 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';