| OLD | NEW | 
|---|
| 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 // For the purposes of the mirrors library, we adopt a naming | 5 // For the purposes of the mirrors library, we adopt a naming | 
| 6 // convention with respect to getters and setters.  Specifically, for | 6 // convention with respect to getters and setters.  Specifically, for | 
| 7 // some variable or field... | 7 // some variable or field... | 
| 8 // | 8 // | 
| 9 //   var myField; | 9 //   var myField; | 
| 10 // | 10 // | 
| 11 // ...the getter is named 'myField' and the setter is named | 11 // ...the getter is named 'myField' and the setter is named | 
| 12 // 'myField='.  This allows us to assign unique names to getters and | 12 // 'myField='.  This allows us to assign unique names to getters and | 
| 13 // setters for the purposes of member lookup. | 13 // setters for the purposes of member lookup. | 
| 14 | 14 | 
| 15 library dart.mirrors; | 15 library dart.mirrors; | 
| 16 | 16 | 
| 17 import 'dart:async'; | 17 import 'dart:async'; | 
| 18 import 'dart:isolate'; | 18 import 'dart:isolate'; | 
| 19 import 'dart:uri'; |  | 
| 20 | 19 | 
| 21 /** | 20 /** | 
| 22  * A [MirrorSystem] is the main interface used to reflect on a set of | 21  * A [MirrorSystem] is the main interface used to reflect on a set of | 
| 23  * associated libraries. | 22  * associated libraries. | 
| 24  * | 23  * | 
| 25  * At runtime each running isolate has a distinct [MirrorSystem]. | 24  * At runtime each running isolate has a distinct [MirrorSystem]. | 
| 26  * | 25  * | 
| 27  * It is also possible to have a [MirrorSystem] which represents a set | 26  * It is also possible to have a [MirrorSystem] which represents a set | 
| 28  * of libraries which are not running -- perhaps at compile-time.  In | 27  * of libraries which are not running -- perhaps at compile-time.  In | 
| 29  * this case, all available reflective functionality would be | 28  * this case, all available reflective functionality would be | 
| (...skipping 797 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 827   /** | 826   /** | 
| 828    * Is [:true:] if this comment is a documentation comment. | 827    * Is [:true:] if this comment is a documentation comment. | 
| 829    * | 828    * | 
| 830    * That is, that the comment is either enclosed in [: /** ... */ :] or starts | 829    * That is, that the comment is either enclosed in [: /** ... */ :] or starts | 
| 831    * with [: /// :]. | 830    * with [: /// :]. | 
| 832    */ | 831    */ | 
| 833   final bool isDocComment; | 832   final bool isDocComment; | 
| 834 | 833 | 
| 835   const Comment(this.text, this.trimmedText, this.isDocComment); | 834   const Comment(this.text, this.trimmedText, this.isDocComment); | 
| 836 } | 835 } | 
| OLD | NEW | 
|---|