Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(333)

Side by Side Diff: pkg/front_end/lib/src/fasta/scanner/array_based_scanner.dart

Issue 2797133008: merge fasta.Keyword into analyzer.Keyword (Closed)
Patch Set: rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « pkg/front_end/lib/src/fasta/scanner/abstract_scanner.dart ('k') | pkg/front_end/lib/src/fasta/scanner/keyword.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698