Lines Matching refs:stack

13305 …var stack/*:Array<string>*/ = [], e1, e2, /*::type,*/ c/*:CellAddress*/, ixti=0, nameidx=0, r, sna…
13312 stack.push("-" + stack.pop()); break;
13314 stack.push("+" + stack.pop()); break;
13316 stack.push(stack.pop() + "%"); break;
13330 e1 = stack.pop(); e2 = stack.pop();
13347 stack.push(e2+PtgBinOp[f[0]]+e1);
13351 e1 = stack.pop(); e2 = stack.pop();
13352 stack.push(e2+" "+e1);
13355 e1 = stack.pop(); e2 = stack.pop();
13356 stack.push(e2+","+e1);
13359 e1 = stack.pop(); e2 = stack.pop();
13360 stack.push(make_3d_range(e2,e1));
13375 stack.push(encode_cell_xls(c, biff));
13379 stack.push(encode_cell_xls(c, biff));
13385 stack.push(sname + "!" + encode_cell_xls(c, biff));
13394 var args = argc == 0 ? [] : stack.slice(-argc);
13395 stack.length -= argc;
13397 stack.push(func + "(" + args.join(",") + ")");
13401 stack.push(f[1] ? "TRUE" : "FALSE"); break;
13403 stack.push(/*::String(*/f[1]/*::)*/); break;
13405 stack.push(String(f[1])); break;
13408 stack.push('"' + f[1].replace(/"/g, '""') + '"'); break;
13410 stack.push(/*::String(*/f[1]/*::)*/); break;
13413 stack.push(encode_range_xls((r/*:any*/), opts));
13417 stack.push(encode_range_xls((r/*:any*/), opts));
13422 stack.push(sname + "!" + encode_range_xls((r/*:any*/), opts));
13425 stack.push("SUM(" + stack.pop() + ")");
13439 stack.push(name);
13465 stack.push(o);
13469 stack.push(externbook.Name);
13491 stack.push(lp + stack.pop() + rp); break;
13494 stack.push('#REF!'); break;
13497 stack.push('#REF!'); break;
13504 stack.push(stringify_formula(parsedf, _range, q, supbooks, opts));
13512 stack.push(stringify_formula(e2[1], _range, q, supbooks, opts));
13516 if(!fnd) stack.push(/*::String(*/f[1]/*::)*/);
13521 stack.push("{" + stringify_array(/*::(*/f[1]/*:: :any)*/) + "}");
13525 //stack.push("(" + f[2].map(encode_range).join(",") + ")");
13540 stack.push("");
13544 stack.push("#REF!"); break;
13547 stack.push("#REF!"); break;
13551 stack.push("Table" + f[1].idx + "[#" + f[1].rt + "]");
13603 stack.push((_left ? sp : "") + stack.pop() + (_left ? "" : sp));
13607 if(stack.length > 1 && opts.WTF) throw new Error("bad formula stack");
13608 if(stack[0] == "TRUE") return true; if(stack[0] == "FALSE") return false;
13609 return stack[0];
19334 var file_depth = 0; /* TODO: make a real stack */
19625 if(file_depth === 1) range = val; /* TODO: stack */