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 part of scanner; | 5 part of scanner; |
6 | 6 |
7 abstract class ArrayBasedScanner extends AbstractScanner { | 7 abstract class ArrayBasedScanner extends AbstractScanner { |
8 ArrayBasedScanner(SourceFile file, bool includeComments) | 8 ArrayBasedScanner(SourceFile file, bool includeComments) |
9 : super(file, includeComments); | 9 : super(file, includeComments); |
10 | 10 |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 * something which cannot possibly be part of a type parameter/argument | 211 * something which cannot possibly be part of a type parameter/argument |
212 * list, like the '=' in the above example. | 212 * list, like the '=' in the above example. |
213 */ | 213 */ |
214 void discardOpenLt() { | 214 void discardOpenLt() { |
215 while (!groupingStack.isEmpty | 215 while (!groupingStack.isEmpty |
216 && identical(groupingStack.head.kind, LT_TOKEN)) { | 216 && identical(groupingStack.head.kind, LT_TOKEN)) { |
217 groupingStack = groupingStack.tail; | 217 groupingStack = groupingStack.tail; |
218 } | 218 } |
219 } | 219 } |
220 } | 220 } |
OLD | NEW |