/// <summary> /// Visits the <paramref name="visitor"/> based upon the type of the /// <see cref="IStatement"/>. /// </summary> /// <param name="visitor">The <see cref="IIntermediateTreeVisitor"/> /// to visit.</param> /// <remarks>In this instance visits the <paramref name="visitor"/> /// through <see cref="IStatementVisitor.Visit(ICallFusionStatement)"/>.</remarks> /// <exception cref="System.ArgumentNullException">thrown when <paramref name="visitor"/> /// is null.</exception> public override void Accept(IStatementVisitor visitor) { if (visitor == null) { throw new ArgumentNullException("visitor"); } visitor.Visit(this); }
public override TResult Accept <TResult, TContext>(IStatementVisitor <TResult, TContext> visitor, TContext context) { if (visitor == null) { throw new ArgumentNullException("visitor"); } return(visitor.Visit(this, context)); }
public override void Accept(IStatementVisitor visitor) { visitor.Visit(this); }
public override void Accept(IStatementVisitor visitor) { visitor.Visit(this); }
public override TResult Accept <TResult, TContext>(IStatementVisitor <TResult, TContext> visitor, TContext context) { return(visitor.Visit(this, context)); }
public T Accept <T>(IStatementVisitor <T> stmt) { return(stmt.Visit(this)); }
/// <summary>When overriden in a derived class, accepts the specified visitor.</summary> /// <param name="visitor">The visitor to accept.</param> protected override void AcceptCore(IStatementVisitor visitor) { visitor.Visit(this); }
public override T Accept <T>(IStatementVisitor <T> visitor) { return(visitor.Visit(this)); }
public override T Accept <T>(IStatementVisitor <T> visitor) => visitor.Visit(this);
public void Accept(IStatementVisitor visitor) => visitor.Visit(this);
public T Accept <T>(IStatementVisitor <T> checker) { return((T)checker.Visit(this)); }
override public R Accept <R, A>(IStatementVisitor <R, A> v, A arg) { return(v.Visit(this, arg)); }
public virtual void AcceptVisitor(IStatementVisitor visitor) { visitor.Visit(this); }