| Index: pkg/kernel/lib/canonical_name.dart
|
| diff --git a/pkg/kernel/lib/canonical_name.dart b/pkg/kernel/lib/canonical_name.dart
|
| index 7bf05dc4507ccf12ad724daf9d10de4e9a5a5f29..f4d2deffb6d12a729ac3758fb1d1d2867148dec6 100644
|
| --- a/pkg/kernel/lib/canonical_name.dart
|
| +++ b/pkg/kernel/lib/canonical_name.dart
|
| @@ -30,7 +30,7 @@ import 'ast.dart';
|
| /// "@fields"
|
| /// Qualified name
|
| ///
|
| -/// Procedure that is not an accessor:
|
| +/// Procedure that is not an accessor or factory:
|
| /// Canonical name of enclosing class or library
|
| /// "@methods"
|
| /// Qualified name
|
| @@ -45,6 +45,11 @@ import 'ast.dart';
|
| /// "@setters"
|
| /// Qualified name
|
| ///
|
| +/// Procedure that is a factory:
|
| +/// Canonical name of enclosing class
|
| +/// "@factories"
|
| +/// Qualified name
|
| +///
|
| /// Qualified name:
|
| /// if private: URI of library
|
| /// Name text
|
| @@ -136,6 +141,7 @@ class CanonicalName {
|
| if (member is Procedure) {
|
| if (member.isGetter) return '@getters';
|
| if (member.isSetter) return '@setters';
|
| + if (member.isFactory) return '@factories';
|
| return '@methods';
|
| }
|
| if (member is Field) {
|
|
|