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, UnmatchedToken; | 7 import 'error_token.dart' show ErrorToken, UnmatchedToken; |
8 | 8 |
9 import 'keyword.dart' show Keyword; | 9 import '../../scanner/token.dart' show Keyword; |
10 | 10 |
11 import 'precedence.dart' show 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 KeywordToken, | 16 KeywordToken, |
17 StringToken, | 17 StringToken, |
18 SymbolToken, | 18 SymbolToken, |
19 SyntheticSymbolToken, | 19 SyntheticSymbolToken, |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 // | | 300 // | |
301 // next | 301 // next |
302 // v | 302 // v |
303 // EOF | 303 // EOF |
304 PrecedenceInfo info = closeBraceInfoFor(begin); | 304 PrecedenceInfo info = closeBraceInfoFor(begin); |
305 appendToken(new SyntheticSymbolToken(info, tokenStart)); | 305 appendToken(new SyntheticSymbolToken(info, tokenStart)); |
306 begin.endGroup = tail; | 306 begin.endGroup = tail; |
307 appendErrorToken(new UnmatchedToken(begin)); | 307 appendErrorToken(new UnmatchedToken(begin)); |
308 } | 308 } |
309 } | 309 } |
OLD | NEW |