Home
last modified time | relevance | path

Searched refs:Mod (Results 1 – 8 of 8) sorted by relevance

/PHP-Parser/lib/PhpParser/Node/Expr/AssignOp/
H A DMod.php7 class Mod extends AssignOp { class
/PHP-Parser/lib/PhpParser/Node/Expr/BinaryOp/
H A DMod.php7 class Mod extends BinaryOp { class
/PHP-Parser/test/PhpParser/
H A DConstExprEvaluatorTest.php121 new Expr\BinaryOp\Mod(new Scalar\Int_(42), new Scalar\Int_(0)),
/PHP-Parser/lib/PhpParser/
H A DPrettyPrinterAbstract.php59 BinaryOp\Mod::class => [ 40, 41, 40],
88 AssignOp\Mod::class => [160, -1, -1],
1367 BinaryOp\Pow::class, BinaryOp\Mul::class, BinaryOp\Div::class, BinaryOp\Mod::class,
1390 AssignOp\Mul::class, AssignOp\Div::class, AssignOp\Concat::class, AssignOp\Mod::class,
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php286 …protected function pExpr_AssignOp_Mod(AssignOp\Mod $node, int $precedence, int $lhsPrecedence): st…
287 …return $this->pPrefixOp(AssignOp\Mod::class, $this->p($node->var) . ' %= ', $node->expr, $preceden…
340 …protected function pExpr_BinaryOp_Mod(BinaryOp\Mod $node, int $precedence, int $lhsPrecedence): st…
341 …return $this->pInfixOp(BinaryOp\Mod::class, $node->left, ' % ', $node->right, $precedence, $lhsPre…
/PHP-Parser/grammar/
H A Dphp.y1016 … | variable T_MOD_EQUAL expr { $$ = Expr\AssignOp\Mod [$1, $3]; }
1042 … | expr '%' expr { $$ = Expr\BinaryOp\Mod [$1, $3]; }
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp7.php2201 …$self->semValue = new Expr\AssignOp\Mod($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPo…
2279 …$self->semValue = new Expr\BinaryOp\Mod($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPo…
H A DPhp8.php2203 …$self->semValue = new Expr\AssignOp\Mod($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPo…
2281 …$self->semValue = new Expr\BinaryOp\Mod($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPo…

Completed in 90 milliseconds