PageRenderTime 51ms CodeModel.GetById 45ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/NRefactory/ICSharpCode.NRefactory.VB/Ast/Statements/GoToStatement.cs

http://github.com/icsharpcode/ILSpy
C# | 27 lines | 20 code | 4 blank | 3 comment | 0 complexity | 7e6b639683c64467b69adb8d7877d6d9 MD5 | raw file
 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)
 3
 4using System;
 5using System.IO;
 6
 7namespace ICSharpCode.NRefactory.VB.Ast
 8{
 9	public class GoToStatement : Statement
10	{
11		/// <remarks>either PrimitiveExpression or IdentifierExpression</remarks>
12		public Expression Label {
13			get { return GetChildByRole(Roles.Expression); }
14			set { SetChildByRole(Roles.Expression, value); }
15		}
16		
17		protected internal override bool DoMatch(AstNode other, ICSharpCode.NRefactory.PatternMatching.Match match)
18		{
19			throw new NotImplementedException();
20		}
21		
22		public override S AcceptVisitor<T, S>(IAstVisitor<T, S> visitor, T data)
23		{
24			return visitor.VisitGoToStatement(this, data);
25		}
26	}
27}