diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-03-14 11:47:48 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-03-14 11:47:48 +0900 |
| commit | b9a65ea3ac1f7258b75341bdacbd8ebea0ab64dd (patch) | |
| tree | 28bda9a5fbc512c84c59aa13b29d0a05e58dea16 /src/Execution/ControlFlowResult.php | |
| parent | 59368433336e9e318e55f398384074409d52ee60 (diff) | |
| download | php-waddiwasi-b9a65ea3ac1f7258b75341bdacbd8ebea0ab64dd.tar.gz php-waddiwasi-b9a65ea3ac1f7258b75341bdacbd8ebea0ab64dd.tar.zst php-waddiwasi-b9a65ea3ac1f7258b75341bdacbd8ebea0ab64dd.zip | |
perf: make ControlFlowResult int
Diffstat (limited to 'src/Execution/ControlFlowResult.php')
| -rw-r--r-- | src/Execution/ControlFlowResult.php | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/Execution/ControlFlowResult.php b/src/Execution/ControlFlowResult.php deleted file mode 100644 index 0bb831a..0000000 --- a/src/Execution/ControlFlowResult.php +++ /dev/null @@ -1,18 +0,0 @@ -<?php - -declare(strict_types=1); - -namespace Nsfisis\Waddiwasi\Execution; - -abstract readonly class ControlFlowResult -{ - final public static function Br(int $label): ControlFlowResults\Br - { - return new ControlFlowResults\Br($label); - } - - final public static function Return(): ControlFlowResults\Return_ - { - return new ControlFlowResults\Return_(); - } -} |
