aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Structure/Instructions/Instrs/Parametric
diff options
context:
space:
mode:
Diffstat (limited to 'src/Structure/Instructions/Instrs/Parametric')
-rw-r--r--src/Structure/Instructions/Instrs/Parametric/Drop.php11
-rw-r--r--src/Structure/Instructions/Instrs/Parametric/Select.php19
2 files changed, 30 insertions, 0 deletions
diff --git a/src/Structure/Instructions/Instrs/Parametric/Drop.php b/src/Structure/Instructions/Instrs/Parametric/Drop.php
new file mode 100644
index 0000000..7513014
--- /dev/null
+++ b/src/Structure/Instructions/Instrs/Parametric/Drop.php
@@ -0,0 +1,11 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Nsfisis\Waddiwasi\Structure\Instructions\Instrs\Parametric;
+
+use Nsfisis\Waddiwasi\Structure\Instructions\Instr;
+
+final readonly class Drop extends Instr
+{
+}
diff --git a/src/Structure/Instructions/Instrs/Parametric/Select.php b/src/Structure/Instructions/Instrs/Parametric/Select.php
new file mode 100644
index 0000000..5e5b5ad
--- /dev/null
+++ b/src/Structure/Instructions/Instrs/Parametric/Select.php
@@ -0,0 +1,19 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Nsfisis\Waddiwasi\Structure\Instructions\Instrs\Parametric;
+
+use Nsfisis\Waddiwasi\Structure\Instructions\Instr;
+use Nsfisis\Waddiwasi\Structure\Types\ValType;
+
+final readonly class Select extends Instr
+{
+ /**
+ * @param list<ValType> $types
+ */
+ public function __construct(
+ public array $types,
+ ) {
+ }
+}