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

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

Issue 2336913002: Remove LibraryElement.visibleLibraries. (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 790 matching lines...) Expand 10 before | Expand all | Expand 10 after
801 @override 801 @override
802 List<PrefixElement> get prefixes => actualElement.prefixes; 802 List<PrefixElement> get prefixes => actualElement.prefixes;
803 803
804 @override 804 @override
805 Namespace get publicNamespace => actualElement.publicNamespace; 805 Namespace get publicNamespace => actualElement.publicNamespace;
806 806
807 @override 807 @override
808 List<CompilationUnitElement> get units => actualElement.units; 808 List<CompilationUnitElement> get units => actualElement.units;
809 809
810 @override 810 @override
811 List<LibraryElement> get visibleLibraries => actualElement.visibleLibraries;
812
813 @override
814 List<ImportElement> getImportsWithPrefix(PrefixElement prefixElement) => 811 List<ImportElement> getImportsWithPrefix(PrefixElement prefixElement) =>
815 actualElement.getImportsWithPrefix(prefixElement); 812 actualElement.getImportsWithPrefix(prefixElement);
816 813
817 @override 814 @override
818 ClassElement getType(String className) => actualElement.getType(className); 815 ClassElement getType(String className) => actualElement.getType(className);
819 } 816 }
820 817
821 /** 818 /**
822 * A handle to a [LocalVariableElement]. 819 * A handle to a [LocalVariableElement].
823 */ 820 */
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
1112 1109
1113 @override 1110 @override
1114 bool get isStatic => actualElement.isStatic; 1111 bool get isStatic => actualElement.isStatic;
1115 1112
1116 @override 1113 @override
1117 DartType get type => actualElement.type; 1114 DartType get type => actualElement.type;
1118 1115
1119 @override 1116 @override
1120 DartObject computeConstantValue() => actualElement.computeConstantValue(); 1117 DartObject computeConstantValue() => actualElement.computeConstantValue();
1121 } 1118 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/dart/element/element.dart ('k') | pkg/analyzer/test/src/context/context_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698