From 32617e78d820fe44b774c7b7d5000436be42f443 Mon Sep 17 00:00:00 2001 From: triton Date: Sun, 3 Feb 2013 23:43:37 +0000 Subject: [PATCH] Introduced the IAstVisitor interface. --- src/Bridge/ASTVisitor.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Bridge/ASTVisitor.cs b/src/Bridge/ASTVisitor.cs index cce3dc03..e17e1bd2 100644 --- a/src/Bridge/ASTVisitor.cs +++ b/src/Bridge/ASTVisitor.cs @@ -10,14 +10,18 @@ namespace Cxxi bool AlreadyVisited(Type type); } + public interface IAstVisitor : ITypeVisitor, IDeclVisitor + { + + } + /// /// Base class for AST visitors. /// You can override the methods to customize the behaviour, by default /// this will visit all the nodes in a default way that should be useful /// for a lot of applications. /// - public abstract class AstVisitor : ITypeVisitor, IDeclVisitor, - IAstVisited + public abstract class AstVisitor : IAstVisitor, IAstVisited { public ISet Visited { get; private set; }