blob: f1c305e22e1b872994bc15e7cd420bb4b63bfa19 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?php
declare(strict_types=1);
namespace Nsfisis\Waddiwasi\WebAssembly\Structure\Modules;
use Nsfisis\Waddiwasi\WebAssembly\Structure\Instructions\Instr;
final readonly class Func
{
/**
* @param list<Local> $locals
* @param list<Instr> $body
*/
public function __construct(
public int $type,
public array $locals,
public array $body,
) {
}
}
|