aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Structure/Modules/ElemModes/Active.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Structure/Modules/ElemModes/Active.php')
-rw-r--r--src/Structure/Modules/ElemModes/Active.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Structure/Modules/ElemModes/Active.php b/src/Structure/Modules/ElemModes/Active.php
new file mode 100644
index 0000000..06f3b41
--- /dev/null
+++ b/src/Structure/Modules/ElemModes/Active.php
@@ -0,0 +1,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,
+ ) {
+ }
+}