Lines Matching defs:push
23 push: 13,
39 push: 1,
68 out.push("DECLARE " + name + " = " + value);
82 codes.push(nextCode);
87 out.push(str);
193 this.opcode('push', '{}');
211 this.opcode('push', 'depth0');
251 this.opcode('push', integer.integer);
255 this.opcode('push', bool.bool);
281 this.opcodes.push(Compiler.OPCODE_MAP[name]);
282 if(val1 !== undefined) { this.opcodes.push(val1); }
283 if(val2 !== undefined) { this.opcodes.push(val2); }
284 if(val3 !== undefined) { this.opcodes.push(val3); }
288 this.opcodes.push('DECLARE');
289 this.opcodes.push(name);
290 this.opcodes.push(value);
298 this.depths.list.push(depth);
399 codes.push(opcodes[this.i + j + 1 + n]);
423 out.push(copies);
425 out.push('');
429 out.push(", buffer = " + this.initializeBuffer());
431 out.push("");
468 this.source.push("return buffer;");
474 params.push("depth" + this.environment.depths.list[i]);
478 params.push(this.source.join("\n "));
489 this.source.push(this.appendToBuffer(this.quotedString(content)));
494 this.source.push("if(" + local + " || " + local + " === 0) { " + this.appendToBuffer(local) + " }");
496 this.source.push("else { " + this.appendToBuffer("''") + " }");
509 this.source.push(this.appendToBuffer("escapeExpression(" + this.popStack() + ")" + extra));
536 this.source.push(toPush);
544 this.source.push(topStack + " = (" + topStack + " === null || " + topStack + " === undefined || " + topStack + " === false ? " +
557 push: function(name) {
566 this.source.push("else if(" + id + "=== undef) { " + nextStack + " = helperMissing.call(" + helperMissingString + "); }");
568 this.source.push("else { " + nextStack + " = " + id + "; }");
581 this.source.push("else { " + nextStack + " = blockHelperMissing.call(" + helperMissingString + "); }");
600 this.source.push('tmp1.hash = ' + hash + ';');
604 this.source.push('tmp1.contexts = [];');
609 params.push(param);
612 this.source.push('tmp1.contexts.push(' + this.popStack() + ');');
617 this.source.push('tmp1.fn = tmp1;');
618 this.source.push('tmp1.inverse = ' + inverse + ';');
622 this.source.push('tmp1.data = data;');
625 params.push(stringOptions);
637 this.source.push(nextStack + " = " + id + ".call(" + paramString + ");");
641 this.source.push("if(" + condition + "typeof " + id + " === functionType) { " + nextStack + " = " + id + ".call(" + paramString + "); }");
651 params.push("data");
661 this.source.push(hash + "['" + key + "'] = " + value + ";");
675 this.context.programs.push(''); // Placeholder to prevent name conflicts for nested children
694 if(depth === 1) { programParams.push("depth0"); }
695 else { programParams.push("depth" + (depth - 1)); }
708 this.source.push(name + " = " + val + ";");
714 this.context.registers.list.push(name);
719 this.source.push(this.nextStack() + " = " + item + ";");
725 if(this.stackSlot > this.stackVars.length) { this.stackVars.push("stack" + this.stackSlot); }