Lines Matching full:push

77     this.runtimeFunctionsUsed.push('rethrow');
89 this.runtimeFunctionsUsed.push(name);
113 if (this.pp) this.buf.push("var pug_indent = [];");
197 this.buf.push('pug_html = pug_html + "' + str + '";');
224 this.buf.push('pug_html = pug_html + (' + src + ');');
246 this.buf.push('pug_html = pug_html + pug_indent.join("");');
274 this.buf.push(js + ';');
324 this.buf.push('switch (' + node.expr + '){');
326 this.buf.push('}');
338 this.buf.push('default:');
340 this.buf.push('case ' + node.expr + ':');
344 this.buf.push(' break;');
397 if (this.pp) this.buf.push("pug_indent.push('" + Array(this.indents + 1).join(this.pp) + "');");
398 this.buf.push('block && block();');
399 if (this.pp) this.buf.push("pug_indent.pop();");
443 if (pp) this.buf.push("pug_indent.push('" + Array(this.indents + 1).join(pp) + "');")
446 this.buf.push(name + '.call({');
449 this.buf.push('block: function(){');
460 this.buf.push('},');
462 this.buf.push('}');
472 … this.buf.push('attributes: ' + this.runtime('merge') + '([' + attrsBlocks.join(',') + '])');
474 this.buf.push('attributes: ' + attrsBlocks[0]);
478 this.buf.push('attributes: ' + val);
482 this.buf.push('}, ' + args + ');');
484 this.buf.push('});');
488 this.buf.push(name + '(' + args + ');');
490 if (pp) this.buf.push("pug_indent.pop();")
499 // once fixed, use this: this.buf.push(name + ' = function(' + args.join(',') + '){');
500 this.buf.push(name + ' = pug_interp = function(' + args.join(',') + '){');
501 … this.buf.push('var block = (this && this.block), attributes = (this && this.attributes) || {};');
503 this.buf.push('var ' + rest + ' = [];');
504 …this.buf.push('for (pug_interp = ' + args.length + '; pug_interp < arguments.length; pug_interp++)…
505 this.buf.push(' ' + rest + '.push(arguments[pug_interp]);');
506 this.buf.push('}');
511 this.buf.push('};');
513 this.mixins[key].instances.push({start: mixin_start, end: mixin_end});
673 this.buf.push(code.val);
678 if (!code.buffer) this.buf.push('{');
680 if (!code.buffer) this.buf.push('}');
693 this.buf.push('if (' + test + ') {');
695 this.buf.push('}')
698 this.buf.push('else')
701 this.buf.push('else {');
703 this.buf.push('}');
717 this.buf.push('while (' + test + ') {');
719 this.buf.push('}');
733 this.buf.push(''
740 this.buf.push(' if ($$obj.length) {');
743 this.buf.push(''
749 this.buf.push(' }');
752 this.buf.push(' } else {');
754 this.buf.push(' }');
757 this.buf.push(''
766 this.buf.push(' }');
768 this.buf.push(' if ($$l === 0) {');
770 this.buf.push(' }');
772 this.buf.push(' }\n}).call(this);\n');