Lines Matching defs:params

492 	function blockParams(params, ids) {
493 params.path = ids;
494 return params;
2421 throw new _exception2['default']('must pass block params');
2643 return node.type === 'SubExpression' || (node.type === 'MustacheStatement' || node.type === 'BlockStatement') && !!(node.params && node.params.length || node.hash);
2787 this.$ = { path: $$[$0 - 3], params: $$[$0 - 2], hash: $$[$0 - 1] };
2796 this.$ = { open: $$[$0 - 5], path: $$[$0 - 4], params: $$[$0 - 3], hash: $$[$0 - 2], blockParams: $$[$0 - 1], strip: yy.stripFlags($$[$0 - 5], $$[$0]) };
2799 this.$ = { path: $$[$0 - 4], params: $$[$0 - 3], hash: $$[$0 - 2], blockParams: $$[$0 - 1], strip: yy.stripFlags($$[$0 - 5], $$[$0]) };
2802 this.$ = { path: $$[$0 - 4], params: $$[$0 - 3], hash: $$[$0 - 2], blockParams: $$[$0 - 1], strip: yy.stripFlags($$[$0 - 5], $$[$0]) };
2831 params: $$[$0 - 2],
2843 this.$ = { path: $$[$0 - 3], params: $$[$0 - 2], hash: $$[$0 - 1], strip: yy.stripFlags($$[$0 - 4], $$[$0]) };
2855 params: $$[$0 - 2],
3812 this.acceptArray(mustache.params);
3823 this.acceptArray(partial.params);
3931 function prepareMustache(path, params, hash, open, strip, locInfo) {
3940 params: params,
3962 params: openRawBlock.params,
4006 params: openBlock.params,
4052 params: open.params,
4233 var params = this.setupFullMustacheParams(decorator, program, undefined),
4237 this.opcode('registerDecorator', params.length, path.original);
4248 var params = partial.params;
4249 if (params.length > 1) {
4250 throw new _exception2['default']('Unsupported number of partial arguments: ' + params.length, partial);
4251 } else if (!params.length) {
4255 params.push({ type: 'PathExpression', parts: [], depth: 0 });
4337 var params = this.setupFullMustacheParams(sexpr, program, inverse),
4342 this.opcode('invokeKnownHelper', params.length, name);
4350 this.opcode('invokeHelper', params.length, path.original, _ast2['default'].helpers.simpleId(path));
4463 pushParams: function pushParams(params) {
4464 for (var i = 0, l = params.length; i < l; i++) {
4465 this.pushParam(params[i]);
4485 // in string params mode.
4511 var params = sexpr.params;
4512 this.pushParams(params);
4523 return params;
4883 var params = ['container', 'depth0', 'helpers', 'partials', 'data'];
4886 params.push('blockParams');
4889 params.push('depths');
4896 params.push(source);
4898 return Function.apply(this, params);
4900 return this.source.wrap(['function(', params.join(','), ') {\n ', source, '}']);
4976 params = [this.contextName(0)];
4977 this.setupHelperArgs(name, 0, params);
4980 params.splice(1, 0, blockName);
4982 this.push(this.source.functionCall(blockHelperMissing, 'call', params));
4994 params = [this.contextName(0)];
4995 this.setupHelperArgs('', 0, params, true);
5000 params.splice(1, 0, current);
5002 this.pushSource(['if (!', this.lastHelper, ') { ', current, ' = ', this.source.functionCall(blockHelperMissing, 'call', params), '}']);
5261 // On stack, before: hash, program, params..., ...
5275 // On stack, before: hash, inverse, program, params..., ...
5313 // On stack, before: hash, inverse, program, params..., ...
5325 // On stack, before: hash, inverse, program, params..., ...
5362 var params = [],
5363 options = this.setupParams(name, 1, params);
5378 params.unshift(this.nameLookup('partials', name, 'partial'));
5380 params.unshift(name);
5387 params.push(options);
5389 this.push(this.source.functionCall('container.invokePartial', '', params));
5657 var params = [],
5658 paramsInit = this.setupHelperArgs(name, paramSize, params, blockHelper);
5663 params: params,
5666 callParams: [callContext].concat(params)
5670 setupParams: function setupParams(helper, paramSize, params) {
5675 objectArgs = !params,
5679 params = [];
5708 params[i] = param;
5720 options.args = this.source.generateArray(params);
5740 setupHelperArgs: function setupHelperArgs(helper, paramSize, params, useRegister) {
5741 var options = this.setupParams(helper, paramSize, params);
5746 params.push('options');
5748 } else if (params) {
5749 params.push(options);
5913 functionCall: function functionCall(fn, type, params) {
5914 params = this.generateList(params);
5915 return this.wrap([fn, type ? '.' + type + '(' : '(', params, ')']);