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