| 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 fasta.scanner.array_based_scanner; | 5 library fasta.scanner.array_based_scanner; |
| 6 | 6 |
| 7 import 'error_token.dart' show |
| 8 ErrorToken; |
| 9 |
| 7 import 'keyword.dart' show | 10 import 'keyword.dart' show |
| 8 Keyword; | 11 Keyword; |
| 9 | 12 |
| 10 import 'precedence.dart' show | 13 import 'precedence.dart' show |
| 11 COMMENT_INFO, | 14 COMMENT_INFO, |
| 12 EOF_INFO, | 15 EOF_INFO, |
| 13 PrecedenceInfo; | 16 PrecedenceInfo; |
| 14 | 17 |
| 15 import 'token.dart' show | 18 import 'token.dart' show |
| 16 BeginGroupToken, | 19 BeginGroupToken, |
| 17 ErrorToken, | |
| 18 KeywordToken, | 20 KeywordToken, |
| 19 SymbolToken, | 21 SymbolToken, |
| 20 Token; | 22 Token; |
| 21 | 23 |
| 22 import 'token_constants.dart' show | 24 import 'token_constants.dart' show |
| 23 LT_TOKEN, | 25 LT_TOKEN, |
| 24 OPEN_CURLY_BRACKET_TOKEN, | 26 OPEN_CURLY_BRACKET_TOKEN, |
| 25 STRING_INTERPOLATION_TOKEN; | 27 STRING_INTERPOLATION_TOKEN; |
| 26 | 28 |
| 27 import 'characters.dart' show | 29 import 'characters.dart' show |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 * something which cannot possibly be part of a type parameter/argument | 244 * something which cannot possibly be part of a type parameter/argument |
| 243 * list, like the '=' in the above example. | 245 * list, like the '=' in the above example. |
| 244 */ | 246 */ |
| 245 void discardOpenLt() { | 247 void discardOpenLt() { |
| 246 while (!groupingStack.isEmpty && | 248 while (!groupingStack.isEmpty && |
| 247 identical(groupingStack.head.kind, LT_TOKEN)) { | 249 identical(groupingStack.head.kind, LT_TOKEN)) { |
| 248 groupingStack = groupingStack.tail; | 250 groupingStack = groupingStack.tail; |
| 249 } | 251 } |
| 250 } | 252 } |
| 251 } | 253 } |
| OLD | NEW |