aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/WebAssembly/Structure/Modules/ElemModes/Active.php
blob: e66e080545ab1b1745651744f991627f9394fbe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php

declare(strict_types=1);

namespace Nsfisis\Waddiwasi\WebAssembly\Structure\Modules\ElemModes;

use Nsfisis\Waddiwasi\WebAssembly\Structure\Instructions\Instr;
use Nsfisis\Waddiwasi\WebAssembly\Structure\Modules\ElemMode;

final readonly class Active extends ElemMode
{
    /**
     * @param list<Instr> $offset
     */
    protected function __construct(
        public int $table,
        public array $offset,
    ) {
    }
}