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

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

Issue 564413005: Issue 17389. Analyzer snapshot and server tweaks to use new ParameterElement.defaultValueCode. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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 795 matching lines...) Expand 10 before | Expand all | Expand 10 after
806 */ 806 */
807 class ParameterElementHandle extends VariableElementHandle implements ParameterE lement { 807 class ParameterElementHandle extends VariableElementHandle implements ParameterE lement {
808 /** 808 /**
809 * Initialize a newly created element handle to represent the given element. 809 * Initialize a newly created element handle to represent the given element.
810 * 810 *
811 * @param element the element being represented 811 * @param element the element being represented
812 */ 812 */
813 ParameterElementHandle(ParameterElement element) : super(element); 813 ParameterElementHandle(ParameterElement element) : super(element);
814 814
815 @override 815 @override
816 SourceRange get defaultValueRange => actualElement.defaultValueRange; 816 String get defaultValueCode => actualElement.defaultValueCode;
817 817
818 @override 818 @override
819 ElementKind get kind => ElementKind.PARAMETER; 819 ElementKind get kind => ElementKind.PARAMETER;
820 820
821 @override 821 @override
822 ParameterKind get parameterKind => actualElement.parameterKind; 822 ParameterKind get parameterKind => actualElement.parameterKind;
823 823
824 @override 824 @override
825 List<ParameterElement> get parameters => actualElement.parameters; 825 List<ParameterElement> get parameters => actualElement.parameters;
826 826
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
1001 VariableElement get actualElement => super.actualElement as VariableElement; 1001 VariableElement get actualElement => super.actualElement as VariableElement;
1002 } 1002 }
1003 /** 1003 /**
1004 * TODO(scheglov) invalid implementation 1004 * TODO(scheglov) invalid implementation
1005 */ 1005 */
1006 class WeakReference<T> { 1006 class WeakReference<T> {
1007 final T value; 1007 final T value;
1008 WeakReference(this.value); 1008 WeakReference(this.value);
1009 T get() => value; 1009 T get() => value;
1010 } 1010 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/element.dart ('k') | pkg/analyzer/lib/src/generated/resolver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698