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

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

Issue 1158193008: Eliminate Modifier.TYPEDEF and deprecate ClassElement.isTypedef. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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 // 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 @override 63 @override
64 bool get isMixinApplication => actualElement.isMixinApplication; 64 bool get isMixinApplication => actualElement.isMixinApplication;
65 65
66 @override 66 @override
67 bool get isOrInheritsProxy => actualElement.isOrInheritsProxy; 67 bool get isOrInheritsProxy => actualElement.isOrInheritsProxy;
68 68
69 @override 69 @override
70 bool get isProxy => actualElement.isProxy; 70 bool get isProxy => actualElement.isProxy;
71 71
72 @override 72 @override
73 bool get isTypedef => actualElement.isTypedef; 73 @deprecated
74 bool get isTypedef => actualElement.isMixinApplication;
74 75
75 @override 76 @override
76 bool get isValidMixin => actualElement.isValidMixin; 77 bool get isValidMixin => actualElement.isValidMixin;
77 78
78 @override 79 @override
79 ElementKind get kind => ElementKind.CLASS; 80 ElementKind get kind => ElementKind.CLASS;
80 81
81 @override 82 @override
82 List<MethodElement> get methods => actualElement.methods; 83 List<MethodElement> get methods => actualElement.methods;
83 84
(...skipping 1017 matching lines...) Expand 10 before | Expand all | Expand 10 after
1101 DartType get type => actualElement.type; 1102 DartType get type => actualElement.type;
1102 } 1103 }
1103 /** 1104 /**
1104 * TODO(scheglov) invalid implementation 1105 * TODO(scheglov) invalid implementation
1105 */ 1106 */
1106 class WeakReference<T> { 1107 class WeakReference<T> {
1107 final T value; 1108 final T value;
1108 WeakReference(this.value); 1109 WeakReference(this.value);
1109 T get() => value; 1110 T get() => value;
1110 } 1111 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/element.dart ('k') | pkg/analyzer/lib/src/generated/error_verifier.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698