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 UsingStatement : Statement
11
public static readonly Role<AstNode> ResourceRole = new Role<AstNode>("Resource", AstNode.Null);
13
/// <remarks>either multiple VariableInitializers or one Expression</remarks>
14
public AstNodeCollection<AstNode> Resources {
15
get { return GetChildrenByRole(ResourceRole); }
18
public BlockStatement Body {
19
get { return GetChildByRole(Roles.Body); }
20
set { SetChildByRole(Roles.Body, value); }
23
protected internal override bool DoMatch(AstNode other, ICSharpCode.NRefactory.PatternMatching.Match match)
25
throw new NotImplementedException();
28
public override S AcceptVisitor<T, S>(IAstVisitor<T, S> visitor, T data)
30
return visitor.VisitUsingStatement(this, data);