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.php58 BinaryOp\Div::class => [ 40, 41, 40],
86 AssignOp\Div::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.php278 …protected function pExpr_AssignOp_Div(AssignOp\Div $node, int $precedence, int $lhsPrecedence): st…
279 …return $this->pPrefixOp(AssignOp\Div::class, $this->p($node->var) . ' /= ', $node->expr, $preceden…
332 …protected function pExpr_BinaryOp_Div(BinaryOp\Div $node, int $precedence, int $lhsPrecedence): st…
333 …return $this->pInfixOp(BinaryOp\Div::class, $node->left, ' / ', $node->right, $precedence, $lhsPre…
/PHP-Parser/grammar/
H A Dphp.y1014 … | variable T_DIV_EQUAL expr { $$ = Expr\AssignOp\Div [$1, $3]; }
1041 … | expr '/' expr { $$ = Expr\BinaryOp\Div [$1, $3]; }
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp7.php2195 …$self->semValue = new Expr\AssignOp\Div($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPo…
2276 …$self->semValue = new Expr\BinaryOp\Div($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPo…
H A DPhp8.php2197 …$self->semValue = new Expr\AssignOp\Div($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPo…
2278 …$self->semValue = new Expr\BinaryOp\Div($self->semStack[$stackPos-(3-1)], $self->semStack[$stackPo…

Completed in 72 milliseconds