PageRenderTime 23ms CodeModel.GetById 17ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/NRefactory/ICSharpCode.NRefactory.VB/Lexer/Special/Comment.cs

http://github.com/icsharpcode/ILSpy
C# | 59 lines | 4 code | 2 blank | 53 comment | 0 complexity | 9361b523ff5a1f990423a43b33cf5a3b 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;
 5
 6namespace ICSharpCode.NRefactory.VB
 7{
 8//	public class Comment : AbstractSpecial
 9//	{
10//		CommentType   commentType;
11//		string        comment;
12//		
13//		public CommentType CommentType {
14//			get {
15//				return commentType;
16//			}
17//			set {
18//				commentType = value;
19//			}
20//		}
21//		
22//		public string CommentText {
23//			get {
24//				return comment;
25//			}
26//			set {
27//				comment = value;
28//			}
29//		}
30//		
31//		/// <value>
32//		/// Is true, when the comment is at line start or only whitespaces
33//		/// between line and comment start.
34//		/// </value>
35//		public bool CommentStartsLine {
36//			get;
37//			set;
38//		}
39//		
40//		public Comment(CommentType commentType, string comment, bool commentStartsLine, Location startPosition, Location endPosition)
41//			: base(startPosition, endPosition)
42//		{
43//			this.commentType   = commentType;
44//			this.comment       = comment;
45//			this.CommentStartsLine = commentStartsLine;
46//		}
47//		
48//		public override string ToString()
49//		{
50//			return String.Format("[{0}: Type = {1}, Text = {2}, Start = {3}, End = {4}]",
51//			                     GetType().Name, CommentType, CommentText, StartPosition, EndPosition);
52//		}
53//		
54//		public override object AcceptVisitor(ISpecialVisitor visitor, object data)
55//		{
56//			return visitor.Visit(this, data);
57//		}
58//	}
59}