diff options
Diffstat (limited to 'src/Structure/Instructions/Instrs/Reference')
3 files changed, 43 insertions, 0 deletions
diff --git a/src/Structure/Instructions/Instrs/Reference/RefFunc.php b/src/Structure/Instructions/Instrs/Reference/RefFunc.php new file mode 100644 index 0000000..2849f5f --- /dev/null +++ b/src/Structure/Instructions/Instrs/Reference/RefFunc.php @@ -0,0 +1,16 @@ +<?php + +declare(strict_types=1); + +namespace Nsfisis\Waddiwasi\Structure\Instructions\Instrs\Reference; + +use Nsfisis\Waddiwasi\Structure\Instructions\Instr; +use Nsfisis\Waddiwasi\Structure\Types\FuncIdx; + +final readonly class RefFunc extends Instr +{ + public function __construct( + public FuncIdx $func, + ) { + } +} diff --git a/src/Structure/Instructions/Instrs/Reference/RefIsNull.php b/src/Structure/Instructions/Instrs/Reference/RefIsNull.php new file mode 100644 index 0000000..eb8db06 --- /dev/null +++ b/src/Structure/Instructions/Instrs/Reference/RefIsNull.php @@ -0,0 +1,11 @@ +<?php + +declare(strict_types=1); + +namespace Nsfisis\Waddiwasi\Structure\Instructions\Instrs\Reference; + +use Nsfisis\Waddiwasi\Structure\Instructions\Instr; + +final readonly class RefIsNull extends Instr +{ +} diff --git a/src/Structure/Instructions/Instrs/Reference/RefNull.php b/src/Structure/Instructions/Instrs/Reference/RefNull.php new file mode 100644 index 0000000..b3727c6 --- /dev/null +++ b/src/Structure/Instructions/Instrs/Reference/RefNull.php @@ -0,0 +1,16 @@ +<?php + +declare(strict_types=1); + +namespace Nsfisis\Waddiwasi\Structure\Instructions\Instrs\Reference; + +use Nsfisis\Waddiwasi\Structure\Instructions\Instr; +use Nsfisis\Waddiwasi\Structure\Types\RefType; + +final readonly class RefNull extends Instr +{ + public function __construct( + public RefType $type, + ) { + } +} |
