blob: 59c7db46c27d419bf12b4c9978b958bb1c984b17 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
<?php
declare(strict_types=1);
namespace Nsfisis\Waddiwasi\WebAssembly\Validation;
use Nsfisis\Waddiwasi\WebAssembly\Structure\Types\FuncType;
use Nsfisis\Waddiwasi\WebAssembly\Structure\Types\GlobalType;
use Nsfisis\Waddiwasi\WebAssembly\Structure\Types\MemType;
use Nsfisis\Waddiwasi\WebAssembly\Structure\Types\TableType;
use Nsfisis\Waddiwasi\WebAssembly\Structure\Types\ValType;
final class Context
{
/**
* @param list<FuncType> $types
* @param list<FuncType> $funcs
* @param list<TableType> $tables
* @param list<MemType> $mems
* @param list<GlobalType> $globals
* @param list<ValType> $elems
* @param list<bool> $datas
* @param list<mixed> $locals
* @param list<mixed> $labels
* @param list<mixed> $return
* @param list<int> $refs
*/
public function __construct(
public array $types,
public array $funcs,
public array $tables,
public array $mems,
public array $globals,
public array $elems,
public array $datas,
public array $locals,
public array $labels,
public array $return,
public array $refs,
) {
}
}
|