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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/mirrors/mirrors.dart

Issue 18670003: Remove support for conflicting constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 library mirrors; 5 library mirrors;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 /** 9 /**
10 * The main interface for the whole mirror system. 10 * The main interface for the whole mirror system.
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 MirrorSystem get mirrors; 49 MirrorSystem get mirrors;
50 } 50 }
51 51
52 abstract class DeclarationMirror implements Mirror { 52 abstract class DeclarationMirror implements Mirror {
53 /** 53 /**
54 * The simple name of the entity. The simple name is unique within the 54 * The simple name of the entity. The simple name is unique within the
55 * scope of the entity declaration. 55 * scope of the entity declaration.
56 * 56 *
57 * The simple name is in most cases the declared single identifier name of 57 * The simple name is in most cases the declared single identifier name of
58 * the entity, such as 'method' for a method [:void method() {...}:]. For an 58 * the entity, such as 'method' for a method [:void method() {...}:]. For an
59 * unnamed constructor for [:class Foo:] the simple name is 'Foo'. For a 59 * unnamed constructor for [:class Foo:] the simple name is ''. For a
60 * constructor for [:class Foo:] named 'named' the simple name is 'Foo.named'. 60 * constructor for [:class Foo:] named 'named' the simple name is 'named'.
61 * For a property [:foo:] the simple name of the getter method is 'foo' and 61 * For a property [:foo:] the simple name of the getter method is 'foo' and
62 * the simple name of the setter is 'foo='. For operators the simple name is 62 * the simple name of the setter is 'foo='. For operators the simple name is
63 * the operator itself, for example '+' for [:operator +:]. 63 * the operator itself, for example '+' for [:operator +:].
64 * 64 *
65 * The simple name for the unary minus operator is [UNARY_MINUS]. 65 * The simple name for the unary minus operator is [UNARY_MINUS].
66 */ 66 */
67 String get simpleName; 67 String get simpleName;
68 68
69 /** 69 /**
70 * Returns the name of this entity qualified by is enclosing context. For 70 * Returns the name of this entity qualified by is enclosing context. For
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
566 * Is the reflectee a redirecting constructor? 566 * Is the reflectee a redirecting constructor?
567 */ 567 */
568 bool get isRedirectingConstructor; 568 bool get isRedirectingConstructor;
569 569
570 /** 570 /**
571 * Is the reflectee a factory constructor? 571 * Is the reflectee a factory constructor?
572 */ 572 */
573 bool get isFactoryConstructor; 573 bool get isFactoryConstructor;
574 574
575 /** 575 /**
576 * Returns the constructor name for named constructors and factory methods,
577 * e.g. [:'bar':] for constructor [:Foo.bar:] of type [:Foo:].
578 */
579 String get constructorName;
580
581 /**
582 * Is [:true:] if this method is a getter method. 576 * Is [:true:] if this method is a getter method.
583 */ 577 */
584 bool get isGetter; 578 bool get isGetter;
585 579
586 /** 580 /**
587 * Is [:true:] if this method is a setter method. 581 * Is [:true:] if this method is a setter method.
588 */ 582 */
589 bool get isSetter; 583 bool get isSetter;
590 584
591 /** 585 /**
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
679 /** 673 /**
680 * Returns the URI where the source originated. 674 * Returns the URI where the source originated.
681 */ 675 */
682 Uri get sourceUri; 676 Uri get sourceUri;
683 677
684 /** 678 /**
685 * Returns the text of this source. 679 * Returns the text of this source.
686 */ 680 */
687 String get sourceText; 681 String get sourceText;
688 } 682 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698