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

Unified Diff: pkg/front_end/lib/src/fasta/source/source_library_builder.dart

Issue 2730093002: Avoid crashing on function syntax. (Closed)
Patch Set: Update status. Created 3 years, 10 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/source/source_library_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/source/source_library_builder.dart b/pkg/front_end/lib/src/fasta/source/source_library_builder.dart
index 498b0740595b4ba699d05ea69b92bd7b71f3530f..3713341dd0c5d61f0c61cdc850950d932c5d849b 100644
--- a/pkg/front_end/lib/src/fasta/source/source_library_builder.dart
+++ b/pkg/front_end/lib/src/fasta/source/source_library_builder.dart
@@ -24,6 +24,7 @@ import '../builder/builder.dart'
ClassBuilder,
ConstructorReferenceBuilder,
FormalParameterBuilder,
+ FunctionTypeBuilder,
LibraryBuilder,
MemberBuilder,
MetadataBuilder,
@@ -209,6 +210,12 @@ abstract class SourceLibraryBuilder<T extends TypeBuilder, R>
List<FormalParameterBuilder> formals,
int charOffset);
+ FunctionTypeBuilder addFunctionType(
+ T returnType,
+ List<TypeVariableBuilder> typeVariables,
+ List<FormalParameterBuilder> formals,
+ int charOffset);
+
void addFactoryMethod(
List<MetadataBuilder> metadata,
int modifiers,
« no previous file with comments | « pkg/front_end/lib/src/fasta/source/outline_builder.dart ('k') | pkg/front_end/lib/src/fasta/source/stack_listener.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698