| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 library dart2js.parser.partial; | 5 library dart2js.parser.partial; |
| 6 | 6 |
| 7 import '../diagnostics/messages.dart' show | 7 import '../common.dart'; |
| 8 MessageKind; | |
| 9 import '../util/characters.dart' as Characters show | 8 import '../util/characters.dart' as Characters show |
| 10 $CLOSE_CURLY_BRACKET; | 9 $CLOSE_CURLY_BRACKET; |
| 11 import '../tokens/token.dart' show | 10 import '../tokens/token.dart' show |
| 12 BeginGroupToken, | 11 BeginGroupToken, |
| 13 ErrorToken, | 12 ErrorToken, |
| 14 Token; | 13 Token; |
| 15 import '../tokens/token_constants.dart' as Tokens show | 14 import '../tokens/token_constants.dart' as Tokens show |
| 16 EOF_TOKEN; | 15 EOF_TOKEN; |
| 17 | 16 |
| 18 import 'listener.dart' show | 17 import 'listener.dart' show |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 return token; | 172 return token; |
| 174 } | 173 } |
| 175 return listener.unexpected(token); | 174 return listener.unexpected(token); |
| 176 } | 175 } |
| 177 BeginGroupToken beginGroupToken = token; | 176 BeginGroupToken beginGroupToken = token; |
| 178 Token endToken = beginGroupToken.endGroup; | 177 Token endToken = beginGroupToken.endGroup; |
| 179 listener.endFormalParameters(0, token, endToken); | 178 listener.endFormalParameters(0, token, endToken); |
| 180 return endToken.next; | 179 return endToken.next; |
| 181 } | 180 } |
| 182 } | 181 } |
| OLD | NEW |