end = jj_consume_token(DIRECTIVE_END); children = MixedContentElements(); cblock = new ConditionalBlock(condition, children, ConditionalBlock.TYPE_IF); cblock.setLocation(template, start, end, children); ifBlock = new IfBlock(cblock); end = LooseDirectiveEnd(); children = MixedContentElements(); cblock = new ConditionalBlock(condition, children, ConditionalBlock.TYPE_ELSE_IF); cblock.setLocation(template, t, end, children); ifBlock.addBlock(cblock); t = jj_consume_token(ELSE); children = MixedContentElements(); cblock = new ConditionalBlock(null, children, ConditionalBlock.TYPE_ELSE); cblock.setLocation(template, t, t, children); ifBlock.addBlock(cblock);
end = jj_consume_token(DIRECTIVE_END); children = MixedContentElements(); cblock = new ConditionalBlock(condition, children, ConditionalBlock.TYPE_IF); cblock.setLocation(template, start, end, children); ifBlock = new IfBlock(cblock); end = LooseDirectiveEnd(); children = MixedContentElements(); cblock = new ConditionalBlock(condition, children, ConditionalBlock.TYPE_ELSE_IF); cblock.setLocation(template, t, end, children); ifBlock.addBlock(cblock); t = jj_consume_token(ELSE); children = MixedContentElements(); cblock = new ConditionalBlock(null, children, ConditionalBlock.TYPE_ELSE); cblock.setLocation(template, t, t, children); ifBlock.addBlock(cblock);
end = jj_consume_token(DIRECTIVE_END); children = MixedContentElements(); cblock = new ConditionalBlock(condition, children, ConditionalBlock.TYPE_IF); cblock.setLocation(template, start, end, children); ifBlock = new IfBlock(cblock); end = LooseDirectiveEnd(); children = MixedContentElements(); cblock = new ConditionalBlock(condition, children, ConditionalBlock.TYPE_ELSE_IF); cblock.setLocation(template, t, end, children); ifBlock.addBlock(cblock); t = jj_consume_token(ELSE); children = MixedContentElements(); cblock = new ConditionalBlock(null, children, ConditionalBlock.TYPE_ELSE); cblock.setLocation(template, t, t, children); ifBlock.addBlock(cblock);
jj_consume_token(DIRECTIVE_END); block = OptionalBlock(); cblock = new ConditionalBlock(condition, block, true); cblock.setLocation(template, start, block); ifBlock = new IfBlock(cblock); LooseDirectiveEnd(); block = OptionalBlock(); cblock = new ConditionalBlock(condition, block, false); cblock.setLocation(template, t, block); ifBlock.addBlock(cblock); t = jj_consume_token(ELSE); block = OptionalBlock(); cblock = new ConditionalBlock(null, block, false); cblock.setLocation(template, t, block); ifBlock.addBlock(cblock);