public override bool Walk(WhileNode node) { UpdateChildRanges(node); return base.Walk(node); }
public override bool Walk(WhileNode node) { AddNode(node); return true; }
public override bool Walk(WhileNode node) { if (CheckBlock(node.Body)) { Span = GetTargetStatement(node).GetSpan(_tree.LocationResolver); return false; } return base.Walk(node); }
public override bool Walk(WhileNode node) { return true; }
public override bool Walk(WhileNode node) { ReplaceControlFlowWhiteSpace(node, "while".Length); EnsureSpacesAroundParenthesisedExpression(node.Condition); if (node.Body != null) { WalkFlowControlBlockWithOptionalParens(node.Body, node.Condition.GetEndIndex(_tree.LocationResolver), true); } return false; }