Searched refs:Mod (Results 1 – 8 of 8) sorted by relevance
/PHP-Parser/lib/PhpParser/Node/Expr/AssignOp/ |
H A D | Mod.php | 7 class Mod extends AssignOp { class
|
/PHP-Parser/lib/PhpParser/Node/Expr/BinaryOp/ |
H A D | Mod.php | 7 class Mod extends BinaryOp { class
|
/PHP-Parser/test/PhpParser/ |
H A D | ConstExprEvaluatorTest.php | 121 new Expr\BinaryOp\Mod(new Scalar\Int_(42), new Scalar\Int_(0)),
|
/PHP-Parser/lib/PhpParser/ |
H A D | PrettyPrinterAbstract.php | 59 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 D | Standard.php | 286 …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 D | php.y | 1016 … | 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 D | Php7.php | 2201 …$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 D | Php8.php | 2203 …$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 50 milliseconds