Example #1
0
 /// <summary>
 /// The <see cref=" ImportantCommentNode"/> visit implementation
 /// </summary>
 /// <param name="commentNode">ImportantCommentNode to visit</param>
 /// <returns>he modified AST node if modified otherwise the original node</returns>
 public override AstNode VisitImportantCommentNode(ImportantCommentNode commentNode)
 {
     _printerFormatter.Append(commentNode.Text);
     return(base.VisitImportantCommentNode(commentNode));
 }
Example #2
0
 /// <summary>
 /// The <see cref=" ImportantCommentNode"/> visit implementation
 /// </summary>
 /// <param name="commentNode"> The ImportantCommentNode to visit</param>
 /// <returns> The modified AST node if modified otherwise the original node </returns>
 public virtual AstNode VisitImportantCommentNode(ImportantCommentNode commentNode)
 {
     return(commentNode);
 }