public override bool Visit(ICommentStatement statement, IStatement context) { _stack.Push(statement); try { return(base.Visit(statement, context)); } finally { _stack.Pop(); } }
public override bool Equals(object obj) { if (this == obj) { return(true); } ICommentStatement statement = obj as ICommentStatement; if (statement == null) { return(false); } return(Comment.Equals(statement.Comment)); }
void IStatementVisitor.Visit(ICommentStatement statement) { this.Translate(statement); }
TransformationImpact IStatementVisitor <TransformationImpact> .Visit(ICommentStatement statement) { return(CalculateRefactorImpact(statement)); }
public abstract void TranslateStatement(ICommentStatement commentStatement);
public virtual void VisitCommentStatement(ICommentStatement value) { }
public override void TranslateStatement(ICommentStatement commentStatement) { this.Provider.GenerateCodeFromStatement(commentStatement.GenerateCodeDom(this.Options), base.Target, this.Options.Options); }
public virtual void VisitCommentStatement(ICommentStatement value) { }
public abstract TransformationImpact CalculateRefactorImpact(ICommentStatement statement);
public bool Visit(ICommentStatement statement, TContext context) { return(false); }
public abstract void Translate(ICommentStatement statement);
private void WriteCommentStatement(ICommentStatement statement, IFormatter formatter) { this.WriteComment(statement.Comment, formatter); }
public TransformationKind Visit(ICommentStatement statement, ITransformationContext context) { throw new NotImplementedException(); }
public override void VisitCommentStatement(ICommentStatement value) { _formatter.WriteLiteral("#" + value.Comment.Text); }
public abstract IStatement Transform(ICommentStatement statement);
public TestLinkerResult Visit(ICommentStatement statement, ICompilationContext context) { throw new NotImplementedException(); }
public virtual void VisitCommentStatement(ICommentStatement s) { }
public virtual IStatement TransformCommentStatement(ICommentStatement value) { return value; }