Lines Matching refs:frame

122   _proto._compileChildren = function _compileChildren(node, frame) {  argument
125 _this2.compile(child, frame);
128 _proto._compileAggregate = function _compileAggregate(node, frame, startChar, endChar) { argument
137 _this3.compile(child, frame);
143 _proto._compileExpression = function _compileExpression(node, frame) { argument
147 this.compile(node, frame);
159 _proto.compileCallExtension = function compileCallExtension(node, frame, async) { argument
180 _this4._compileExpression(arg, frame);
196 _this4.compile(arg, frame);
217 _proto.compileCallExtensionAsync = function compileCallExtensionAsync(node, frame) { argument
218 this.compileCallExtension(node, frame, true);
220 _proto.compileNodeList = function compileNodeList(node, frame) { argument
221 this._compileChildren(node, frame);
244 this._emit('runtime.contextOrFrameLookup(' + 'context, frame, "' + name + '")');
295 this.compile(node.left, frame);
299 this.compile(node.right.args, frame);
303 _proto._binOpEmitter = function _binOpEmitter(node, frame, str) { argument
304 this.compile(node.left, frame);
306 this.compile(node.right, frame);
312 _proto.compileOr = function compileOr(node, frame) { argument
313 return this._binOpEmitter(node, frame, ' || ');
315 _proto.compileAnd = function compileAnd(node, frame) { argument
316 return this._binOpEmitter(node, frame, ' && ');
318 _proto.compileAdd = function compileAdd(node, frame) { argument
319 return this._binOpEmitter(node, frame, ' + ');
321 _proto.compileConcat = function compileConcat(node, frame) { argument
322 return this._binOpEmitter(node, frame, ' + "" + ');
324 _proto.compileSub = function compileSub(node, frame) { argument
325 return this._binOpEmitter(node, frame, ' - ');
327 _proto.compileMul = function compileMul(node, frame) { argument
328 return this._binOpEmitter(node, frame, ' * ');
330 _proto.compileDiv = function compileDiv(node, frame) { argument
331 return this._binOpEmitter(node, frame, ' / ');
333 _proto.compileMod = function compileMod(node, frame) { argument
334 return this._binOpEmitter(node, frame, ' % ');
336 _proto.compileNot = function compileNot(node, frame) { argument
338 this.compile(node.target, frame);
340 _proto.compileFloorDiv = function compileFloorDiv(node, frame) { argument
342 this.compile(node.left, frame);
344 this.compile(node.right, frame);
347 _proto.compilePow = function compilePow(node, frame) { argument
349 this.compile(node.left, frame);
351 this.compile(node.right, frame);
354 _proto.compileNeg = function compileNeg(node, frame) { argument
356 this.compile(node.target, frame);
358 _proto.compilePos = function compilePos(node, frame) { argument
360 this.compile(node.target, frame);
362 _proto.compileCompare = function compileCompare(node, frame) { argument
364 this.compile(node.expr, frame);
367 _this5.compile(op.expr, frame);
370 _proto.compileLookupVal = function compileLookupVal(node, frame) { argument
372 this._compileExpression(node.target, frame);
374 this._compileExpression(node.val, frame);
391 _proto.compileFunCall = function compileFunCall(node, frame) { argument
399 this._compileExpression(node.name, frame);
404 this._compileAggregate(node.args, frame, '[', '])');
407 _proto.compileFilter = function compileFilter(node, frame) { argument
411 this._compileAggregate(node.args, frame);
414 _proto.compileFilterAsync = function compileFilterAsync(node, frame) { argument
418 frame.set(symbol, symbol);
420 this._compileAggregate(node.args, frame);
424 _proto.compileKeywordArgs = function compileKeywordArgs(node, frame) { argument
426 this.compileDict(node, frame);
429 _proto.compileSet = function compileSet(node, frame) { argument
437 var id = frame.lookup(name);
449 this._compileExpression(node.value, frame);
453 this.compile(node.body, frame);
473 _proto.compileSwitch = function compileSwitch(node, frame) { argument
476 this.compile(node.expr, frame);
480 _this7.compile(c.cond, frame);
482 _this7.compile(c.body, frame);
490 this.compile(node.default, frame);
494 _proto.compileIf = function compileIf(node, frame, async) { argument
497 this._compileExpression(node.cond, frame);
500 _this8.compile(node.body, frame);
508 _this8.compile(node.else_, frame);
519 _proto.compileIfAsync = function compileIfAsync(node, frame) { argument
521 this.compileIf(node, frame, true);
553 _proto.compileFor = function compileFor(node, frame) { argument
562 frame = frame.push();
565 this._compileExpression(node.arr, frame);
587 frame.set(node.name.children[u].value, tid);
591 _this10.compile(node.body, frame);
601 frame.set(key.value, k);
602 frame.set(val.value, v);
612 _this10.compile(node.body, frame);
619 frame.set(node.name.value, _v);
626 _this10.compile(node.body, frame);
633 this.compile(node.else_, frame);
638 _proto._compileAsyncLoop = function _compileAsyncLoop(node, frame, parallel) { argument
648 frame = frame.push();
651 this._compileExpression(node.arr, frame);
662 frame.set(id, id);
669 frame.set(id, id);
677 _this11.compile(node.body, frame);
691 this.compile(node.else_, frame);
696 _proto.compileAsyncEach = function compileAsyncEach(node, frame) { argument
697 this._compileAsyncLoop(node, frame);
699 _proto.compileAsyncAll = function compileAsyncAll(node, frame) { argument
700 this._compileAsyncLoop(node, frame, true);
702 _proto._compileMacro = function _compileMacro(node, frame) { argument
707 var keepFrame = frame !== undefined;
736 currFrame = frame.push(true);
771 _proto.compileMacro = function compileMacro(node, frame) { argument
776 frame.set(name, funcId);
777 if (frame.parent) {
786 _proto.compileCaller = function compileCaller(node, frame) { argument
789 var funcId = this._compileMacro(node, frame);
792 …_proto._compileGetTemplate = function _compileGetTemplate(node, frame, eagerCompile, ignoreMissing… argument
799 this._compileExpression(node.template, frame);
803 _proto.compileImport = function compileImport(node, frame) { argument
805 var id = this._compileGetTemplate(node, frame, false, false);
809 frame.set(target, id);
810 if (frame.parent) {
816 _proto.compileFromImport = function compileFromImport(node, frame) { argument
818 var importedId = this._compileGetTemplate(node, frame, false, false);
838 frame.set(alias, id);
839 if (frame.parent) {
870 _proto.compileSuper = function compileSuper(node, frame) { argument
877 frame.set(id, id);
879 _proto.compileExtends = function compileExtends(node, frame) { argument
881 var parentTemplateId = this._compileGetTemplate(node, frame, true, false);
892 _proto.compileInclude = function compileInclude(node, frame) { argument
896 var id = this._compileGetTemplate(node, frame, false, node.ignoreMissing);
913 _proto.compileTemplateData = function compileTemplateData(node, frame) { argument
914 this.compileLiteral(node, frame);
916 _proto.compileCapture = function compileCapture(node, frame) { argument
925 _this14.compile(node.body, frame);
932 _proto.compileOutput = function compileOutput(node, frame) { argument
941 _this15.compileLiteral(child, frame);
949 _this15.compile(child, frame);
957 _proto.compileRoot = function compileRoot(node, frame) { argument
959 if (frame) {
962 frame = new Frame();
965 this._compileChildren(node, frame);
994 _proto.compile = function compile(node, frame) { argument
997 _compile.call(this, node, frame);