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

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

Issue 346303003: Analyzer snapshot to with FunctionElement.identifier fix. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 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 | « no previous file | pkg/analyzer/pubspec.yaml » ('j') | 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 4753 matching lines...) Expand 10 before | Expand all | Expand 10 after
4764 @override 4764 @override
4765 void appendTo(JavaStringBuilder builder) { 4765 void appendTo(JavaStringBuilder builder) {
4766 String name = displayName; 4766 String name = displayName;
4767 if (name != null) { 4767 if (name != null) {
4768 builder.append(name); 4768 builder.append(name);
4769 } 4769 }
4770 super.appendTo(builder); 4770 super.appendTo(builder);
4771 } 4771 }
4772 4772
4773 @override 4773 @override
4774 String get identifier => "${name}@${nameOffset}"; 4774 String get identifier {
4775 String identifier = super.identifier;
4776 if (!isStatic) {
4777 identifier += "@${nameOffset}";
4778 }
4779 return identifier;
4780 }
4775 } 4781 }
4776 4782
4777 /** 4783 /**
4778 * The interface `FunctionType` defines the behavior common to objects represent ing the type 4784 * The interface `FunctionType` defines the behavior common to objects represent ing the type
4779 * of a function, method, constructor, getter, or setter. Function types come in three variations: 4785 * of a function, method, constructor, getter, or setter. Function types come in three variations:
4780 * <ol> 4786 * <ol>
4781 * * The types of functions that only have required parameters. These have the g eneral form 4787 * * The types of functions that only have required parameters. These have the g eneral form
4782 * <i>(T<sub>1</sub>, &hellip;, T<sub>n</sub>) &rarr; T</i>. 4788 * <i>(T<sub>1</sub>, &hellip;, T<sub>n</sub>) &rarr; T</i>.
4783 * * The types of functions with optional positional parameters. These have the general form 4789 * * The types of functions with optional positional parameters. These have the general form
4784 * <i>(T<sub>1</sub>, &hellip;, T<sub>n</sub>, [T<sub>n+1</sub>, &hellip;, T<sub >n+k</sub>]) &rarr; 4790 * <i>(T<sub>1</sub>, &hellip;, T<sub>n</sub>, [T<sub>n+1</sub>, &hellip;, T<sub >n+k</sub>]) &rarr;
(...skipping 6341 matching lines...) Expand 10 before | Expand all | Expand 10 after
11126 11132
11127 @override 11133 @override
11128 bool internalEquals(Object object, Set<ElementPair> visitedElementPairs) => id entical(object, this); 11134 bool internalEquals(Object object, Set<ElementPair> visitedElementPairs) => id entical(object, this);
11129 11135
11130 @override 11136 @override
11131 bool internalIsMoreSpecificThan(DartType type, bool withDynamic, Set<TypeImpl_ TypePair> visitedTypePairs) => isSubtypeOf(type); 11137 bool internalIsMoreSpecificThan(DartType type, bool withDynamic, Set<TypeImpl_ TypePair> visitedTypePairs) => isSubtypeOf(type);
11132 11138
11133 @override 11139 @override
11134 bool internalIsSubtypeOf(DartType type, Set<TypeImpl_TypePair> visitedTypePair s) => identical(type, this) || identical(type, DynamicTypeImpl.instance); 11140 bool internalIsSubtypeOf(DartType type, Set<TypeImpl_TypePair> visitedTypePair s) => identical(type, this) || identical(type, DynamicTypeImpl.instance);
11135 } 11141 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698