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

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

Issue 1217373005: Generic method support in element model (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 List<LocalVariableElement> get localVariables => actualElement.localVariables; 542 List<LocalVariableElement> get localVariables => actualElement.localVariables;
543 543
544 @override 544 @override
545 List<ParameterElement> get parameters => actualElement.parameters; 545 List<ParameterElement> get parameters => actualElement.parameters;
546 546
547 @override 547 @override
548 DartType get returnType => actualElement.returnType; 548 DartType get returnType => actualElement.returnType;
549 549
550 @override 550 @override
551 FunctionType get type => actualElement.type; 551 FunctionType get type => actualElement.type;
552
553 @override
554 List<TypeParameterElement> get typeParameters => actualElement.typeParameters;
552 } 555 }
553 556
554 /** 557 /**
555 * Instances of the class `ExportElementHandle` implement a handle to an `Export Element` 558 * Instances of the class `ExportElementHandle` implement a handle to an `Export Element`
556 * . 559 * .
557 */ 560 */
558 class ExportElementHandle extends ElementHandle implements ExportElement { 561 class ExportElementHandle extends ElementHandle implements ExportElement {
559 /** 562 /**
560 * Initialize a newly created element handle to represent the given element. 563 * Initialize a newly created element handle to represent the given element.
561 * 564 *
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
912 @override 915 @override
913 ElementKind get kind => ElementKind.PARAMETER; 916 ElementKind get kind => ElementKind.PARAMETER;
914 917
915 @override 918 @override
916 ParameterKind get parameterKind => actualElement.parameterKind; 919 ParameterKind get parameterKind => actualElement.parameterKind;
917 920
918 @override 921 @override
919 List<ParameterElement> get parameters => actualElement.parameters; 922 List<ParameterElement> get parameters => actualElement.parameters;
920 923
921 @override 924 @override
925 List<TypeParameterElement> get typeParameters => actualElement.typeParameters;
926
927 @override
922 SourceRange get visibleRange => actualElement.visibleRange; 928 SourceRange get visibleRange => actualElement.visibleRange;
923 } 929 }
924 930
925 /** 931 /**
926 * Instances of the class `PrefixElementHandle` implement a handle to a `PrefixE lement`. 932 * Instances of the class `PrefixElementHandle` implement a handle to a `PrefixE lement`.
927 */ 933 */
928 class PrefixElementHandle extends ElementHandle implements PrefixElement { 934 class PrefixElementHandle extends ElementHandle implements PrefixElement {
929 /** 935 /**
930 * Initialize a newly created element handle to represent the given element. 936 * Initialize a newly created element handle to represent the given element.
931 * 937 *
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
1105 DartType get type => actualElement.type; 1111 DartType get type => actualElement.type;
1106 } 1112 }
1107 /** 1113 /**
1108 * TODO(scheglov) invalid implementation 1114 * TODO(scheglov) invalid implementation
1109 */ 1115 */
1110 class WeakReference<T> { 1116 class WeakReference<T> {
1111 final T value; 1117 final T value;
1112 WeakReference(this.value); 1118 WeakReference(this.value);
1113 T get() => value; 1119 T get() => value;
1114 } 1120 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698