| Index: pkg/front_end/lib/src/fasta/parser/listener.dart
|
| diff --git a/pkg/front_end/lib/src/fasta/parser/listener.dart b/pkg/front_end/lib/src/fasta/parser/listener.dart
|
| index 198afd3a502680218151fa7e378122d134241df2..7cf522b937660c2e7b175dfc1356e5e810a1a0f7 100644
|
| --- a/pkg/front_end/lib/src/fasta/parser/listener.dart
|
| +++ b/pkg/front_end/lib/src/fasta/parser/listener.dart
|
| @@ -275,7 +275,8 @@ class Listener {
|
| logEvent("NamedFunctionExpression");
|
| }
|
|
|
| - void beginFunctionDeclaration(Token token) {}
|
| + /// Handle the beginning of a local function declaration.
|
| + void beginLocalFunctionDeclaration(Token token) {}
|
|
|
| /// A function declaration.
|
| ///
|
| @@ -288,7 +289,7 @@ class Listener {
|
| /// - Initializers
|
| /// - Async modifier
|
| /// - Function body (block or arrow expression).
|
| - void endFunctionDeclaration(Token endToken) {
|
| + void endLocalFunctionDeclaration(Token endToken) {
|
| logEvent("FunctionDeclaration");
|
| }
|
|
|
| @@ -332,13 +333,13 @@ class Listener {
|
| /// - Metadata
|
| /// - Return type
|
| /// - Name (identifier)
|
| - /// - Template variables (type variables to the template)
|
| + /// - Alias type variables
|
| /// - Formal parameters
|
| ///
|
| /// If [equals] is not null, then the have the following substructures:
|
| /// - Metadata
|
| /// - Name (identifier)
|
| - /// - Template variables (type variables to the template)
|
| + /// - Alias type variables
|
| /// - Type (FunctionTypeAnnotation)
|
| void endFunctionTypeAlias(
|
| Token typedefKeyword, Token equals, Token endToken) {
|
|
|