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

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

Issue 384093002: Resolve names in combinators for PropertyInducingElements instead of PropertyAccessorElements. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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; 8 library engine.element;
9 9
10 import 'dart:collection'; 10 import 'dart:collection';
(...skipping 9022 matching lines...) Expand 10 before | Expand all | Expand 10 after
9033 * @param name the name of this element 9033 * @param name the name of this element
9034 * @param nameOffset the offset of the name of this element in the file that c ontains the 9034 * @param nameOffset the offset of the name of this element in the file that c ontains the
9035 * declaration of this element 9035 * declaration of this element
9036 */ 9036 */
9037 ParameterElementImpl(String name, int nameOffset) : super(name, nameOffset); 9037 ParameterElementImpl(String name, int nameOffset) : super(name, nameOffset);
9038 9038
9039 @override 9039 @override
9040 accept(ElementVisitor visitor) => visitor.visitParameterElement(this); 9040 accept(ElementVisitor visitor) => visitor.visitParameterElement(this);
9041 9041
9042 @override 9042 @override
9043 ElementImpl getChild(String identifier) {
9044 for (ParameterElement parameter in _parameters) {
9045 if ((parameter as ParameterElementImpl).identifier == identifier) {
9046 return parameter as ParameterElementImpl;
9047 }
9048 }
9049 return null;
9050 }
9051
9052 @override
9043 SourceRange get defaultValueRange { 9053 SourceRange get defaultValueRange {
9044 if (_defaultValueRangeLength < 0) { 9054 if (_defaultValueRangeLength < 0) {
9045 return null; 9055 return null;
9046 } 9056 }
9047 return new SourceRange(_defaultValueRangeOffset, _defaultValueRangeLength); 9057 return new SourceRange(_defaultValueRangeOffset, _defaultValueRangeLength);
9048 } 9058 }
9049 9059
9050 @override 9060 @override
9051 ElementKind get kind => ElementKind.PARAMETER; 9061 ElementKind get kind => ElementKind.PARAMETER;
9052 9062
(...skipping 2201 matching lines...) Expand 10 before | Expand all | Expand 10 after
11254 11264
11255 @override 11265 @override
11256 bool internalEquals(Object object, Set<ElementPair> visitedElementPairs) => id entical(object, this); 11266 bool internalEquals(Object object, Set<ElementPair> visitedElementPairs) => id entical(object, this);
11257 11267
11258 @override 11268 @override
11259 bool internalIsMoreSpecificThan(DartType type, bool withDynamic, Set<TypeImpl_ TypePair> visitedTypePairs) => isSubtypeOf(type); 11269 bool internalIsMoreSpecificThan(DartType type, bool withDynamic, Set<TypeImpl_ TypePair> visitedTypePairs) => isSubtypeOf(type);
11260 11270
11261 @override 11271 @override
11262 bool internalIsSubtypeOf(DartType type, Set<TypeImpl_TypePair> visitedTypePair s) => identical(type, this) || identical(type, DynamicTypeImpl.instance); 11272 bool internalIsSubtypeOf(DartType type, Set<TypeImpl_TypePair> visitedTypePair s) => identical(type, this) || identical(type, DynamicTypeImpl.instance);
11263 } 11273 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698