Searched refs:Double (Results 1 – 8 of 8) sorted by relevance
/PHP-Parser/lib/PhpParser/Node/Expr/Cast/ |
H A D | Double.php | 7 class Double extends Cast { class
|
/PHP-Parser/test/PhpParser/ |
H A D | ParserTestAbstract.php | 176 ["(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 D | ParserAbstract.php | 13 use PhpParser\Node\Expr\Cast\Double; alias 727 return Double::KIND_FLOAT; 731 return Double::KIND_REAL; 734 return Double::KIND_DOUBLE;
|
H A D | PrettyPrinterAbstract.php | 48 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 D | Standard.php | 487 …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 D | php.y | 1075 $$ = new Expr\Cast\Double($2, $attrs); }
|
/PHP-Parser/lib/PhpParser/Parser/ |
H A D | Php7.php | 2371 $self->semValue = new Expr\Cast\Double($self->semStack[$stackPos-(2-2)], $attrs);
|
H A D | Php8.php | 2373 $self->semValue = new Expr\Cast\Double($self->semStack[$stackPos-(2-2)], $attrs);
|
Completed in 84 milliseconds