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

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

Issue 1022843002: Rewrite ImplicitConstructorBuilder to use only element model. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 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 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 */ 504 */
505 InterfaceType type; 505 InterfaceType type;
506 506
507 /** 507 /**
508 * A list containing all of the type parameters defined for this class. 508 * A list containing all of the type parameters defined for this class.
509 */ 509 */
510 List<TypeParameterElement> _typeParameters = 510 List<TypeParameterElement> _typeParameters =
511 TypeParameterElementImpl.EMPTY_ARRAY; 511 TypeParameterElementImpl.EMPTY_ARRAY;
512 512
513 /** 513 /**
514 * The [SourceRange] of the `with` clause, `null` if there is no one.
515 */
516 SourceRange withClauseRange;
517
518 /**
514 * Initialize a newly created class element to have the given [name] at the 519 * Initialize a newly created class element to have the given [name] at the
515 * given [offset] in the file that contains the declaration of this element. 520 * given [offset] in the file that contains the declaration of this element.
516 */ 521 */
517 ClassElementImpl(String name, int offset) : super(name, offset); 522 ClassElementImpl(String name, int offset) : super(name, offset);
518 523
519 /** 524 /**
520 * Initialize a newly created class element to have the given [name]. 525 * Initialize a newly created class element to have the given [name].
521 */ 526 */
522 ClassElementImpl.forNode(Identifier name) : super.forNode(name); 527 ClassElementImpl.forNode(Identifier name) : super.forNode(name);
523 528
(...skipping 9934 matching lines...) Expand 10 before | Expand all | Expand 10 after
10458 // void <: void (by reflexivity) 10463 // void <: void (by reflexivity)
10459 // bottom <: void (as bottom is a subtype of all types). 10464 // bottom <: void (as bottom is a subtype of all types).
10460 // void <: dynamic (as dynamic is a supertype of all types) 10465 // void <: dynamic (as dynamic is a supertype of all types)
10461 return identical(type, this) || type.isDynamic; 10466 return identical(type, this) || type.isDynamic;
10462 } 10467 }
10463 10468
10464 @override 10469 @override
10465 VoidTypeImpl substitute2( 10470 VoidTypeImpl substitute2(
10466 List<DartType> argumentTypes, List<DartType> parameterTypes) => this; 10471 List<DartType> argumentTypes, List<DartType> parameterTypes) => this;
10467 } 10472 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/generated/resolver.dart » ('j') | pkg/analyzer/lib/src/generated/resolver.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698