aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Structure/Instructions/Instrs/Parametric/Select.php
blob: 10d6c8c279b0bf56f2da25b6daf2f3d5eb04e0f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php

declare(strict_types=1);

namespace Nsfisis\Waddiwasi\Structure\Instructions\Instrs\Parametric;

use Nsfisis\Waddiwasi\Structure\Instructions\Instr;
use Nsfisis\Waddiwasi\Structure\Types\ValType;

final readonly class Select extends Instr
{
    /**
     * @param list<ValType> $types
     */
    protected function __construct(
        public array $types,
    ) {
    }

    public static function opName(): string
    {
        return "select";
    }
}