aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/WebAssembly/Execution/Label.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/WebAssembly/Execution/Label.php')
-rw-r--r--src/WebAssembly/Execution/Label.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/WebAssembly/Execution/Label.php b/src/WebAssembly/Execution/Label.php
new file mode 100644
index 0000000..85e90a7
--- /dev/null
+++ b/src/WebAssembly/Execution/Label.php
@@ -0,0 +1,16 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Nsfisis\Waddiwasi\WebAssembly\Execution;
+
+final readonly class Label
+{
+ /**
+ * @param int<0, max> $arity
+ */
+ public function __construct(
+ public int $arity,
+ ) {
+ }
+}