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

Side by Side Diff: pkg/front_end/test/scanner_fasta_test.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) 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:analyzer/src/fasta/token_utils.dart'; 5 import 'package:analyzer/src/fasta/token_utils.dart';
6 import 'package:front_end/src/fasta/scanner/error_token.dart' as fasta; 6 import 'package:front_end/src/fasta/scanner/error_token.dart' as fasta;
7 import 'package:front_end/src/fasta/scanner/keyword.dart' as fasta;
8 import 'package:front_end/src/fasta/scanner/string_scanner.dart' as fasta; 7 import 'package:front_end/src/fasta/scanner/string_scanner.dart' as fasta;
9 import 'package:front_end/src/fasta/scanner/token.dart' as fasta; 8 import 'package:front_end/src/fasta/scanner/token.dart' as fasta;
10 import 'package:front_end/src/fasta/scanner/token_constants.dart' as fasta; 9 import 'package:front_end/src/fasta/scanner/token_constants.dart' as fasta;
11 import 'package:front_end/src/scanner/errors.dart'; 10 import 'package:front_end/src/scanner/errors.dart';
12 import 'package:front_end/src/scanner/token.dart'; 11 import 'package:front_end/src/scanner/token.dart';
13 import 'package:test/test.dart'; 12 import 'package:test/test.dart';
14 import 'package:test_reflective_loader/test_reflective_loader.dart'; 13 import 'package:test_reflective_loader/test_reflective_loader.dart';
15 14
16 import 'scanner_test.dart'; 15 import 'scanner_test.dart';
17 16
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 final ErrorListener _listener; 556 final ErrorListener _listener;
558 557
559 ToAnalyzerTokenStreamConverter_WithListener(this._listener); 558 ToAnalyzerTokenStreamConverter_WithListener(this._listener);
560 559
561 @override 560 @override
562 void reportError( 561 void reportError(
563 ScannerErrorCode errorCode, int offset, List<Object> arguments) { 562 ScannerErrorCode errorCode, int offset, List<Object> arguments) {
564 _listener.errors.add(new TestError(offset, errorCode, arguments)); 563 _listener.errors.add(new TestError(offset, errorCode, arguments));
565 } 564 }
566 } 565 }
OLDNEW
« no previous file with comments | « pkg/front_end/lib/src/scanner/token.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