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

Unified Diff: pkg/analyzer-experimental/bin/analyzer.dart

Issue 12838003: Rename analyzer-experimental to analyzer_experimental. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer-experimental/README.md ('k') | pkg/analyzer-experimental/example/parser_driver.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer-experimental/bin/analyzer.dart
diff --git a/pkg/analyzer-experimental/bin/analyzer.dart b/pkg/analyzer-experimental/bin/analyzer.dart
deleted file mode 100644
index 22144901c6da80d6d0007e5f41c14098f6a51a25..0000000000000000000000000000000000000000
--- a/pkg/analyzer-experimental/bin/analyzer.dart
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/usr/bin/env dart
-
-// Copyright (c) 2013, 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.
-
-/** The entry point for the analyzer. */
-library analyzer;
-
-import 'dart:async';
-import 'dart:io';
-
-import 'package:analyzer-experimental/options.dart';
-
-// Exit status codes.
-const OK_EXIT = 0;
-const ERROR_EXIT = 1;
-
-void main() {
- run(new Options().arguments).then((result) {
- exit(result.error ? ERROR_EXIT : OK_EXIT);
- });
-}
-
-/** The result of an analysis. */
-class AnalysisResult {
- final bool error;
- AnalysisResult.forFailure() : error = true;
- AnalysisResult.forSuccess() : error = false;
-}
-
-
-/**
- * Runs the dart analyzer with the command-line options in [args].
- * See [CommandLineOptions] for a list of valid arguments.
- */
-Future<AnalysisResult> run(List<String> args) {
-
- var options = new CommandLineOptions.parse(args);
- if (options == null) {
- return new Future.immediate(new AnalysisResult.forFailure());
- }
-
- //TODO(pquitslund): call out to analyzer...
-
-}
« no previous file with comments | « pkg/analyzer-experimental/README.md ('k') | pkg/analyzer-experimental/example/parser_driver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698