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

Unified Diff: pkg/analyzer-experimental/example/scanner_driver.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/example/parser_driver.dart ('k') | pkg/analyzer-experimental/lib/analyzer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer-experimental/example/scanner_driver.dart
diff --git a/pkg/analyzer-experimental/example/scanner_driver.dart b/pkg/analyzer-experimental/example/scanner_driver.dart
deleted file mode 100644
index ab5a46c0131aec9782762a0034630f4982dd3c9e..0000000000000000000000000000000000000000
--- a/pkg/analyzer-experimental/example/scanner_driver.dart
+++ /dev/null
@@ -1,36 +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.
-
-import 'package:analyzer-experimental/src/generated/java_core.dart';
-import 'package:analyzer-experimental/src/generated/scanner.dart';
-
-import 'dart:io';
-
-main() {
-
- print('working dir ${new File('.').fullPathSync()}');
-
- var args = new Options().arguments;
- if (args.length == 0) {
- print('Usage: scanner_driver [files_to_scan]');
- exit(0);
- }
-
- for (var arg in args) {
- _scan(new File(arg));
- }
-
-}
-
-_scan(File file) {
- var src = file.readAsStringSync();
- var scanner = new StringScanner(null, src, null);
- var token = scanner.tokenize();
- while (token.type != TokenType.EOF) {
- print(token);
- token = token.next;
- }
-}
« no previous file with comments | « pkg/analyzer-experimental/example/parser_driver.dart ('k') | pkg/analyzer-experimental/lib/analyzer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698