aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/WebAssembly/Execution/ElemInst.php
blob: 422cd6272bffd29ebac83497ce155e254b37516a (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;

use Nsfisis\Waddiwasi\WebAssembly\Structure\Types\RefType;

final readonly class ElemInst
{
    /**
     * @param list<Ref> $elem
     */
    public function __construct(
        public RefType $type,
        public array $elem,
    ) {
    }
}