// include without the only attribute
elseif($node instanceof IncludeNode && !$node->getAttribute('only')){ $this->addLoopToAll(); }
// include function without the with_context=false parameter
elseif($node instanceof FunctionExpression && 'include' === $node->getAttribute('name') &&(!$node->getNode('arguments')->hasNode('with_context') || false !== $node->getNode('arguments')->getNode('with_context')->getAttribute('value') ) ){ $this->addLoopToAll(); }
// the loop variable is referenced via an attribute
elseif($node instanceof GetAttrExpression &&(!$node->getNode('attribute') instanceof ConstantExpression || 'parent' === $node->getNode('attribute')->getAttribute('value') )
// Start writing with the function to be called.
$compiler->write('echo ' . (empty($plural) ? 't' : '\Drupal::translation()->formatPlural') . '(');
// Move the count to the beginning of the parameters list.
if(!empty($plural)){ $compiler->raw('abs(')->subcompile($this->getNode('count'))->raw('), '); }