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

Side by Side Diff: pkg/front_end/lib/src/fasta/source/source_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 unified diff | Download patch
« no previous file with comments | « pkg/front_end/lib/src/fasta/source/outline_builder.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 fasta.source_library_builder; 5 library fasta.source_library_builder;
6 6
7 import 'package:kernel/ast.dart' show ProcedureKind; 7 import 'package:kernel/ast.dart' show ProcedureKind;
8 8
9 import '../../base/resolve_relative_uri.dart' show resolveRelativeUri; 9 import '../../base/resolve_relative_uri.dart' show resolveRelativeUri;
10 10
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 String documentationComment, 200 String documentationComment,
201 List<MetadataBuilder> metadata, 201 List<MetadataBuilder> metadata,
202 int modifiers, 202 int modifiers,
203 String name, 203 String name,
204 List<TypeVariableBuilder> typeVariables, 204 List<TypeVariableBuilder> typeVariables,
205 T supertype, 205 T supertype,
206 List<T> interfaces, 206 List<T> interfaces,
207 int charOffset); 207 int charOffset);
208 208
209 void addNamedMixinApplication( 209 void addNamedMixinApplication(
210 String documentationComment,
210 List<MetadataBuilder> metadata, 211 List<MetadataBuilder> metadata,
211 String name, 212 String name,
212 List<TypeVariableBuilder> typeVariables, 213 List<TypeVariableBuilder> typeVariables,
213 int modifiers, 214 int modifiers,
214 T mixinApplication, 215 T mixinApplication,
215 List<T> interfaces, 216 List<T> interfaces,
216 int charOffset); 217 int charOffset);
217 218
218 void addField( 219 void addField(
219 List<MetadataBuilder> metadata, 220 List<MetadataBuilder> metadata,
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 /// synthesize type variables on the factory matching the class'. 647 /// synthesize type variables on the factory matching the class'.
647 void addFactoryDeclaration( 648 void addFactoryDeclaration(
648 ProcedureBuilder procedure, DeclarationBuilder<T> factoryDeclaration) { 649 ProcedureBuilder procedure, DeclarationBuilder<T> factoryDeclaration) {
649 factoryDeclarations[procedure] = factoryDeclaration; 650 factoryDeclarations[procedure] = factoryDeclaration;
650 } 651 }
651 652
652 Scope toScope(Scope parent) { 653 Scope toScope(Scope parent) {
653 return new Scope(members, setters, parent, isModifiable: false); 654 return new Scope(members, setters, parent, isModifiable: false);
654 } 655 }
655 } 656 }
OLDNEW
« no previous file with comments | « pkg/front_end/lib/src/fasta/source/outline_builder.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698