Lines Matching refs:block

104     var block = this.emptyBlock(0);
110 block.nodes = block.nodes.concat(this.parseTextHtml());
115 block.nodes = block.nodes.concat(expr.nodes);
117 block.nodes.push(expr);
123 return block;
230 return this.parseText({block: true}); property
308 if (!options || !options.block) break loop;
360 var block = this.block();
361 block.nodes.forEach(function (node) {
400 return this.block();
418 var block = this.emptyBlock(tok.loc.start.line + 1);
427 block.nodes.push(this.parseWhen());
430 block.nodes.push(this.parseDefault());
433 var pluginResult = this.runPlugin('caseTokens', this.peek(), block);
441 node.block = block;
456 block: this.parseBlockExpansion(),
483 block: this.parseBlockExpansion(),
513 var block;
516 block = 'indent' == this.peek().type;
517 if (block) {
521 node.block = this.block();
540 node.consequent = this.block();
561 currentNode.consequent = this.block();
566 currentNode.alternate = this.block();
588 node.block = this.block();
590 node.block = this.emptyBlock(tok.loc.start.line);
645 var block;
646 if (block = this.parseTextBlock()) {
650 block: block,
707 var block, attrs = [];
715 block = this.initBlock(textToken.loc.start.line, [
725 block = this.initBlock(tok.loc.start.line, [this.parseFilter()]);
727 block = this.parseTextBlock() || this.emptyBlock(tok.loc.start.line);
733 block: block,
752 block: this.block(), property
759 node.alternate = this.block();
793 var node = 'indent' == this.peek().type ? this.block() : this.emptyBlock(tok.loc.start.line);
853 … node.block = 'indent' == this.peek().type ? this.block() : this.emptyBlock(tok.loc.start.line);
882 block: this.emptyBlock(tok.loc.start.line), property
893 mixin.block.nodes.push(mixin.code);
896 if (mixin.block.nodes.length === 0) mixin.block = null;
915 block: this.block(), property
935 var block = this.emptyBlock(tok.loc.start.line);
940 block.nodes.push({
949 block.nodes.push({
958 block.nodes.push(this.parseExpr());
962 block.nodes.push({
974 var pluginResult = this.runPlugin('textBlockTokens', tok, block, tok);
980 return block;
987 block: function(){ method in Parser
989 var block = this.emptyBlock(tok.loc.start.line);
994 block.nodes = block.nodes.concat(this.parseTextHtml());
998 block.nodes = block.nodes.concat(expr.nodes);
1000 block.nodes.push(expr);
1005 return block;
1018 block: this.emptyBlock(tok.loc.start.line), property
1040 block: this.emptyBlock(tok.loc.start.line), property
1118 tag.block.nodes.push.apply(tag.block.nodes, text.nodes);
1120 tag.block.nodes.push(text);
1124 tag.block.nodes.push(this.parseCode(true));
1129 tag.block = expr.type === 'Block' ? expr : this.initBlock(tag.line, [expr]);
1155 tag.block = this.parseTextBlock() || this.emptyBlock(tag.line);
1157 var block = this.block();
1158 for (var i = 0, len = block.nodes.length; i < len; ++i) {
1159 tag.block.nodes.push(block.nodes[i]);