Home
last modified time | relevance | path

Searched refs:Yield_ (Results 1 – 6 of 6) sorted by relevance

/PHP-Parser/lib/PhpParser/Node/Expr/
H A DYield_.php7 class Yield_ extends Expr { class
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php615 $yieldPrecedence = $this->precedenceMap[Expr\Yield_::class][0];
733 protected function pExpr_Yield(Expr\Yield_ $node, int $precedence, int $lhsPrecedence): string {
735 $opPrecedence = $this->precedenceMap[Expr\Yield_::class][0];
742 Expr\Yield_::class, 'yield ' . $this->pKey($node->key),
/PHP-Parser/grammar/
H A Dphp.y1087 | T_YIELD { $$ = Expr\Yield_[null, null]; }
1088 | T_YIELD expr { $$ = Expr\Yield_[$2, null]; }
1089 | T_YIELD expr T_DOUBLE_ARROW expr { $$ = Expr\Yield_[$4, $2]; }
/PHP-Parser/lib/PhpParser/
H A DPrettyPrinterAbstract.php97 Expr\Yield_::class => [175, -1, -1],
1331 Expr\Yield_::class => ['value' => self::FIXUP_PREC_UNARY],
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp7.php2402 …$self->semValue = new Expr\Yield_(null, null, $self->getAttributes($self->tokenStartStack[$stackPo…
2405 …$self->semValue = new Expr\Yield_($self->semStack[$stackPos-(2-2)], null, $self->getAttributes($se…
2408 …$self->semValue = new Expr\Yield_($self->semStack[$stackPos-(4-4)], $self->semStack[$stackPos-(4-2…
H A DPhp8.php2404 …$self->semValue = new Expr\Yield_(null, null, $self->getAttributes($self->tokenStartStack[$stackPo…
2407 …$self->semValue = new Expr\Yield_($self->semStack[$stackPos-(2-2)], null, $self->getAttributes($se…
2410 …$self->semValue = new Expr\Yield_($self->semStack[$stackPos-(4-4)], $self->semStack[$stackPos-(4-2…

Completed in 40 milliseconds