Exemplo n.º 1
0
 public virtual void Visit(CastSyntax pNode)
 {
     pNode.Parameter.Accept(this);
     pNode.ReturnValue.Accept(this);
     pNode.Body.Accept(this);
 }
Exemplo n.º 2
0
 public virtual SyntaxNode Visit(CastSyntax pNode)
 {
     return(SyntaxFactory.Cast(pNode.Parameter.Accept <ParameterSyntax>(this),
                               pNode.ReturnValue.Accept <ReturnValueSyntax>(this),
                               pNode.Body.Accept <BlockSyntax>(this)).WithAttributes(pNode));
 }