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