public override bool Walk(ObjectLiteralProperty node) { if (node != null) { // don't care about the property names; just recurse the values if (node.Value != null) { node.Value.Walk(this); } } return false; }
public override bool Walk(ObjectLiteralProperty node) { AddNode(node); return true; }
public override bool Walk(ObjectLiteralProperty node) { if (node.Name is GetterSetter) { ReplaceFollowingWhiteSpace(node.Name.GetStartIndex(_tree.LocationResolver) + "get".Length, " "); node.Value.Walk(this); } else { node.Name.Walk(this); ReplacePreceedingWhiteSpace(node.Value.GetStartIndex(_tree.LocationResolver), " "); node.Value.Walk(this); } return false; }