| Index: pkg/front_end/lib/src/fasta/analyzer/ast_builder.dart
|
| diff --git a/pkg/front_end/lib/src/fasta/analyzer/ast_builder.dart b/pkg/front_end/lib/src/fasta/analyzer/ast_builder.dart
|
| index f56e5b78c4228104684e63b43c0f566c59241484..68f28a049251ef0f1592fe93f6fbaae3e3ab6795 100644
|
| --- a/pkg/front_end/lib/src/fasta/analyzer/ast_builder.dart
|
| +++ b/pkg/front_end/lib/src/fasta/analyzer/ast_builder.dart
|
| @@ -235,7 +235,7 @@ class AstBuilder extends ScopeListener {
|
| }
|
|
|
| @override
|
| - void endEmptyFunctionBody(Token semicolon) {
|
| + void handleEmptyFunctionBody(Token semicolon) {
|
| debugEvent("EmptyFunctionBody");
|
| // TODO(scheglov) Change the parser to not produce these modifiers.
|
| pop(); // star
|
| @@ -243,8 +243,8 @@ class AstBuilder extends ScopeListener {
|
| push(ast.emptyFunctionBody(toAnalyzerToken(semicolon)));
|
| }
|
|
|
| - void endFunctionBody(int count, Token beginToken, Token endToken) {
|
| - debugEvent("FunctionBody");
|
| + void endBlockFunctionBody(int count, Token beginToken, Token endToken) {
|
| + debugEvent("BlockFunctionBody");
|
| List statements = popList(count);
|
| if (beginToken != null) {
|
| exitLocalScope();
|
| @@ -347,7 +347,7 @@ class AstBuilder extends ScopeListener {
|
| push(ast.integerLiteral(toAnalyzerToken(token), int.parse(token.lexeme)));
|
| }
|
|
|
| - void endExpressionFunctionBody(Token arrowToken, Token endToken) {
|
| + void handleExpressionFunctionBody(Token arrowToken, Token endToken) {
|
| debugEvent("ExpressionFunctionBody");
|
| Expression expression = pop();
|
| analyzer.Token star = pop();
|
|
|