Chromium Code Reviews| Index: sdk/lib/_internal/compiler/implementation/mirrors/mirrors.dart |
| diff --git a/sdk/lib/_internal/compiler/implementation/mirrors/mirrors.dart b/sdk/lib/_internal/compiler/implementation/mirrors/mirrors.dart |
| index 54e71ad4d3a285f4f69a3f913b27419a2191b4d3..a504221bfd048c04fd510b30c5e402ee1251b3a5 100644 |
| --- a/sdk/lib/_internal/compiler/implementation/mirrors/mirrors.dart |
| +++ b/sdk/lib/_internal/compiler/implementation/mirrors/mirrors.dart |
| @@ -105,6 +105,12 @@ abstract class DeclarationMirror implements Mirror { |
| * A list of the metadata associated with this declaration. |
| */ |
| List<InstanceMirror> get metadata; |
| + |
| + /** |
| + * Looks up the potentially qualified [name] in the scope of this declaration. |
|
Andrei Mouravski
2013/07/01 17:46:26
What does "potentially qualified" mean?
Further,
Johnni Winther
2013/07/03 05:47:57
Done.
|
| + * For methods and constructors, the scope includes the parameters. |
|
sra1
2013/07/01 18:57:30
For parameterized classes, does the scope include
Johnni Winther
2013/07/03 05:47:57
Yes. Added note in the documentation.
|
| + */ |
| + DeclarationMirror lookupInScope(String name); |
| } |
| abstract class ObjectMirror implements Mirror { |