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

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

Issue 1050983002: Tweaks for hover - local variables and methods. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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
« no previous file with comments | « pkg/analysis_server/test/analysis/get_hover_test.dart ('k') | 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 // 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; 8 library engine.element;
9 9
10 import 'dart:collection'; 10 import 'dart:collection';
(...skipping 7659 matching lines...) Expand 10 before | Expand all | Expand 10 after
7670 */ 7670 */
7671 void set static(bool isStatic) { 7671 void set static(bool isStatic) {
7672 setModifier(Modifier.STATIC, isStatic); 7672 setModifier(Modifier.STATIC, isStatic);
7673 } 7673 }
7674 7674
7675 @override 7675 @override
7676 accept(ElementVisitor visitor) => visitor.visitMethodElement(this); 7676 accept(ElementVisitor visitor) => visitor.visitMethodElement(this);
7677 7677
7678 @override 7678 @override
7679 void appendTo(StringBuffer buffer) { 7679 void appendTo(StringBuffer buffer) {
7680 buffer.write(enclosingElement.displayName);
7681 buffer.write(".");
7682 buffer.write(displayName); 7680 buffer.write(displayName);
7683 super.appendTo(buffer); 7681 super.appendTo(buffer);
7684 } 7682 }
7685 } 7683 }
7686 7684
7687 /** 7685 /**
7688 * A method element defined in a parameterized type where the values of the type 7686 * A method element defined in a parameterized type where the values of the type
7689 * parameters are known. 7687 * parameters are known.
7690 */ 7688 */
7691 class MethodMember extends ExecutableMember implements MethodElement { 7689 class MethodMember extends ExecutableMember implements MethodElement {
(...skipping 2761 matching lines...) Expand 10 before | Expand all | Expand 10 after
10453 // void <: void (by reflexivity) 10451 // void <: void (by reflexivity)
10454 // bottom <: void (as bottom is a subtype of all types). 10452 // bottom <: void (as bottom is a subtype of all types).
10455 // void <: dynamic (as dynamic is a supertype of all types) 10453 // void <: dynamic (as dynamic is a supertype of all types)
10456 return identical(type, this) || type.isDynamic; 10454 return identical(type, this) || type.isDynamic;
10457 } 10455 }
10458 10456
10459 @override 10457 @override
10460 VoidTypeImpl substitute2( 10458 VoidTypeImpl substitute2(
10461 List<DartType> argumentTypes, List<DartType> parameterTypes) => this; 10459 List<DartType> argumentTypes, List<DartType> parameterTypes) => this;
10462 } 10460 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/test/analysis/get_hover_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698