From 900377463a8264871ee42e488112b076b7973b6a Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 27 Jan 2024 13:22:56 +0900 Subject: feat: partially implement execution --- src/Execution/Store.php | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/Execution/Store.php (limited to 'src/Execution/Store.php') diff --git a/src/Execution/Store.php b/src/Execution/Store.php new file mode 100644 index 0000000..b7b0dfc --- /dev/null +++ b/src/Execution/Store.php @@ -0,0 +1,31 @@ + $funcs + * @param list $tables + * @param list $mems + * @param list $globals + * @param list $elems + * @param list $datas + */ + public function __construct( + public array $funcs, + public array $tables, + public array $mems, + public array $globals, + public array $elems, + public array $datas, + ) { + } + + public static function empty(): self + { + return new self([], [], [], [], [], []); + } +} -- cgit v1.2.3-70-g09d2