| OLD | NEW |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 import 'dart:typed_data'; | 5 import 'dart:typed_data'; |
| 6 | 6 |
| 7 import 'package:front_end/src/base/api_signature.dart'; | 7 import 'package:front_end/src/base/api_signature.dart'; |
| 8 import 'package:front_end/src/fasta/parser/listener.dart' show Listener; | 8 import 'package:front_end/src/fasta/parser.dart' |
| 9 import 'package:front_end/src/fasta/parser/parser.dart' show Parser, optional; | 9 show Listener, Parser, optional; |
| 10 import 'package:front_end/src/fasta/parser/top_level_parser.dart'; | 10 import 'package:front_end/src/fasta/parser/top_level_parser.dart'; |
| 11 import 'package:front_end/src/fasta/scanner.dart'; | 11 import 'package:front_end/src/fasta/scanner.dart'; |
| 12 import 'package:front_end/src/fasta/scanner/token_constants.dart' | 12 import 'package:front_end/src/fasta/scanner/token_constants.dart' |
| 13 show STRING_TOKEN; | 13 show STRING_TOKEN; |
| 14 import 'package:front_end/src/fasta/source/directive_listener.dart'; | 14 import 'package:front_end/src/fasta/source/directive_listener.dart'; |
| 15 import 'package:front_end/src/incremental/format.dart'; | 15 import 'package:front_end/src/incremental/format.dart'; |
| 16 | 16 |
| 17 /// Compute the [UnlinkedUnitBuilder] for the [content]. | 17 /// Compute the [UnlinkedUnitBuilder] for the [content]. |
| 18 UnlinkedUnitBuilder computeUnlinkedUnit(List<int> salt, List<int> content) { | 18 UnlinkedUnitBuilder computeUnlinkedUnit(List<int> salt, List<int> content) { |
| 19 // Scan the content. | 19 // Scan the content. |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 return close; | 117 return close; |
| 118 } | 118 } |
| 119 return super.parseFunctionBody(token, isExpression, allowAbstract); | 119 return super.parseFunctionBody(token, isExpression, allowAbstract); |
| 120 } | 120 } |
| 121 | 121 |
| 122 Token parseMixinApplicationRest(Token token) { | 122 Token parseMixinApplicationRest(Token token) { |
| 123 hasMixin = true; | 123 hasMixin = true; |
| 124 return super.parseMixinApplicationRest(token); | 124 return super.parseMixinApplicationRest(token); |
| 125 } | 125 } |
| 126 } | 126 } |
| OLD | NEW |