From e2495878b872b341e6e04eed31dd255b1a6e256f Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 3 Jan 2024 01:35:32 +0900 Subject: feat: implement binary decoder --- src/Structure/Instructions/Instrs/Control/If_.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/Structure/Instructions/Instrs/Control/If_.php (limited to 'src/Structure/Instructions/Instrs/Control/If_.php') diff --git a/src/Structure/Instructions/Instrs/Control/If_.php b/src/Structure/Instructions/Instrs/Control/If_.php new file mode 100644 index 0000000..0536be0 --- /dev/null +++ b/src/Structure/Instructions/Instrs/Control/If_.php @@ -0,0 +1,21 @@ + $thenBody + * @param list $elseBody + */ + public function __construct( + public BlockType $type, + public array $thenBody, + public array $elseBody, + ) { + } +} -- cgit v1.2.3-70-g09d2