protected virtual T VisitPhpWhileStatement(PhpWhileStatement node) { if (ThrowNotImplementedException) { throw new NotImplementedException(string.Format("Method {0} is not supported in class {1}", "VisitPhpWhileStatement", this.GetType().FullName)); } return(default(T)); }
protected override IPhpStatement[] VisitWhileStatement(WhileStatement src) { var c = TransValue(src.Condition); var s = TranslateStatementOne(src.Statement); var a = new PhpWhileStatement(c, s); return(MkArray(a)); }
// Private Methods protected override IPhpStatement VisitPhpWhileStatement(PhpWhileStatement node) { return(node.Simplify(this)); }