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

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

Issue 1308713004: Fix warning in element_handle.dart. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 engine.element_handle; 5 library engine.element_handle;
6 6
7 import 'ast.dart'; 7 import 'ast.dart';
8 import 'element.dart'; 8 import 'element.dart';
9 import 'engine.dart'; 9 import 'engine.dart';
10 import 'java_core.dart'; 10 import 'java_core.dart';
(...skipping 877 matching lines...) Expand 10 before | Expand all | Expand 10 after
888 888
889 @override 889 @override
890 MethodDeclaration computeNode() => actualElement.computeNode(); 890 MethodDeclaration computeNode() => actualElement.computeNode();
891 } 891 }
892 892
893 /** 893 /**
894 * Instances of the class `ParameterElementHandle` implement a handle to a 894 * Instances of the class `ParameterElementHandle` implement a handle to a
895 * `ParameterElement`. 895 * `ParameterElement`.
896 */ 896 */
897 class ParameterElementHandle extends VariableElementHandle 897 class ParameterElementHandle extends VariableElementHandle
898 with ParameterElementMixin
898 implements ParameterElement { 899 implements ParameterElement {
899 /** 900 /**
900 * Initialize a newly created element handle to represent the given element. 901 * Initialize a newly created element handle to represent the given element.
901 * 902 *
902 * @param element the element being represented 903 * @param element the element being represented
903 */ 904 */
904 ParameterElementHandle(ParameterElement element) : super(element); 905 ParameterElementHandle(ParameterElement element) : super(element);
905 906
906 @override 907 @override
907 ParameterElement get actualElement => super.actualElement as ParameterElement; 908 ParameterElement get actualElement => super.actualElement as ParameterElement;
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
1115 } 1116 }
1116 1117
1117 /** 1118 /**
1118 * TODO(scheglov) invalid implementation 1119 * TODO(scheglov) invalid implementation
1119 */ 1120 */
1120 class WeakReference<T> { 1121 class WeakReference<T> {
1121 final T value; 1122 final T value;
1122 WeakReference(this.value); 1123 WeakReference(this.value);
1123 T get() => value; 1124 T get() => value;
1124 } 1125 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698