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

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

Issue 2899043006: cleanup fasta token classes (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « pkg/front_end/test/scanner_replacement_test.dart ('k') | pkg/front_end/test/token_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 'dart:async'; 5 import 'dart:async';
6 import 'dart:io'; 6 import 'dart:io';
7 7
8 import 'package:front_end/compiler_options.dart'; 8 import 'package:front_end/compiler_options.dart';
9 import 'package:front_end/dependency_grapher.dart'; 9 import 'package:front_end/dependency_grapher.dart';
10 import 'package:path/path.dart' as pathos; 10 import 'package:path/path.dart' as pathos;
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 'lib/src/fasta/util', 95 'lib/src/fasta/util',
96 ]), 96 ]),
97 'lib/src/fasta/source': new SubpackageRules(allowedDependencies: [ 97 'lib/src/fasta/source': new SubpackageRules(allowedDependencies: [
98 'lib', 98 'lib',
99 'lib/src/fasta', 99 'lib/src/fasta',
100 'lib/src/base', 100 'lib/src/base',
101 'lib/src/fasta/builder', 101 'lib/src/fasta/builder',
102 'lib/src/fasta/dill', 102 'lib/src/fasta/dill',
103 'lib/src/fasta/kernel', 103 'lib/src/fasta/kernel',
104 'lib/src/fasta/parser', 104 'lib/src/fasta/parser',
105 'lib/src/fasta/scanner',
106 'lib/src/fasta/type_inference', 105 'lib/src/fasta/type_inference',
107 'lib/src/fasta/util', 106 'lib/src/fasta/util',
108 'lib/src/scanner', 107 'lib/src/scanner',
109 ]), 108 ]),
110 'lib/src/fasta/testing': new SubpackageRules(allowedDependencies: [ 109 'lib/src/fasta/testing': new SubpackageRules(allowedDependencies: [
111 'lib/src/fasta', 110 'lib/src/fasta',
112 'lib/src/base', 111 'lib/src/base',
113 'lib/src/fasta/kernel', 112 'lib/src/fasta/kernel',
114 'lib/src/fasta/scanner', 113 'lib/src/fasta/scanner',
115 'lib/src/scanner', 114 'lib/src/scanner',
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 if (subpackageRules[subpackage].allowSubdirs) { 293 if (subpackageRules[subpackage].allowSubdirs) {
295 subpackageRules[subpackage].actuallyHasSubdirs = true; 294 subpackageRules[subpackage].actuallyHasSubdirs = true;
296 } else { 295 } else {
297 problem('Uri $src is in a subfolder of $subpackage, but that ' 296 problem('Uri $src is in a subfolder of $subpackage, but that '
298 'subpackage does not allow dart files in subdirectories.'); 297 'subpackage does not allow dart files in subdirectories.');
299 } 298 }
300 } 299 }
301 return subpackage; 300 return subpackage;
302 } 301 }
303 } 302 }
OLDNEW
« no previous file with comments | « pkg/front_end/test/scanner_replacement_test.dart ('k') | pkg/front_end/test/token_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698