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

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

Issue 2768533002: Fasta type inference prototype #2
Patch Set: Merge origin/master 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 unified diff | Download patch
OLDNEW
(Empty)
1 import 'package:kernel/ast.dart' show DartType, TreeNode;
2 import 'shadow_ast.dart';
3
4 abstract class AstFactory {
5 Block block(List<Statement> statements, int charOffset);
6
7 IntLiteral intLiteral(value, int charOffset);
8
9 Statement returnStatement(Expression expression, int charOffset);
10
11 VariableDeclaration variableDeclaration(String name,
12 {DartType type,
13 Expression initializer,
14 int charOffset: TreeNode.noOffset,
15 bool isFinal: false,
16 bool isConst: false});
17
18 ListLiteral listLiteral(List<Expression> expressions, DartType typeArgument,
19 bool isConst, int charOffset);
20
21 NullLiteral nullLiteral(int charOffset);
22 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698