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: | { |
9: | // For use in "kind" attribute |
10: | const KIND_DOUBLE = 1; // "double" syntax |
11: | const KIND_FLOAT = 2; // "float" syntax |
12: | const KIND_REAL = 3; // "real" syntax |
13: | |
14: | public function getType() : string { |
15: | return 'Expr_Cast_Double'; |
16: | } |
17: | } |
18: |