aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/WebAssembly/Execution/Refs/RefNull.php
blob: f73fa9d26ed6a9d6973c8773f2b7e47d991a4cab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

declare(strict_types=1);

namespace Nsfisis\Waddiwasi\WebAssembly\Execution\Refs;

use Nsfisis\Waddiwasi\WebAssembly\Execution\Ref;
use Nsfisis\Waddiwasi\WebAssembly\Structure\Types\ValType;

final readonly class RefNull extends Ref
{
    /**
     * @param ValType::FuncRef|ValType::ExternRef $type
     */
    public function __construct(
        public ValType $type,
    ) {
    }
}