aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Execution/Nums
diff options
context:
space:
mode:
Diffstat (limited to 'src/Execution/Nums')
-rw-r--r--src/Execution/Nums/F32_.php18
-rw-r--r--src/Execution/Nums/F64_.php18
-rw-r--r--src/Execution/Nums/I32.php18
-rw-r--r--src/Execution/Nums/I64.php18
4 files changed, 72 insertions, 0 deletions
diff --git a/src/Execution/Nums/F32_.php b/src/Execution/Nums/F32_.php
new file mode 100644
index 0000000..5c7b749
--- /dev/null
+++ b/src/Execution/Nums/F32_.php
@@ -0,0 +1,18 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Nsfisis\Waddiwasi\Execution\Nums;
+
+use Nsfisis\Waddiwasi\Execution\Num;
+
+final readonly class F32_ extends Num
+{
+ /**
+ * @param F32 $value
+ */
+ public function __construct(
+ public float $value,
+ ) {
+ }
+}
diff --git a/src/Execution/Nums/F64_.php b/src/Execution/Nums/F64_.php
new file mode 100644
index 0000000..c24709e
--- /dev/null
+++ b/src/Execution/Nums/F64_.php
@@ -0,0 +1,18 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Nsfisis\Waddiwasi\Execution\Nums;
+
+use Nsfisis\Waddiwasi\Execution\Num;
+
+final readonly class F64_ extends Num
+{
+ /**
+ * @param F64 $value
+ */
+ public function __construct(
+ public float $value,
+ ) {
+ }
+}
diff --git a/src/Execution/Nums/I32.php b/src/Execution/Nums/I32.php
new file mode 100644
index 0000000..fbc6fab
--- /dev/null
+++ b/src/Execution/Nums/I32.php
@@ -0,0 +1,18 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Nsfisis\Waddiwasi\Execution\Nums;
+
+use Nsfisis\Waddiwasi\Execution\Num;
+
+final readonly class I32 extends Num
+{
+ /**
+ * @param S32 $value
+ */
+ public function __construct(
+ public int $value,
+ ) {
+ }
+}
diff --git a/src/Execution/Nums/I64.php b/src/Execution/Nums/I64.php
new file mode 100644
index 0000000..889b863
--- /dev/null
+++ b/src/Execution/Nums/I64.php
@@ -0,0 +1,18 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Nsfisis\Waddiwasi\Execution\Nums;
+
+use Nsfisis\Waddiwasi\Execution\Num;
+
+final readonly class I64 extends Num
+{
+ /**
+ * @param S64 $value
+ */
+ public function __construct(
+ public int $value,
+ ) {
+ }
+}