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

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

Issue 987263002: Implement 'node' for ClassElement and FieldElement for enums. (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';
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 @override 74 @override
75 ElementKind get kind => ElementKind.CLASS; 75 ElementKind get kind => ElementKind.CLASS;
76 76
77 @override 77 @override
78 List<MethodElement> get methods => actualElement.methods; 78 List<MethodElement> get methods => actualElement.methods;
79 79
80 @override 80 @override
81 List<InterfaceType> get mixins => actualElement.mixins; 81 List<InterfaceType> get mixins => actualElement.mixins;
82 82
83 @override 83 @override
84 ClassDeclaration get node => actualElement.node;
85
86 @override
87 InterfaceType get supertype => actualElement.supertype; 84 InterfaceType get supertype => actualElement.supertype;
88 85
89 @override 86 @override
90 InterfaceType get type => actualElement.type; 87 InterfaceType get type => actualElement.type;
91 88
92 @override 89 @override
93 List<TypeParameterElement> get typeParameters => actualElement.typeParameters; 90 List<TypeParameterElement> get typeParameters => actualElement.typeParameters;
94 91
95 @override 92 @override
96 ConstructorElement get unnamedConstructor => actualElement.unnamedConstructor; 93 ConstructorElement get unnamedConstructor => actualElement.unnamedConstructor;
(...skipping 977 matching lines...) Expand 10 before | Expand all | Expand 10 after
1074 DartType get type => actualElement.type; 1071 DartType get type => actualElement.type;
1075 } 1072 }
1076 /** 1073 /**
1077 * TODO(scheglov) invalid implementation 1074 * TODO(scheglov) invalid implementation
1078 */ 1075 */
1079 class WeakReference<T> { 1076 class WeakReference<T> {
1080 final T value; 1077 final T value;
1081 WeakReference(this.value); 1078 WeakReference(this.value);
1082 T get() => value; 1079 T get() => value;
1083 } 1080 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/element.dart ('k') | pkg/analyzer/test/generated/element_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698