protected compileChildrenNoReturn ( array $stms, Leafo\ScssPhp\Formatter\OutputBlock $out ) | ||
$stms | array | |
$out | Leafo\ScssPhp\Formatter\OutputBlock |
protected function compileChildrenNoReturn($stms, OutputBlock $out)
{
foreach ($stms as $stm) {
$ret = $this->compileChild($stm, $out);
if (isset($ret)) {
$this->throwError('@return may only be used within a function');
return;
}
}
}