public static string GetComment(this VBAParser.RemCommentContext remComment) { string rawComment = remComment.GetText(); string bodyOnly = Regex.Replace(rawComment, ":?REM(.*)", "$1", RegexOptions.IgnoreCase).TrimStart(); return(bodyOnly); }
public override void ExitRemComment(VBAParser.RemCommentContext context) { _contexts.Add(context); }
public override void ExitRemComment(VBAParser.RemCommentContext context) { _contexts.Add(new QualifiedContext <ParserRuleContext>(CurrentModuleName, context)); }
public override void ExitRemComment([NotNull] VBAParser.RemCommentContext context) { _remComments.Add(context); }