1
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
2
// This code is distributed under MIT X11 license (for details please see \doc\license.txt)
7
namespace ICSharpCode.NRefactory.VB.Ast
9
public class WhileStatement : Statement
11
public Expression Condition {
12
get { return GetChildByRole(Roles.Expression); }
13
set { SetChildByRole(Roles.Expression, value); }
16
public BlockStatement Body {
17
get { return GetChildByRole(Roles.Body); }
18
set { SetChildByRole(Roles.Body, value); }
21
protected internal override bool DoMatch(AstNode other, ICSharpCode.NRefactory.PatternMatching.Match match)
23
throw new NotImplementedException();
26
public override S AcceptVisitor<T, S>(IAstVisitor<T, S> visitor, T data)
28
return visitor.VisitWhileStatement(this, data);