aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/WebAssembly/Structure/Types/TableType.php
blob: b812de4ccad0e8fcb15e5d08167aa2bb515d7b3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php

declare(strict_types=1);

namespace Nsfisis\Waddiwasi\WebAssembly\Structure\Types;

final readonly class TableType
{
    /**
     * @param ValType::FuncRef|ValType::ExternRef $refType
     */
    public function __construct(
        public Limits $limits,
        public ValType $refType,
    ) {
    }
}