Double.php 381 B

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