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

Side by Side Diff: pkg/analyzer_experimental/example/parser_driver.dart

Issue 23496027: Fix analyzer_experimental hints: remove unused imports. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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 | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/env dart 1 #!/usr/bin/env dart
2 2
3 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 3 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
4 // for details. All rights reserved. Use of this source code is governed by a 4 // for details. All rights reserved. Use of this source code is governed by a
5 // BSD-style license that can be found in the LICENSE file. 5 // BSD-style license that can be found in the LICENSE file.
6 6
7 import 'package:analyzer_experimental/src/generated/ast.dart'; 7 import 'package:analyzer_experimental/src/generated/ast.dart';
8 import 'package:analyzer_experimental/src/generated/error.dart'; 8 import 'package:analyzer_experimental/src/generated/error.dart';
9 import 'package:analyzer_experimental/src/generated/java_core.dart';
10 import 'package:analyzer_experimental/src/generated/parser.dart'; 9 import 'package:analyzer_experimental/src/generated/parser.dart';
11 import 'package:analyzer_experimental/src/generated/scanner.dart'; 10 import 'package:analyzer_experimental/src/generated/scanner.dart';
12 11
13 import 'dart:io'; 12 import 'dart:io';
14 13
15 14
16 main() { 15 main() {
17 16
18 print('working dir ${new File('.').fullPathSync()}'); 17 print('working dir ${new File('.').fullPathSync()}');
19 18
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 onError(error) => errors.add(error); 50 onError(error) => errors.add(error);
52 } 51 }
53 52
54 class _ASTVisitor extends GeneralizingASTVisitor { 53 class _ASTVisitor extends GeneralizingASTVisitor {
55 visitNode(ASTNode node) { 54 visitNode(ASTNode node) {
56 print('${node.runtimeType} : <"${node.toString()}">'); 55 print('${node.runtimeType} : <"${node.toString()}">');
57 return super.visitNode(node); 56 return super.visitNode(node);
58 } 57 }
59 } 58 }
60 59
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698