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 ErrorToken; | 7 import 'error_token.dart' show ErrorToken; |
8 | 8 |
9 import 'keyword.dart' show Keyword; | 9 import 'keyword.dart' show Keyword; |
10 | 10 |
11 import 'precedence.dart' show EOF_INFO, PrecedenceInfo; | 11 import 'precedence.dart' show PrecedenceInfo; |
12 | 12 |
13 import 'token.dart' | 13 import 'token.dart' |
14 show | 14 show |
15 BeginGroupToken, | 15 BeginGroupToken, |
16 CommentToken, | 16 CommentToken, |
17 DartDocToken, | 17 DartDocToken, |
18 KeywordToken, | 18 KeywordToken, |
19 StringToken, | 19 StringToken, |
20 SymbolToken, | 20 SymbolToken, |
21 Token; | 21 Token; |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 * something which cannot possibly be part of a type parameter/argument | 313 * something which cannot possibly be part of a type parameter/argument |
314 * list, like the '=' in the above example. | 314 * list, like the '=' in the above example. |
315 */ | 315 */ |
316 void discardOpenLt() { | 316 void discardOpenLt() { |
317 while (!groupingStack.isEmpty && | 317 while (!groupingStack.isEmpty && |
318 identical(groupingStack.head.kind, LT_TOKEN)) { | 318 identical(groupingStack.head.kind, LT_TOKEN)) { |
319 groupingStack = groupingStack.tail; | 319 groupingStack = groupingStack.tail; |
320 } | 320 } |
321 } | 321 } |
322 } | 322 } |
OLD | NEW |