Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Side by Side Diff: pkg/analyzer/lib/src/dart/element/handle.dart

Issue 2335843003: Remove LibraryElement.isUpToDate(). (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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.src.generated.element_handle; 5 library analyzer.src.generated.element_handle;
6 6
7 import 'package:analyzer/dart/ast/ast.dart'; 7 import 'package:analyzer/dart/ast/ast.dart';
8 import 'package:analyzer/dart/constant/value.dart'; 8 import 'package:analyzer/dart/constant/value.dart';
9 import 'package:analyzer/dart/element/element.dart'; 9 import 'package:analyzer/dart/element/element.dart';
10 import 'package:analyzer/dart/element/type.dart'; 10 import 'package:analyzer/dart/element/type.dart';
(...skipping 798 matching lines...) Expand 10 before | Expand all | Expand 10 after
809 809
810 @override 810 @override
811 List<LibraryElement> get visibleLibraries => actualElement.visibleLibraries; 811 List<LibraryElement> get visibleLibraries => actualElement.visibleLibraries;
812 812
813 @override 813 @override
814 List<ImportElement> getImportsWithPrefix(PrefixElement prefixElement) => 814 List<ImportElement> getImportsWithPrefix(PrefixElement prefixElement) =>
815 actualElement.getImportsWithPrefix(prefixElement); 815 actualElement.getImportsWithPrefix(prefixElement);
816 816
817 @override 817 @override
818 ClassElement getType(String className) => actualElement.getType(className); 818 ClassElement getType(String className) => actualElement.getType(className);
819
820 @override
821 bool isUpToDate(int timeStamp) => actualElement.isUpToDate(timeStamp);
822 } 819 }
823 820
824 /** 821 /**
825 * A handle to a [LocalVariableElement]. 822 * A handle to a [LocalVariableElement].
826 */ 823 */
827 class LocalVariableElementHandle extends VariableElementHandle 824 class LocalVariableElementHandle extends VariableElementHandle
828 implements LocalVariableElement { 825 implements LocalVariableElement {
829 /** 826 /**
830 * Initialize a newly created element handle to represent the element at the 827 * Initialize a newly created element handle to represent the element at the
831 * given [_location]. The [_resynthesizer] will be used to resynthesize the 828 * given [_location]. The [_resynthesizer] will be used to resynthesize the
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
1115 1112
1116 @override 1113 @override
1117 bool get isStatic => actualElement.isStatic; 1114 bool get isStatic => actualElement.isStatic;
1118 1115
1119 @override 1116 @override
1120 DartType get type => actualElement.type; 1117 DartType get type => actualElement.type;
1121 1118
1122 @override 1119 @override
1123 DartObject computeConstantValue() => actualElement.computeConstantValue(); 1120 DartObject computeConstantValue() => actualElement.computeConstantValue();
1124 } 1121 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/dart/element/element.dart ('k') | pkg/analyzer/test/src/dart/element/element_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698