blob: cda9ff6242bf26fc71ad1e9a4c8a4d43eb8a49cf [file] [log] [blame]
// Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// @dart = 2.9
import 'analysis_helper.dart';
/// Filter function used to only analysis cfe source code.
bool cfeOnly(Uri uri) {
String text = '$uri';
for (String path in [
]) {
if (text.startsWith(path)) {
return true;
return false;
void main(List<String> args) async {
await run(Uri.base.resolve('pkg/front_end/tool/_fasta/compile.dart'),
analyzedUrisFilter: cfeOnly,
verbose: args.contains('-v'),
generate: args.contains('-g'));