public override bool Walk(DoWhile node) { if (node != null) { if (node.Body != null) { node.Body.Walk(this); } if (node.Condition != null) { node.Condition.Walk(this); } } return false; }
public override bool Walk(DoWhile node) { AddNode(node); return true; }
public override bool Walk(DoWhile node) { WalkFlowControlBlockWithOptionalParens(node.Body, node.GetStartIndex(_tree.LocationResolver) + "do".Length, false); ReplaceFollowingWhiteSpace(node.Body.GetEndIndex(_tree.LocationResolver), " "); EnsureSpacesAroundParenthesisedExpression(node.Condition); return false; }