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

Side by Side Diff: pkg/front_end/test/scanner_roundtrip_test.dart

Issue 2756593004: Start unraveling circularities between analyzer and front_end/kernel. (Closed)
Patch Set: Created 3 years, 9 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) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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 import 'package:front_end/src/fasta/analyzer/token_utils.dart'; 5 import 'package:analyzer/src/fasta/token_utils.dart';
6 import 'package:front_end/src/fasta/scanner/precedence.dart'; 6 import 'package:front_end/src/fasta/scanner/precedence.dart';
7 import 'package:front_end/src/scanner/token.dart'; 7 import 'package:front_end/src/scanner/token.dart';
8 import 'package:front_end/src/fasta/scanner/string_scanner.dart'; 8 import 'package:front_end/src/fasta/scanner/string_scanner.dart';
9 import 'package:test/test.dart'; 9 import 'package:test/test.dart';
10 import 'package:test_reflective_loader/test_reflective_loader.dart'; 10 import 'package:test_reflective_loader/test_reflective_loader.dart';
11 11
12 import 'scanner_fasta_test.dart'; 12 import 'scanner_fasta_test.dart';
13 import 'scanner_test.dart'; 13 import 'scanner_test.dart';
14 14
15 main() { 15 main() {
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 257
258 for (PrecedenceInfo info in PrecedenceInfo.all) { 258 for (PrecedenceInfo info in PrecedenceInfo.all) {
259 assertIsOperator(info.value, operatorLexemes.contains(info.value)); 259 assertIsOperator(info.value, operatorLexemes.contains(info.value));
260 } 260 }
261 261
262 for (TokenType tt in new List.from(allTokenTypes)) { 262 for (TokenType tt in new List.from(allTokenTypes)) {
263 assertIsOperator(tt.lexeme, operatorTokenTypes.contains(tt)); 263 assertIsOperator(tt.lexeme, operatorTokenTypes.contains(tt));
264 } 264 }
265 } 265 }
266 } 266 }
OLDNEW
« no previous file with comments | « pkg/front_end/test/scanner_fasta_test.dart ('k') | pkg/front_end/test/subpackage_relationships_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698