Inheritance: Statement, IContinueStatement
Esempio n. 1
0
 /// <summary>
 /// Visits the specified continue statement.
 /// </summary>
 /// <param name="continueStatement">The continue statement.</param>
 /// <returns></returns>
 protected virtual IStatement DeepCopy(ContinueStatement continueStatement)
 {
     return continueStatement;
 }
Esempio n. 2
0
 /// <summary>
 /// Visits the specified continue statement.
 /// </summary>
 /// <param name="continueStatement">The continue statement.</param>
 public override void Visit(IContinueStatement continueStatement)
 {
     ContinueStatement mutableContinueStatement = new ContinueStatement(continueStatement);
     this.resultStatement = this.myCodeCopier.DeepCopy(mutableContinueStatement);
 }
Esempio n. 3
0
 /// <summary>
 /// Visits the specified continue statement.
 /// </summary>
 /// <param name="continueStatement">The continue statement.</param>
 public override void Visit(IContinueStatement continueStatement)
 {
     ContinueStatement mutableContinueStatement = continueStatement as ContinueStatement;
     if (alwaysMakeACopy || mutableContinueStatement == null) mutableContinueStatement = new ContinueStatement(continueStatement);
     this.resultStatement = this.myCodeMutator.Visit(mutableContinueStatement);
 }
Esempio n. 4
0
 /// <summary>
 /// Rewrites the children of the given continue statement.
 /// </summary>
 public virtual void RewriteChildren(ContinueStatement continueStatement)
 {
     this.RewriteChildren((Statement)continueStatement);
 }
Esempio n. 5
0
 /// <summary>
 /// Visits the specified continue statement.
 /// </summary>
 /// <param name="continueStatement">The continue statement.</param>
 /// <returns></returns>
 public virtual IStatement Visit(ContinueStatement continueStatement)
 {
     return continueStatement;
 }