PHPSA\Compiler\Expression\YieldFrom::compile PHP Method

compile() protected method

yield from {expr}
protected compile ( PhpParser\Node\Expr\YieldFrom $expr, Context $context ) : CompiledExpression
$expr PhpParser\Node\Expr\YieldFrom
$context PHPSA\Context
return PHPSA\CompiledExpression
    protected function compile($expr, Context $context)
    {
        $compiled = $context->getExpressionCompiler()->compile($expr->expr);
        // @TODO implement yield from
        return new CompiledExpression();
    }
YieldFrom