aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Execution/StackEntries/Label.php
blob: b83fb0f217ad26574e3875d8b082d2a5bf417041 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

declare(strict_types=1);

namespace Nsfisis\Waddiwasi\Execution\StackEntries;

use Nsfisis\Waddiwasi\Execution\StackEntry;
use Nsfisis\Waddiwasi\Structure\Instructions\Instr;

final readonly class Label extends StackEntry
{
    /**
     * @param int<0, max> $arity
     * @param list<Instr> $target
     */
    public function __construct(
        public int $arity,
        public array $target,
    ) {
    }
}