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

Unified Diff: pkg/dartdoc/ast.dart

Issue 10928139: Changed interfaces to abstract classes where possible in {lib,samples,pkg} (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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/dartdoc/ast.dart
===================================================================
--- pkg/dartdoc/ast.dart (revision 12252)
+++ pkg/dartdoc/ast.dart (working copy)
@@ -4,7 +4,7 @@
/// Base class for any AST item. Roughly corresponds to Node in the DOM. Will
/// be either an Element or Text.
-interface Node {
+abstract class Node {
void accept(NodeVisitor visitor);
}
@@ -49,7 +49,7 @@
/// Visitor pattern for the AST. Renderers or other AST transformers should
/// implement this.
-interface NodeVisitor {
+abstract class NodeVisitor {
/// Called when a Text node has been reached.
void visitText(Text text);

Powered by Google App Engine
This is Rietveld 408576698