aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Structure/Modules/ElemModes/Active.php
blob: 06f3b412ddcea83a9280ecb8348e129a53722e36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php

declare(strict_types=1);

namespace Nsfisis\Waddiwasi\Structure\Modules\ElemModes;

use Nsfisis\Waddiwasi\Structure\Instructions\Expr;
use Nsfisis\Waddiwasi\Structure\Modules\ElemMode;
use Nsfisis\Waddiwasi\Structure\Types\TableIdx;

final readonly class Active extends ElemMode
{
    protected function __construct(
        public TableIdx $table,
        public Expr $offset,
    ) {
    }
}