Home
last modified time | relevance | path

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

/PHP-Parser/lib/PhpParser/Node/Expr/Cast/
H A DDouble.php7 class Double extends Cast { class
/PHP-Parser/test/PhpParser/
H A DParserTestAbstract.php176 ["(float) 5.0", ['kind' => Expr\Cast\Double::KIND_FLOAT]],
177 ["(double) 5.0", ['kind' => Expr\Cast\Double::KIND_DOUBLE]],
178 ["(real) 5.0", ['kind' => Expr\Cast\Double::KIND_REAL]],
179 [" ( REAL ) 5.0", ['kind' => Expr\Cast\Double::KIND_REAL]],
/PHP-Parser/lib/PhpParser/
H A DParserAbstract.php13 use PhpParser\Node\Expr\Cast\Double; alias
729 return Double::KIND_FLOAT;
733 return Double::KIND_REAL;
736 return Double::KIND_DOUBLE;
H A DPrettyPrinterAbstract.php48 Cast\Double::class => [ 10, -1, -1],
1386 Cast\Int_::class, Cast\Double::class, Cast\String_::class, Cast\Array_::class,
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php487 …protected function pExpr_Cast_Double(Cast\Double $node, int $precedence, int $lhsPrecedence): stri…
488 $kind = $node->getAttribute('kind', Cast\Double::KIND_DOUBLE);
489 if ($kind === Cast\Double::KIND_DOUBLE) {
491 } elseif ($kind === Cast\Double::KIND_FLOAT) {
494 assert($kind === Cast\Double::KIND_REAL);
497 …return $this->pPrefixOp(Cast\Double::class, $cast . ' ', $node->expr, $precedence, $lhsPrecedence);
/PHP-Parser/grammar/
H A Dphp.y1074 $$ = new Expr\Cast\Double($2, $attrs); }
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp8.php2378 $self->semValue = new Expr\Cast\Double($self->semStack[$stackPos-(2-2)], $attrs);
H A DPhp7.php2362 $self->semValue = new Expr\Cast\Double($self->semStack[$stackPos-(2-2)], $attrs);

Completed in 49 milliseconds