public function compile(\Twig_Compiler $compiler)
{
$compiler->addDebugInfo($this);
$compiler->write('while (');
for ($i = 0; $i < count($this->getNode('tests')); $i += 2) {
$compiler->subcompile($this->getNode('tests')->getNode($i))->raw(") {\n")->indent()->subcompile($this->getNode('tests')->getNode($i + 1));
}
$compiler->outdent()->write("}\n");
}