Home
last modified time | relevance | path

Searched refs:Div (Results 1 – 9 of 9) sorted by relevance

/PHP-Parser/lib/PhpParser/Node/Expr/AssignOp/
H A DDiv.php7 class Div extends AssignOp { class
/PHP-Parser/lib/PhpParser/Node/Expr/BinaryOp/
H A DDiv.php7 class Div extends BinaryOp { class
/PHP-Parser/doc/component/
H A DConstant_expression_evaluation.markdown48 $expr = new Expr\BinaryOp\Div(new Scalar\Int_(10), new Scalar\Int_(0));
/PHP-Parser/test/PhpParser/
H A DNodeTraverserTest.php221 $divNode = new Expr\BinaryOp\Div($varNode, $varNode);
237 $this->assertInstanceOf(Expr\BinaryOp\Div::class, $resultStmts[1]->expr);
/PHP-Parser/lib/PhpParser/
H A DPrettyPrinterAbstract.php57 BinaryOp\Div::class => [ 40, 41, 40],
85 AssignOp\Div::class => [160, -1, -1],
1336 BinaryOp\Pow::class, BinaryOp\Mul::class, BinaryOp\Div::class, BinaryOp\Mod::class,
1359 AssignOp\Mul::class, AssignOp\Div::class, AssignOp\Concat::class, AssignOp\Mod::class,
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php273 …protected function pExpr_AssignOp_Div(AssignOp\Div $node, int $precedence, int $lhsPrecedence): st…
274 …return $this->pPrefixOp(AssignOp\Div::class, $this->p($node->var) . ' /= ', $node->expr, $preceden…
327 …protected function pExpr_BinaryOp_Div(BinaryOp\Div $node, int $precedence, int $lhsPrecedence): st…
328 …return $this->pInfixOp(BinaryOp\Div::class, $node->left, ' / ', $node->right, $precedence, $lhsPre…
/PHP-Parser/grammar/
H A Dphp.y966 … | variable T_DIV_EQUAL expr { $$ = Expr\AssignOp\Div [$1, $3]; }
993 … | expr '/' expr { $$ = Expr\BinaryOp\Div [$1, $3]; }
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp7.php2143 …$self->semValue = new Expr\AssignOp\Div($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPo…
2224 …$self->semValue = new Expr\BinaryOp\Div($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPo…
H A DPhp8.php2137 …$self->semValue = new Expr\AssignOp\Div($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPo…
2218 …$self->semValue = new Expr\BinaryOp\Div($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPo…

Completed in 48 milliseconds