Example #1
0
 public virtual void Visit(ArrayAccessExpressionSyntax pNode)
 {
     pNode.Identifier.Accept(this);
     pNode.Index?.Accept(this);
 }
Example #2
0
 public virtual SyntaxNode Visit(ArrayAccessExpressionSyntax pNode)
 {
     return(SyntaxFactory.ArrayAccessExpression(pNode.Identifier.Accept <IdentifierSyntax>(this),
                                                pNode.Index?.Accept <ExpressionSyntax>(this)));
 }