aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/BinaryFormat/Code.php
blob: cb0dbe614f5efc77d17f6e0dc91ba0ee1c5c94ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

declare(strict_types=1);

namespace Nsfisis\Waddiwasi\BinaryFormat;

use Nsfisis\Waddiwasi\Structure\Instructions\Expr;

final readonly class Code
{
    /**
     * @param list<Locals> $compressedLocals
     */
    public function __construct(
        public array $compressedLocals,
        public Expr $body,
    ) {
    }
}