//
//
//
//
// $Revision$
//
using System;
using System.Collections.Generic;
namespace ICSharpCode.NRefactory.Ast
{
public interface INode
{
INode Parent {
get;
set;
}
List Children {
get;
}
Location StartLocation {
get;
set;
}
Location EndLocation {
get;
set;
}
object UserData {
get;
set;
}
///
/// Visits all children
///
/// The visitor to accept
/// Additional data for the visitor
/// The paremeter
object AcceptChildren(IAstVisitor visitor, object data);
///
/// Accept the visitor
///
/// The visitor to accept
/// Additional data for the visitor
/// The value the visitor returns after the visit
object AcceptVisitor(IAstVisitor visitor, object data);
}
}