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

Unified Diff: pkg/barback/lib/src/operator.dart

Issue 25376003: Add support for transformer clusters to barback. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Expose the Operator class. 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 side-by-side diff with in-line comments
Download patch
Index: pkg/barback/lib/src/operator.dart
diff --git a/pkg/barback/lib/src/operator.dart b/pkg/barback/lib/src/operator.dart
new file mode 100644
index 0000000000000000000000000000000000000000..390c2f21eecad42808403b5ee8b31700572a16c0
--- /dev/null
+++ b/pkg/barback/lib/src/operator.dart
@@ -0,0 +1,16 @@
+// 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.
+
+library barback.operator;
+
+import 'transformer.dart';
+
+/// An interface that denotes classes that can be used as Barback operators.
Bob Nystrom 2013/10/04 21:47:50 As per our discussion, this doesn't add much value
nweiz 2013/10/07 23:21:31 Done.
+///
+/// By far the most common type of operator is the [Transformer]. If you aren't
+/// sure what type of operator you want, that's the one.
+///
+/// External libraries shouldn't implement or extend Operator directly.
+abstract class Operator {
+}

Powered by Google App Engine
This is Rietveld 408576698