Example #1
0
 public virtual void VisitForEachStatement(ForEachStatement node)
 {
     this.Visit(node.get_Variable());
     this.Visit(node.get_Collection());
     this.Visit(node.get_Body());
     return;
 }
 public virtual ICodeNode VisitForEachStatement(ForEachStatement node)
 {
     node.set_Variable((VariableDeclarationExpression)this.Visit(node.get_Variable()));
     node.set_Collection((Expression)this.Visit(node.get_Collection()));
     node.set_Body((BlockStatement)this.Visit(node.get_Body()));
     return(node);
 }
 public override ICodeNode VisitForEachStatement(ForEachStatement node)
 {
     this.codeNodeTypes.Push(24);
     node.set_Variable((VariableDeclarationExpression)this.Visit(node.get_Variable()));
     dummyVar0 = this.codeNodeTypes.Pop();
     node.set_Collection((Expression)this.Visit(node.get_Collection()));
     node.set_Body((BlockStatement)this.Visit(node.get_Body()));
     return(node);
 }
 public override void VisitForEachStatement(ForEachStatement node)
 {
     this.expressions.Push(2);
     this.Visit(node.get_Variable());
     dummyVar0 = this.expressions.Pop();
     this.expressions.Push(3);
     this.Visit(node.get_Collection());
     dummyVar1 = this.expressions.Pop();
     this.ClearPendingForSuggestion();
     this.Visit(node.get_Body());
     return;
 }
 public override void VisitForEachStatement(ForEachStatement node)
 {
     this.Visit(node.get_Collection());
     return;
 }
 public override ICodeNode VisitForEachStatement(ForEachStatement node)
 {
     node.set_Collection((Expression)this.Visit(node.get_Collection()));
     return(node);
 }