blob: ead0330446a296d0a1ea263fb2f97e8ad0f4f93e (
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
|
<?php
declare(strict_types=1);
namespace Nsfisis\Waddiwasi\Execution;
abstract readonly class ExternVal
{
final public static function Func(int $addr): ExternVals\Func
{
return new ExternVals\Func($addr);
}
final public static function Table(int $addr): ExternVals\Table
{
return new ExternVals\Table($addr);
}
final public static function Mem(int $addr): ExternVals\Mem
{
return new ExternVals\Mem($addr);
}
final public static function Global_(int $addr): ExternVals\Global_
{
return new ExternVals\Global_($addr);
}
}
|