Example #1
0
        public static string GetComment(this VBAParser.CommentContext comment)
        {
            string rawComment = comment.GetText();
            string bodyOnly   = rawComment.Substring(1).TrimStart();

            return(bodyOnly);
        }
Example #2
0
 public override void ExitComment([NotNull] VBAParser.CommentContext context)
 {
     _comments.Add(context);
 }