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/Expr.php | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/Structure/Instructions/Expr.php (limited to 'src/Structure/Instructions/Expr.php') diff --git a/src/Structure/Instructions/Expr.php b/src/Structure/Instructions/Expr.php new file mode 100644 index 0000000..ceefcc0 --- /dev/null +++ b/src/Structure/Instructions/Expr.php @@ -0,0 +1,23 @@ + + */ + public array $instrs; + + /** + * @param list $instrs + */ + public function __construct( + array $instrs, + ) { + $instrs[] = Instr::End(); + $this->instrs = $instrs; + } +} -- cgit v1.2.3-70-g09d2