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