public virtual void Visit(WhileSyntax pNode) { pNode.Condition.Accept(this); pNode.Body.Accept(this); }
public virtual SyntaxNode Visit(WhileSyntax pNode) { return(SyntaxFactory.While(pNode.Condition.Accept <ExpressionSyntax>(this), pNode.Body.Accept <BlockSyntax>(this)).WithAttributes(pNode)); }