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

Side by Side Diff: pkg/analyzer/lib/src/generated/element_handle.dart

Issue 1023443002: Add public and export namespaces to LibraryElement. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 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 | Annotate | Revision Log
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 // This code was auto-generated, is not intended to be edited, and is subject to 5 // This code was auto-generated, is not intended to be edited, and is subject to
6 // significant change. Please see the README file for more information. 6 // significant change. Please see the README file for more information.
7 7
8 library engine.element_handle; 8 library engine.element_handle;
9 9
10 import 'ast.dart'; 10 import 'ast.dart';
11 import 'element.dart'; 11 import 'element.dart';
12 import 'engine.dart'; 12 import 'engine.dart';
13 import 'java_core.dart'; 13 import 'java_core.dart';
14 import 'java_engine.dart'; 14 import 'java_engine.dart';
15 import 'resolver.dart';
15 import 'source.dart'; 16 import 'source.dart';
16 import 'utilities_dart.dart'; 17 import 'utilities_dart.dart';
17 18
18 /** 19 /**
19 * Instances of the class `ClassElementHandle` implement a handle to a `ClassEle ment`. 20 * Instances of the class `ClassElementHandle` implement a handle to a `ClassEle ment`.
20 */ 21 */
21 class ClassElementHandle extends ElementHandle implements ClassElement { 22 class ClassElementHandle extends ElementHandle implements ClassElement {
22 /** 23 /**
23 * Initialize a newly created element handle to represent the given element. 24 * Initialize a newly created element handle to represent the given element.
24 * 25 *
(...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 CompilationUnitElement get definingCompilationUnit => 745 CompilationUnitElement get definingCompilationUnit =>
745 actualElement.definingCompilationUnit; 746 actualElement.definingCompilationUnit;
746 747
747 @override 748 @override
748 FunctionElement get entryPoint => actualElement.entryPoint; 749 FunctionElement get entryPoint => actualElement.entryPoint;
749 750
750 @override 751 @override
751 List<LibraryElement> get exportedLibraries => actualElement.exportedLibraries; 752 List<LibraryElement> get exportedLibraries => actualElement.exportedLibraries;
752 753
753 @override 754 @override
755 Namespace get exportNamespace => actualElement.exportNamespace;
756
757 @override
754 List<ExportElement> get exports => actualElement.exports; 758 List<ExportElement> get exports => actualElement.exports;
755 759
756 @override 760 @override
757 bool get hasExtUri => actualElement.hasExtUri; 761 bool get hasExtUri => actualElement.hasExtUri;
758 762
759 @override 763 @override
760 bool get hasLoadLibraryFunction => actualElement.hasLoadLibraryFunction; 764 bool get hasLoadLibraryFunction => actualElement.hasLoadLibraryFunction;
761 765
762 @override 766 @override
763 List<LibraryElement> get importedLibraries => actualElement.importedLibraries; 767 List<LibraryElement> get importedLibraries => actualElement.importedLibraries;
(...skipping 16 matching lines...) Expand all
780 @override 784 @override
781 FunctionElement get loadLibraryFunction => actualElement.loadLibraryFunction; 785 FunctionElement get loadLibraryFunction => actualElement.loadLibraryFunction;
782 786
783 @override 787 @override
784 List<CompilationUnitElement> get parts => actualElement.parts; 788 List<CompilationUnitElement> get parts => actualElement.parts;
785 789
786 @override 790 @override
787 List<PrefixElement> get prefixes => actualElement.prefixes; 791 List<PrefixElement> get prefixes => actualElement.prefixes;
788 792
789 @override 793 @override
794 Namespace get publicNamespace => actualElement.publicNamespace;
795
796 @override
790 List<CompilationUnitElement> get units => actualElement.units; 797 List<CompilationUnitElement> get units => actualElement.units;
791 798
792 @override 799 @override
793 List<LibraryElement> get visibleLibraries => actualElement.visibleLibraries; 800 List<LibraryElement> get visibleLibraries => actualElement.visibleLibraries;
794 801
795 @override 802 @override
796 List<ImportElement> getImportsWithPrefix(PrefixElement prefixElement) => 803 List<ImportElement> getImportsWithPrefix(PrefixElement prefixElement) =>
797 actualElement.getImportsWithPrefix(prefixElement); 804 actualElement.getImportsWithPrefix(prefixElement);
798 805
799 @override 806 @override
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
1074 DartType get type => actualElement.type; 1081 DartType get type => actualElement.type;
1075 } 1082 }
1076 /** 1083 /**
1077 * TODO(scheglov) invalid implementation 1084 * TODO(scheglov) invalid implementation
1078 */ 1085 */
1079 class WeakReference<T> { 1086 class WeakReference<T> {
1080 final T value; 1087 final T value;
1081 WeakReference(this.value); 1088 WeakReference(this.value);
1082 T get() => value; 1089 T get() => value;
1083 } 1090 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698