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

Unified Diff: pkg/front_end/lib/src/fasta/builder/ast_factory.dart

Issue 2768533002: Fasta type inference prototype #2
Patch Set: Rework atop 415c868589d02e98eb839f48150f4203d5cecdb0 Created 3 years, 9 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
« no previous file with comments | « pkg/front_end/front_end.iml ('k') | pkg/front_end/lib/src/fasta/builder/shadow_ast.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/builder/ast_factory.dart
diff --git a/pkg/front_end/lib/src/fasta/builder/ast_factory.dart b/pkg/front_end/lib/src/fasta/builder/ast_factory.dart
index 01c63324b98a823c010c99ec89e2580db83b2018..a7fb25121cff4dd2d3c7386985313ed61a90f9aa 100644
--- a/pkg/front_end/lib/src/fasta/builder/ast_factory.dart
+++ b/pkg/front_end/lib/src/fasta/builder/ast_factory.dart
@@ -38,6 +38,10 @@ abstract class AstFactory {
/// Creates a statement block.
ShadowBlock block(List<ShadowStatement> statements, int charOffset);
+ /// Note: needed because some kernel constructors require us to pass in a
+ /// List<Expression>.
+ List<ShadowExpression> expressionList(int length);
+
/// Creates an integer literal.
ShadowIntLiteral intLiteral(value, int charOffset);
« no previous file with comments | « pkg/front_end/front_end.iml ('k') | pkg/front_end/lib/src/fasta/builder/shadow_ast.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698