| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |