Home
last modified time | relevance | path

Searched refs:cast (Results 1 – 3 of 3) sorted by relevance

/PHP-Parser/lib/PhpParser/
H A DParserAbstract.php726 protected function getFloatCastKind(string $cast): int { argument
727 $cast = strtolower($cast);
728 if (strpos($cast, 'float') !== false) {
732 if (strpos($cast, 'real') !== false) {
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php490 $cast = '(double)';
492 $cast = '(float)';
495 $cast = '(real)';
497 …return $this->pPrefixOp(Cast\Double::class, $cast . ' ', $node->expr, $precedence, $lhsPrecedence);
/PHP-Parser/
H A DCHANGELOG.md600 `(double)` and `(real)`. The form of the cast will be preserved by the pretty printer. (#565)

Completed in 15 milliseconds