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

Unified Diff: pkg/front_end/lib/src/fasta/kernel/kernel_library_builder.dart

Issue 2990523002: Parse documentation for class aliases, fix for /// comments. (Closed)
Patch Set: Fix and test mix of comment styles. Created 3 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 side-by-side diff with in-line comments
Download patch
Index: pkg/front_end/lib/src/fasta/kernel/kernel_library_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/kernel/kernel_library_builder.dart b/pkg/front_end/lib/src/fasta/kernel/kernel_library_builder.dart
index 978c5eada295a1df5d6ad5b61f831133257b4685..e4dc1c7c5e4c23cc495cadd4b86d4e18622d11e7 100644
--- a/pkg/front_end/lib/src/fasta/kernel/kernel_library_builder.dart
+++ b/pkg/front_end/lib/src/fasta/kernel/kernel_library_builder.dart
@@ -271,7 +271,8 @@ class KernelLibraryBuilder
}
KernelTypeBuilder applyMixins(KernelTypeBuilder type,
- {List<MetadataBuilder> metadata,
+ {String documentationComment,
+ List<MetadataBuilder> metadata,
bool isSyntheticMixinImplementation: false,
String name,
String subclassName,
@@ -454,6 +455,7 @@ class KernelLibraryBuilder
checkArguments(mixin);
KernelNamedTypeBuilder t = applyMixin(supertype, mixin, signature,
+ documentationComment: documentationComment,
metadata: metadata,
name: name,
isSyntheticMixinImplementation: isSyntheticMixinImplementation,
@@ -476,6 +478,7 @@ class KernelLibraryBuilder
}
void addNamedMixinApplication(
+ String documentationComment,
List<MetadataBuilder> metadata,
String name,
List<TypeVariableBuilder> typeVariables,
@@ -486,6 +489,7 @@ class KernelLibraryBuilder
// Nested declaration began in `OutlineBuilder.beginNamedMixinApplication`.
endNestedDeclaration(name).resolveTypes(typeVariables, this);
KernelNamedTypeBuilder supertype = applyMixins(mixinApplication,
+ documentationComment: documentationComment,
metadata: metadata,
name: name,
typeVariables: typeVariables,
« no previous file with comments | « pkg/analyzer/test/src/summary/resynthesize_kernel_test.dart ('k') | pkg/front_end/lib/src/fasta/source/outline_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698