blob: e9b5a72d920b7971123d1885857fc20694a70f2f (
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
|
<?php
declare(strict_types=1);
namespace Nsfisis\Waddiwasi\Structure\Modules;
use Nsfisis\Waddiwasi\Structure\Instructions\Instr;
abstract readonly class DataMode
{
final public static function Passive(): DataModes\Passive
{
return new DataModes\Passive();
}
/**
* @param list<Instr> $offset
*/
final public static function Active(
int $memory,
array $offset,
): DataModes\Active {
return new DataModes\Active($memory, $offset);
}
}
|