Lines Matching refs:stack
50 function SerializeArray(value, replacer, stack, indent, gap) {
51 if (!%PushIfAbsent(stack, value)) {
59 var strP = JSONSerialize($String(i), value, replacer, stack,
76 stack.pop();
80 function SerializeObject(value, replacer, stack, indent, gap) {
81 if (!%PushIfAbsent(stack, value)) {
92 var strP = JSONSerialize(p, value, replacer, stack, indent, gap);
104 var strP = JSONSerialize(p, value, replacer, stack, indent, gap);
124 stack.pop();
128 function JSONSerialize(key, holder, replacer, stack, indent, gap) {
150 return SerializeArray(value, replacer, stack, indent, gap);
159 return SerializeObject(value, replacer, stack, indent, gap);