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

Unified Diff: third_party/pkg/angular/lib/tools/source_crawler.dart

Issue 124053002: Adding Angular and dependent packages for testing (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 12 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
Index: third_party/pkg/angular/lib/tools/source_crawler.dart
diff --git a/third_party/pkg/angular/lib/tools/source_crawler.dart b/third_party/pkg/angular/lib/tools/source_crawler.dart
new file mode 100644
index 0000000000000000000000000000000000000000..ffbe437979321ecb98d32945b0b1fe8c5319877f
--- /dev/null
+++ b/third_party/pkg/angular/lib/tools/source_crawler.dart
@@ -0,0 +1,13 @@
+library source_crawler;
+
+import 'package:analyzer/src/generated/ast.dart';
+
+typedef CompilationUnitVisitor(CompilationUnit cu);
+
+/**
+ * Dart source file crawler. As it crawls Dart source, it calls
+ * [CompilationUnitVisitor] on each file.
+ */
+abstract class SourceCrawler {
+ void crawl(String entryPoint, CompilationUnitVisitor visitor);
+}

Powered by Google App Engine
This is Rietveld 408576698