Double.php 401 B

12345678910111213141516
  1. <?php declare(strict_types=1);
  2. namespace PhpParser\Node\Expr\Cast;
  3. use PhpParser\Node\Expr\Cast;
  4. class Double extends Cast {
  5. // For use in "kind" attribute
  6. public const KIND_DOUBLE = 1; // "double" syntax
  7. public const KIND_FLOAT = 2; // "float" syntax
  8. public const KIND_REAL = 3; // "real" syntax
  9. public function getType(): string {
  10. return 'Expr_Cast_Double';
  11. }
  12. }