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

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: Updated cf. comments. 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 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
584 * Is the reflectee a redirecting constructor? 584 * Is the reflectee a redirecting constructor?
585 */ 585 */
586 bool get isRedirectingConstructor; 586 bool get isRedirectingConstructor;
587 587
588 /** 588 /**
589 * Is the reflectee a factory constructor? 589 * Is the reflectee a factory constructor?
590 */ 590 */
591 bool get isFactoryConstructor; 591 bool get isFactoryConstructor;
592 592
593 /** 593 /**
594 * Returns the constructor name for named constructors and factory methods,
595 * e.g. [:'bar':] for constructor [:Foo.bar:] of type [:Foo:].
596 */
597 String get constructorName;
598
599 /**
600 * Is [:true:] if this method is a getter method. 594 * Is [:true:] if this method is a getter method.
601 */ 595 */
602 bool get isGetter; 596 bool get isGetter;
603 597
604 /** 598 /**
605 * Is [:true:] if this method is a setter method. 599 * Is [:true:] if this method is a setter method.
606 */ 600 */
607 bool get isSetter; 601 bool get isSetter;
608 602
609 /** 603 /**
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
697 /** 691 /**
698 * Returns the URI where the source originated. 692 * Returns the URI where the source originated.
699 */ 693 */
700 Uri get sourceUri; 694 Uri get sourceUri;
701 695
702 /** 696 /**
703 * Returns the text of this source. 697 * Returns the text of this source.
704 */ 698 */
705 String get sourceText; 699 String get sourceText;
706 } 700 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698