diff options
Diffstat (limited to 'src/Structure/Instructions/Instrs/Control/Loop.php')
| -rw-r--r-- | src/Structure/Instructions/Instrs/Control/Loop.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/Structure/Instructions/Instrs/Control/Loop.php b/src/Structure/Instructions/Instrs/Control/Loop.php new file mode 100644 index 0000000..30c85ef --- /dev/null +++ b/src/Structure/Instructions/Instrs/Control/Loop.php @@ -0,0 +1,19 @@ +<?php + +declare(strict_types=1); + +namespace Nsfisis\Waddiwasi\Structure\Instructions\Instrs\Control; + +use Nsfisis\Waddiwasi\Structure\Instructions\Instr; + +final readonly class Loop extends Instr +{ + /** + * @param list<Instr> $body + */ + public function __construct( + public BlockType $type, + public array $body, + ) { + } +} |
