blob: 0f0524dcf16f09efdde56b049099c8ead0c3e85d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<?php
declare(strict_types=1);
namespace Nsfisis\Waddiwasi\WebAssembly\Structure\Instructions\Instrs\Reference;
use Nsfisis\Waddiwasi\WebAssembly\Structure\Instructions\Instr;
use Nsfisis\Waddiwasi\WebAssembly\Structure\Types\ValType;
final readonly class RefNull extends Instr
{
/**
* @param ValType::FuncRef|ValType::ExternRef $type
*/
protected function __construct(
public ValType $type,
) {
}
public static function opName(): string
{
return 'ref.null';
}
}
|