diff options
Diffstat (limited to 'src/WebAssembly/Structure')
210 files changed, 411 insertions, 212 deletions
diff --git a/src/WebAssembly/Structure/Instructions/Instr.php b/src/WebAssembly/Structure/Instructions/Instr.php index 5f9cf29..3e53f2d 100644 --- a/src/WebAssembly/Structure/Instructions/Instr.php +++ b/src/WebAssembly/Structure/Instructions/Instr.php @@ -21,14 +21,17 @@ abstract readonly class Instr { return new Numeric\F32Abs(); } + final public static function F32Add(): Numeric\F32Add { return new Numeric\F32Add(); } + final public static function F32Ceil(): Numeric\F32Ceil { return new Numeric\F32Ceil(); } + /** * @param F32 $value */ @@ -36,114 +39,142 @@ abstract readonly class Instr { return new Numeric\F32Const($value); } + final public static function F32ConvertI32S(): Numeric\F32ConvertI32S { return new Numeric\F32ConvertI32S(); } + final public static function F32ConvertI32U(): Numeric\F32ConvertI32U { return new Numeric\F32ConvertI32U(); } + final public static function F32ConvertI64S(): Numeric\F32ConvertI64S { return new Numeric\F32ConvertI64S(); } + final public static function F32ConvertI64U(): Numeric\F32ConvertI64U { return new Numeric\F32ConvertI64U(); } + final public static function F32CopySign(): Numeric\F32CopySign { return new Numeric\F32CopySign(); } + final public static function F32DemoteF64(): Numeric\F32DemoteF64 { return new Numeric\F32DemoteF64(); } + final public static function F32Div(): Numeric\F32Div { return new Numeric\F32Div(); } + final public static function F32Eq(): Numeric\F32Eq { return new Numeric\F32Eq(); } + final public static function F32Floor(): Numeric\F32Floor { return new Numeric\F32Floor(); } + final public static function F32Ge(): Numeric\F32Ge { return new Numeric\F32Ge(); } + final public static function F32Gt(): Numeric\F32Gt { return new Numeric\F32Gt(); } + final public static function F32Le(): Numeric\F32Le { return new Numeric\F32Le(); } + final public static function F32Lt(): Numeric\F32Lt { return new Numeric\F32Lt(); } + final public static function F32Max(): Numeric\F32Max { return new Numeric\F32Max(); } + final public static function F32Min(): Numeric\F32Min { return new Numeric\F32Min(); } + final public static function F32Mul(): Numeric\F32Mul { return new Numeric\F32Mul(); } + final public static function F32Ne(): Numeric\F32Ne { return new Numeric\F32Ne(); } + final public static function F32Nearest(): Numeric\F32Nearest { return new Numeric\F32Nearest(); } + final public static function F32Neg(): Numeric\F32Neg { return new Numeric\F32Neg(); } + final public static function F32ReinterpretI32(): Numeric\F32ReinterpretI32 { return new Numeric\F32ReinterpretI32(); } + final public static function F32ReinterpretI64(): Numeric\F32ReinterpretI64 { return new Numeric\F32ReinterpretI64(); } + final public static function F32Sqrt(): Numeric\F32Sqrt { return new Numeric\F32Sqrt(); } + final public static function F32Sub(): Numeric\F32Sub { return new Numeric\F32Sub(); } + final public static function F32Trunc(): Numeric\F32Trunc { return new Numeric\F32Trunc(); } + final public static function F64Abs(): Numeric\F64Abs { return new Numeric\F64Abs(); } + final public static function F64Add(): Numeric\F64Add { return new Numeric\F64Add(); } + final public static function F64Ceil(): Numeric\F64Ceil { return new Numeric\F64Ceil(); } + /** * @param F64 $value */ @@ -151,114 +182,142 @@ abstract readonly class Instr { return new Numeric\F64Const($value); } + final public static function F64ConvertI32S(): Numeric\F64ConvertI32S { return new Numeric\F64ConvertI32S(); } + final public static function F64ConvertI32U(): Numeric\F64ConvertI32U { return new Numeric\F64ConvertI32U(); } + final public static function F64ConvertI64S(): Numeric\F64ConvertI64S { return new Numeric\F64ConvertI64S(); } + final public static function F64ConvertI64U(): Numeric\F64ConvertI64U { return new Numeric\F64ConvertI64U(); } + final public static function F64CopySign(): Numeric\F64CopySign { return new Numeric\F64CopySign(); } + final public static function F64Div(): Numeric\F64Div { return new Numeric\F64Div(); } + final public static function F64Eq(): Numeric\F64Eq { return new Numeric\F64Eq(); } + final public static function F64Floor(): Numeric\F64Floor { return new Numeric\F64Floor(); } + final public static function F64Ge(): Numeric\F64Ge { return new Numeric\F64Ge(); } + final public static function F64Gt(): Numeric\F64Gt { return new Numeric\F64Gt(); } + final public static function F64Le(): Numeric\F64Le { return new Numeric\F64Le(); } + final public static function F64Lt(): Numeric\F64Lt { return new Numeric\F64Lt(); } + final public static function F64Max(): Numeric\F64Max { return new Numeric\F64Max(); } + final public static function F64Min(): Numeric\F64Min { return new Numeric\F64Min(); } + final public static function F64Mul(): Numeric\F64Mul { return new Numeric\F64Mul(); } + final public static function F64Ne(): Numeric\F64Ne { return new Numeric\F64Ne(); } + final public static function F64Nearest(): Numeric\F64Nearest { return new Numeric\F64Nearest(); } + final public static function F64Neg(): Numeric\F64Neg { return new Numeric\F64Neg(); } + final public static function F64PromoteF32(): Numeric\F64PromoteF32 { return new Numeric\F64PromoteF32(); } + final public static function F64ReinterpretI32(): Numeric\F64ReinterpretI32 { return new Numeric\F64ReinterpretI32(); } + final public static function F64ReinterpretI64(): Numeric\F64ReinterpretI64 { return new Numeric\F64ReinterpretI64(); } + final public static function F64Sqrt(): Numeric\F64Sqrt { return new Numeric\F64Sqrt(); } + final public static function F64Sub(): Numeric\F64Sub { return new Numeric\F64Sub(); } + final public static function F64Trunc(): Numeric\F64Trunc { return new Numeric\F64Trunc(); } + final public static function I32Add(): Numeric\I32Add { return new Numeric\I32Add(); } + final public static function I32And(): Numeric\I32And { return new Numeric\I32And(); } + final public static function I32Clz(): Numeric\I32Clz { return new Numeric\I32Clz(); } + /** * @param S64 $value */ @@ -266,174 +325,217 @@ abstract readonly class Instr { return new Numeric\I32Const($value); } + final public static function I32Ctz(): Numeric\I32Ctz { return new Numeric\I32Ctz(); } + final public static function I32DivS(): Numeric\I32DivS { return new Numeric\I32DivS(); } + final public static function I32DivU(): Numeric\I32DivU { return new Numeric\I32DivU(); } + final public static function I32Eq(): Numeric\I32Eq { return new Numeric\I32Eq(); } + final public static function I32Eqz(): Numeric\I32Eqz { return new Numeric\I32Eqz(); } + final public static function I32Extend16S(): Numeric\I32Extend16S { return new Numeric\I32Extend16S(); } + final public static function I32Extend8S(): Numeric\I32Extend8S { return new Numeric\I32Extend8S(); } + final public static function I32GeS(): Numeric\I32GeS { return new Numeric\I32GeS(); } + final public static function I32GeU(): Numeric\I32GeU { return new Numeric\I32GeU(); } + final public static function I32GtS(): Numeric\I32GtS { return new Numeric\I32GtS(); } + final public static function I32GtU(): Numeric\I32GtU { return new Numeric\I32GtU(); } + final public static function I32LeS(): Numeric\I32LeS { return new Numeric\I32LeS(); } + final public static function I32LeU(): Numeric\I32LeU { return new Numeric\I32LeU(); } + final public static function I32LtS(): Numeric\I32LtS { return new Numeric\I32LtS(); } + final public static function I32LtU(): Numeric\I32LtU { return new Numeric\I32LtU(); } + final public static function I32Mul(): Numeric\I32Mul { return new Numeric\I32Mul(); } + final public static function I32Ne(): Numeric\I32Ne { return new Numeric\I32Ne(); } + final public static function I32Or(): Numeric\I32Or { return new Numeric\I32Or(); } + final public static function I32Popcnt(): Numeric\I32Popcnt { return new Numeric\I32Popcnt(); } + final public static function I32ReinterpretF32(): Numeric\I32ReinterpretF32 { return new Numeric\I32ReinterpretF32(); } + final public static function I32ReinterpretF64(): Numeric\I32ReinterpretF64 { return new Numeric\I32ReinterpretF64(); } + final public static function I32RemS(): Numeric\I32RemS { return new Numeric\I32RemS(); } + final public static function I32RemU(): Numeric\I32RemU { return new Numeric\I32RemU(); } + final public static function I32RotL(): Numeric\I32RotL { return new Numeric\I32RotL(); } + final public static function I32RotR(): Numeric\I32RotR { return new Numeric\I32RotR(); } + final public static function I32Shl(): Numeric\I32Shl { return new Numeric\I32Shl(); } + final public static function I32ShrS(): Numeric\I32ShrS { return new Numeric\I32ShrS(); } + final public static function I32ShrU(): Numeric\I32ShrU { return new Numeric\I32ShrU(); } + final public static function I32Sub(): Numeric\I32Sub { return new Numeric\I32Sub(); } + final public static function I32TruncF32S(): Numeric\I32TruncF32S { return new Numeric\I32TruncF32S(); } + final public static function I32TruncF32U(): Numeric\I32TruncF32U { return new Numeric\I32TruncF32U(); } + final public static function I32TruncF64S(): Numeric\I32TruncF64S { return new Numeric\I32TruncF64S(); } + final public static function I32TruncF64U(): Numeric\I32TruncF64U { return new Numeric\I32TruncF64U(); } + final public static function I32TruncSatF32S(): Numeric\I32TruncSatF32S { return new Numeric\I32TruncSatF32S(); } + final public static function I32TruncSatF32U(): Numeric\I32TruncSatF32U { return new Numeric\I32TruncSatF32U(); } + final public static function I32TruncSatF64S(): Numeric\I32TruncSatF64S { return new Numeric\I32TruncSatF64S(); } + final public static function I32TruncSatF64U(): Numeric\I32TruncSatF64U { return new Numeric\I32TruncSatF64U(); } + final public static function I32WrapI64(): Numeric\I32WrapI64 { return new Numeric\I32WrapI64(); } + final public static function I32Xor(): Numeric\I32Xor { return new Numeric\I32Xor(); } + final public static function I64Add(): Numeric\I64Add { return new Numeric\I64Add(); } + final public static function I64And(): Numeric\I64And { return new Numeric\I64And(); } + final public static function I64Clz(): Numeric\I64Clz { return new Numeric\I64Clz(); } + /** * @param S64 $value */ @@ -441,166 +543,207 @@ abstract readonly class Instr { return new Numeric\I64Const($value); } + final public static function I64Ctz(): Numeric\I64Ctz { return new Numeric\I64Ctz(); } + final public static function I64DivS(): Numeric\I64DivS { return new Numeric\I64DivS(); } + final public static function I64DivU(): Numeric\I64DivU { return new Numeric\I64DivU(); } + final public static function I64Eq(): Numeric\I64Eq { return new Numeric\I64Eq(); } + final public static function I64Eqz(): Numeric\I64Eqz { return new Numeric\I64Eqz(); } + final public static function I64Extend16S(): Numeric\I64Extend16S { return new Numeric\I64Extend16S(); } + final public static function I64Extend32S(): Numeric\I64Extend32S { return new Numeric\I64Extend32S(); } + final public static function I64Extend8S(): Numeric\I64Extend8S { return new Numeric\I64Extend8S(); } + final public static function I64ExtendI32S(): Numeric\I64ExtendI32S { return new Numeric\I64ExtendI32S(); } + final public static function I64ExtendI32U(): Numeric\I64ExtendI32U { return new Numeric\I64ExtendI32U(); } + final public static function I64GeS(): Numeric\I64GeS { return new Numeric\I64GeS(); } + final public static function I64GeU(): Numeric\I64GeU { return new Numeric\I64GeU(); } + final public static function I64GtS(): Numeric\I64GtS { return new Numeric\I64GtS(); } + final public static function I64GtU(): Numeric\I64GtU { return new Numeric\I64GtU(); } + final public static function I64LeS(): Numeric\I64LeS { return new Numeric\I64LeS(); } + final public static function I64LeU(): Numeric\I64LeU { return new Numeric\I64LeU(); } + final public static function I64LtS(): Numeric\I64LtS { return new Numeric\I64LtS(); } + final public static function I64LtU(): Numeric\I64LtU { return new Numeric\I64LtU(); } + final public static function I64Mul(): Numeric\I64Mul { return new Numeric\I64Mul(); } + final public static function I64Ne(): Numeric\I64Ne { return new Numeric\I64Ne(); } + final public static function I64Or(): Numeric\I64Or { return new Numeric\I64Or(); } + final public static function I64Popcnt(): Numeric\I64Popcnt { return new Numeric\I64Popcnt(); } + final public static function I64ReinterpretF32(): Numeric\I64ReinterpretF32 { return new Numeric\I64ReinterpretF32(); } + final public static function I64ReinterpretF64(): Numeric\I64ReinterpretF64 { return new Numeric\I64ReinterpretF64(); } + final public static function I64RemS(): Numeric\I64RemS { return new Numeric\I64RemS(); } + final public static function I64RemU(): Numeric\I64RemU { return new Numeric\I64RemU(); } + final public static function I64RotL(): Numeric\I64RotL { return new Numeric\I64RotL(); } + final public static function I64RotR(): Numeric\I64RotR { return new Numeric\I64RotR(); } + final public static function I64Shl(): Numeric\I64Shl { return new Numeric\I64Shl(); } + final public static function I64ShrS(): Numeric\I64ShrS { return new Numeric\I64ShrS(); } + final public static function I64ShrU(): Numeric\I64ShrU { return new Numeric\I64ShrU(); } + final public static function I64Sub(): Numeric\I64Sub { return new Numeric\I64Sub(); } + final public static function I64TruncF32S(): Numeric\I64TruncF32S { return new Numeric\I64TruncF32S(); } + final public static function I64TruncF32U(): Numeric\I64TruncF32U { return new Numeric\I64TruncF32U(); } + final public static function I64TruncF64S(): Numeric\I64TruncF64S { return new Numeric\I64TruncF64S(); } + final public static function I64TruncF64U(): Numeric\I64TruncF64U { return new Numeric\I64TruncF64U(); } + final public static function I64TruncSatF32S(): Numeric\I64TruncSatF32S { return new Numeric\I64TruncSatF32S(); } + final public static function I64TruncSatF32U(): Numeric\I64TruncSatF32U { return new Numeric\I64TruncSatF32U(); } + final public static function I64TruncSatF64S(): Numeric\I64TruncSatF64S { return new Numeric\I64TruncSatF64S(); } + final public static function I64TruncSatF64U(): Numeric\I64TruncSatF64U { return new Numeric\I64TruncSatF64U(); } + final public static function I64Xor(): Numeric\I64Xor { return new Numeric\I64Xor(); @@ -611,10 +754,12 @@ abstract readonly class Instr { return new Reference\RefFunc($func); } + final public static function RefIsNull(): Reference\RefIsNull { return new Reference\RefIsNull(); } + /** * @param ValType::FuncRef|ValType::ExternRef $type */ @@ -628,6 +773,7 @@ abstract readonly class Instr { return new Parametric\Drop(); } + /** * @param list<ValType> $types */ @@ -641,18 +787,22 @@ abstract readonly class Instr { return new Variable\GlobalGet($var); } + final public static function GlobalSet(int $var): Variable\GlobalSet { return new Variable\GlobalSet($var); } + final public static function LocalGet(int $var): Variable\LocalGet { return new Variable\LocalGet($var); } + final public static function LocalSet(int $var): Variable\LocalSet { return new Variable\LocalSet($var); } + final public static function LocalTee(int $var): Variable\LocalTee { return new Variable\LocalTee($var); @@ -663,30 +813,37 @@ abstract readonly class Instr { return new Table\ElemDrop($elem); } + final public static function TableCopy(int $to, int $from): Table\TableCopy { return new Table\TableCopy($to, $from); } + final public static function TableFill(int $table): Table\TableFill { return new Table\TableFill($table); } + final public static function TableGet(int $table): Table\TableGet { return new Table\TableGet($table); } + final public static function TableGrow(int $table): Table\TableGrow { return new Table\TableGrow($table); } + final public static function TableInit(int $to, int $from): Table\TableInit { return new Table\TableInit($to, $from); } + final public static function TableSet(int $table): Table\TableSet { return new Table\TableSet($table); } + final public static function TableSize(int $table): Table\TableSize { return new Table\TableSize($table); @@ -697,6 +854,7 @@ abstract readonly class Instr { return new Memory\DataDrop($data); } + /** * @param U32 $offset * @param U32 $align @@ -705,6 +863,7 @@ abstract readonly class Instr { return new Memory\F32Load($offset, $align); } + /** * @param U32 $offset * @param U32 $align @@ -713,6 +872,7 @@ abstract readonly class Instr { return new Memory\F32Store($offset, $align); } + /** * @param U32 $offset * @param U32 $align @@ -721,6 +881,7 @@ abstract readonly class Instr { return new Memory\F64Load($offset, $align); } + /** * @param U32 $offset * @param U32 $align @@ -729,6 +890,7 @@ abstract readonly class Instr { return new Memory\F64Store($offset, $align); } + /** * @param U32 $offset * @param U32 $align @@ -737,6 +899,7 @@ abstract readonly class Instr { return new Memory\I32Load($offset, $align); } + /** * @param U32 $offset * @param U32 $align @@ -745,6 +908,7 @@ abstract readonly class Instr { return new Memory\I32Load16S($offset, $align); } + /** * @param U32 $offset * @param U32 $align @@ -753,6 +917,7 @@ abstract readonly class Instr { return new Memory\I32Load16U($offset, $align); } + /** * @param U32 $offset * @param U32 $align @@ -761,6 +926,7 @@ abstract readonly class Instr { return new Memory\I32Load8S($offset, $align); } + /** * @param U32 $offset * @param U32 $align @@ -769,6 +935,7 @@ abstract readonly class Instr { return new Memory\I32Load8U($offset, $align); } + /** * @param U32 $offset * @param U32 $align @@ -777,6 +944,7 @@ abstract readonly class Instr { return new Memory\I32Store($offset, $align); } + /** * @param U32 $offset * @param U32 $align @@ -785,6 +953,7 @@ abstract readonly class Instr { return new Memory\I32Store16($offset, $align); } + /** * @param U32 $offset * @param U32 $align @@ -793,6 +962,7 @@ abstract readonly class Instr { return new Memory\I32Store8($offset, $align); } + /** * @param U32 $offset * @param U32 $align @@ -801,6 +971,7 @@ abstract readonly class Instr { return new Memory\I64Load($offset, $align); } + /** * @param U32 $offset * @param U32 $align @@ -809,6 +980,7 @@ abstract readonly class Instr { return new Memory\I64Load16S($offset, $align); } + /** * @param U32 $offset * @param U32 $align @@ -817,6 +989,7 @@ abstract readonly class Instr { return new Memory\I64Load16U($offset, $align); } + /** * @param U32 $offset * @param U32 $align @@ -825,6 +998,7 @@ abstract readonly class Instr { return new Memory\I64Load32S($offset, $align); } + /** * @param U32 $offset * @param U32 $align @@ -833,6 +1007,7 @@ abstract readonly class Instr { return new Memory\I64Load32U($offset, $align); } + /** * @param U32 $offset * @param U32 $align @@ -841,6 +1016,7 @@ abstract readonly class Instr { return new Memory\I64Load8S($offset, $align); } + /** * @param U32 $offset * @param U32 $align @@ -849,6 +1025,7 @@ abstract readonly class Instr { return new Memory\I64Load8U($offset, $align); } + /** * @param U32 $offset * @param U32 $align @@ -857,6 +1034,7 @@ abstract readonly class Instr { return new Memory\I64Store($offset, $align); } + /** * @param U32 $offset * @param U32 $align @@ -865,6 +1043,7 @@ abstract readonly class Instr { return new Memory\I64Store16($offset, $align); } + /** * @param U32 $offset * @param U32 $align @@ -873,6 +1052,7 @@ abstract readonly class Instr { return new Memory\I64Store32($offset, $align); } + /** * @param U32 $offset * @param U32 $align @@ -881,22 +1061,27 @@ abstract readonly class Instr { return new Memory\I64Store8($offset, $align); } + final public static function MemoryCopy(): Memory\MemoryCopy { return new Memory\MemoryCopy(); } + final public static function MemoryFill(): Memory\MemoryFill { return new Memory\MemoryFill(); } + final public static function MemoryGrow(): Memory\MemoryGrow { return new Memory\MemoryGrow(); } + final public static function MemoryInit(int $data): Memory\MemoryInit { return new Memory\MemoryInit($data); } + final public static function MemorySize(): Memory\MemorySize { return new Memory\MemorySize(); @@ -910,14 +1095,17 @@ abstract readonly class Instr { return new Control\Block($type, $body); } + final public static function Br(int $label): Control\Br { return new Control\Br($label); } + final public static function BrIf(int $label): Control\BrIf { return new Control\BrIf($label); } + /** * @param list<int> $labelTable */ @@ -925,22 +1113,27 @@ abstract readonly class Instr { return new Control\BrTable($labelTable, $defaultLabel); } + final public static function Call(int $func): Control\Call { return new Control\Call($func); } + final public static function CallIndirect(int $funcTable, int $type): Control\CallIndirect { return new Control\CallIndirect($funcTable, $type); } + final public static function Else_(): Control\Else_ { return new Control\Else_(); } + final public static function End(): Control\End { return new Control\End(); } + /** * @param list<Instr> $thenBody * @param list<Instr> $elseBody @@ -949,6 +1142,7 @@ abstract readonly class Instr { return new Control\If_($type, $thenBody, $elseBody); } + /** * @param list<Instr> $body */ @@ -956,14 +1150,17 @@ abstract readonly class Instr { return new Control\Loop($type, $body); } + final public static function Nop(): Control\Nop { return new Control\Nop(); } + final public static function Return_(): Control\Return_ { return new Control\Return_(); } + final public static function Unreachable(): Control\Unreachable { return new Control\Unreachable(); diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Control/Block.php b/src/WebAssembly/Structure/Instructions/Instrs/Control/Block.php index af2c97f..dad17d1 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Control/Block.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Control/Block.php @@ -19,6 +19,6 @@ final readonly class Block extends Instr public static function opName(): string { - return "block"; + return 'block'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Control/BlockType.php b/src/WebAssembly/Structure/Instructions/Instrs/Control/BlockType.php index 1188625..d52a74d 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Control/BlockType.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Control/BlockType.php @@ -20,6 +20,6 @@ abstract readonly class BlockType public static function opName(): string { - return "hoge"; + return 'hoge'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Control/BlockTypes/TypeIdx.php b/src/WebAssembly/Structure/Instructions/Instrs/Control/BlockTypes/TypeIdx.php index 2ed694b..4ce2781 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Control/BlockTypes/TypeIdx.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Control/BlockTypes/TypeIdx.php @@ -8,7 +8,8 @@ use Nsfisis\Waddiwasi\WebAssembly\Structure\Instructions\Instrs\Control\BlockTyp final readonly class TypeIdx extends BlockType { - protected function __construct(public int $inner) - { + protected function __construct( + public int $inner + ) { } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Control/BlockTypes/ValType.php b/src/WebAssembly/Structure/Instructions/Instrs/Control/BlockTypes/ValType.php index e7caa3f..2142ca3 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Control/BlockTypes/ValType.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Control/BlockTypes/ValType.php @@ -9,12 +9,13 @@ use Nsfisis\Waddiwasi\WebAssembly\Structure\Types\ValType as OrigValType; final readonly class ValType extends BlockType { - protected function __construct(public ?OrigValType $inner) - { + protected function __construct( + public ?OrigValType $inner + ) { } public static function opName(): string { - return "hoge"; + return 'hoge'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Control/Br.php b/src/WebAssembly/Structure/Instructions/Instrs/Control/Br.php index 6235a36..e0a34ca 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Control/Br.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Control/Br.php @@ -15,6 +15,6 @@ final readonly class Br extends Instr public static function opName(): string { - return "br"; + return 'br'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Control/BrIf.php b/src/WebAssembly/Structure/Instructions/Instrs/Control/BrIf.php index 7c8a896..2078f60 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Control/BrIf.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Control/BrIf.php @@ -15,6 +15,6 @@ final readonly class BrIf extends Instr public static function opName(): string { - return "br_if"; + return 'br_if'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Control/BrTable.php b/src/WebAssembly/Structure/Instructions/Instrs/Control/BrTable.php index 2841814..d4c6ab5 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Control/BrTable.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Control/BrTable.php @@ -19,6 +19,6 @@ final readonly class BrTable extends Instr public static function opName(): string { - return "br_table"; + return 'br_table'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Control/Call.php b/src/WebAssembly/Structure/Instructions/Instrs/Control/Call.php index 461f561..1cbfa11 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Control/Call.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Control/Call.php @@ -15,6 +15,6 @@ final readonly class Call extends Instr public static function opName(): string { - return "call"; + return 'call'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Control/CallIndirect.php b/src/WebAssembly/Structure/Instructions/Instrs/Control/CallIndirect.php index 7017723..c187e9c 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Control/CallIndirect.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Control/CallIndirect.php @@ -16,6 +16,6 @@ final readonly class CallIndirect extends Instr public static function opName(): string { - return "call_indirect"; + return 'call_indirect'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Control/Else_.php b/src/WebAssembly/Structure/Instructions/Instrs/Control/Else_.php index 1407543..eeded56 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Control/Else_.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Control/Else_.php @@ -10,6 +10,6 @@ final readonly class Else_ extends Instr { public static function opName(): string { - return "else"; + return 'else'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Control/End.php b/src/WebAssembly/Structure/Instructions/Instrs/Control/End.php index 5bdb8b9..f474677 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Control/End.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Control/End.php @@ -10,6 +10,6 @@ final readonly class End extends Instr { public static function opName(): string { - return "end"; + return 'end'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Control/If_.php b/src/WebAssembly/Structure/Instructions/Instrs/Control/If_.php index 8afdc8b..0cfb4aa 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Control/If_.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Control/If_.php @@ -21,6 +21,6 @@ final readonly class If_ extends Instr public static function opName(): string { - return "if"; + return 'if'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Control/Loop.php b/src/WebAssembly/Structure/Instructions/Instrs/Control/Loop.php index ca48ca1..43b8f3a 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Control/Loop.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Control/Loop.php @@ -19,6 +19,6 @@ final readonly class Loop extends Instr public static function opName(): string { - return "loop"; + return 'loop'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Control/Nop.php b/src/WebAssembly/Structure/Instructions/Instrs/Control/Nop.php index 50a3773..f3668f9 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Control/Nop.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Control/Nop.php @@ -10,6 +10,6 @@ final readonly class Nop extends Instr { public static function opName(): string { - return "nop"; + return 'nop'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Control/Return_.php b/src/WebAssembly/Structure/Instructions/Instrs/Control/Return_.php index b80fdfe..ef16421 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Control/Return_.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Control/Return_.php @@ -10,6 +10,6 @@ final readonly class Return_ extends Instr { public static function opName(): string { - return "return"; + return 'return'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Control/Unreachable.php b/src/WebAssembly/Structure/Instructions/Instrs/Control/Unreachable.php index e43ade8..cf3e31b 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Control/Unreachable.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Control/Unreachable.php @@ -10,6 +10,6 @@ final readonly class Unreachable extends Instr { public static function opName(): string { - return "unreachable"; + return 'unreachable'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Memory/DataDrop.php b/src/WebAssembly/Structure/Instructions/Instrs/Memory/DataDrop.php index 3525b80..92ac3d1 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Memory/DataDrop.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Memory/DataDrop.php @@ -15,6 +15,6 @@ final readonly class DataDrop extends Instr public static function opName(): string { - return "data.drop"; + return 'data.drop'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Memory/F32Load.php b/src/WebAssembly/Structure/Instructions/Instrs/Memory/F32Load.php index 82b7cf4..bb4d8e5 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Memory/F32Load.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Memory/F32Load.php @@ -20,6 +20,6 @@ final readonly class F32Load extends Instr public static function opName(): string { - return "f32.load"; + return 'f32.load'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Memory/F32Store.php b/src/WebAssembly/Structure/Instructions/Instrs/Memory/F32Store.php index 06d9055..f6f779a 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Memory/F32Store.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Memory/F32Store.php @@ -20,6 +20,6 @@ final readonly class F32Store extends Instr public static function opName(): string { - return "f32.store"; + return 'f32.store'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Memory/F64Load.php b/src/WebAssembly/Structure/Instructions/Instrs/Memory/F64Load.php index 13e2385..0f5281b 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Memory/F64Load.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Memory/F64Load.php @@ -20,6 +20,6 @@ final readonly class F64Load extends Instr public static function opName(): string { - return "f64.load"; + return 'f64.load'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Memory/F64Store.php b/src/WebAssembly/Structure/Instructions/Instrs/Memory/F64Store.php index 261b276..f37f21b 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Memory/F64Store.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Memory/F64Store.php @@ -20,6 +20,6 @@ final readonly class F64Store extends Instr public static function opName(): string { - return "f64.store"; + return 'f64.store'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I32Load.php b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I32Load.php index 4554a77..911313f 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I32Load.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I32Load.php @@ -20,6 +20,6 @@ final readonly class I32Load extends Instr public static function opName(): string { - return "i32.load"; + return 'i32.load'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I32Load16S.php b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I32Load16S.php index 56bdb3f..4ccc40a 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I32Load16S.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I32Load16S.php @@ -20,6 +20,6 @@ final readonly class I32Load16S extends Instr public static function opName(): string { - return "i32.load16_s"; + return 'i32.load16_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I32Load16U.php b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I32Load16U.php index 1cc243c..6217829 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I32Load16U.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I32Load16U.php @@ -20,6 +20,6 @@ final readonly class I32Load16U extends Instr public static function opName(): string { - return "i32.load16_u"; + return 'i32.load16_u'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I32Load8S.php b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I32Load8S.php index a76607f..46582bc 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I32Load8S.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I32Load8S.php @@ -20,6 +20,6 @@ final readonly class I32Load8S extends Instr public static function opName(): string { - return "i32.load8_s"; + return 'i32.load8_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I32Load8U.php b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I32Load8U.php index 7cab471..96db932 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I32Load8U.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I32Load8U.php @@ -20,6 +20,6 @@ final readonly class I32Load8U extends Instr public static function opName(): string { - return "i32.load8_u"; + return 'i32.load8_u'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I32Store.php b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I32Store.php index 3021639..168dad0 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I32Store.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I32Store.php @@ -20,6 +20,6 @@ final readonly class I32Store extends Instr public static function opName(): string { - return "i32.store"; + return 'i32.store'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I32Store16.php b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I32Store16.php index 3463fdf..55a387b 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I32Store16.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I32Store16.php @@ -20,6 +20,6 @@ final readonly class I32Store16 extends Instr public static function opName(): string { - return "i32.store16"; + return 'i32.store16'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I32Store8.php b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I32Store8.php index 5298ad5..d5a90bb 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I32Store8.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I32Store8.php @@ -20,6 +20,6 @@ final readonly class I32Store8 extends Instr public static function opName(): string { - return "i32.store8"; + return 'i32.store8'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Load.php b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Load.php index 33fa4e1..74ae53c 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Load.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Load.php @@ -20,6 +20,6 @@ final readonly class I64Load extends Instr public static function opName(): string { - return "i64.load"; + return 'i64.load'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Load16S.php b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Load16S.php index 47ef776..936d5b7 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Load16S.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Load16S.php @@ -20,6 +20,6 @@ final readonly class I64Load16S extends Instr public static function opName(): string { - return "i64.load16_s"; + return 'i64.load16_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Load16U.php b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Load16U.php index 8825b89..a0cae75 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Load16U.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Load16U.php @@ -20,6 +20,6 @@ final readonly class I64Load16U extends Instr public static function opName(): string { - return "i64.load16_u"; + return 'i64.load16_u'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Load32S.php b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Load32S.php index bd2575b..df3db30 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Load32S.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Load32S.php @@ -20,6 +20,6 @@ final readonly class I64Load32S extends Instr public static function opName(): string { - return "i64.load32_s"; + return 'i64.load32_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Load32U.php b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Load32U.php index 404bc8a..50f290e 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Load32U.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Load32U.php @@ -20,6 +20,6 @@ final readonly class I64Load32U extends Instr public static function opName(): string { - return "i64.load32_u"; + return 'i64.load32_u'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Load8S.php b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Load8S.php index f28bad9..b2fb279 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Load8S.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Load8S.php @@ -20,6 +20,6 @@ final readonly class I64Load8S extends Instr public static function opName(): string { - return "i64.load8_s"; + return 'i64.load8_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Load8U.php b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Load8U.php index 66b5575..1d9cc72 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Load8U.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Load8U.php @@ -20,6 +20,6 @@ final readonly class I64Load8U extends Instr public static function opName(): string { - return "i64.load8_u"; + return 'i64.load8_u'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Store.php b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Store.php index 0b4778b..682f698 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Store.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Store.php @@ -20,6 +20,6 @@ final readonly class I64Store extends Instr public static function opName(): string { - return "i64.store"; + return 'i64.store'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Store16.php b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Store16.php index 984ecd2..5b2e1fe 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Store16.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Store16.php @@ -20,6 +20,6 @@ final readonly class I64Store16 extends Instr public static function opName(): string { - return "i64.store16"; + return 'i64.store16'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Store32.php b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Store32.php index e486308..22bef5e 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Store32.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Store32.php @@ -20,6 +20,6 @@ final readonly class I64Store32 extends Instr public static function opName(): string { - return "i64.store32"; + return 'i64.store32'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Store8.php b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Store8.php index 7897197..1703419 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Store8.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Memory/I64Store8.php @@ -20,6 +20,6 @@ final readonly class I64Store8 extends Instr public static function opName(): string { - return "i64.store8"; + return 'i64.store8'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Memory/MemoryCopy.php b/src/WebAssembly/Structure/Instructions/Instrs/Memory/MemoryCopy.php index 5ef7106..626780f 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Memory/MemoryCopy.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Memory/MemoryCopy.php @@ -10,6 +10,6 @@ final readonly class MemoryCopy extends Instr { public static function opName(): string { - return "memory.copy"; + return 'memory.copy'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Memory/MemoryFill.php b/src/WebAssembly/Structure/Instructions/Instrs/Memory/MemoryFill.php index be388ff..2df1777 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Memory/MemoryFill.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Memory/MemoryFill.php @@ -10,6 +10,6 @@ final readonly class MemoryFill extends Instr { public static function opName(): string { - return "memory.fill"; + return 'memory.fill'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Memory/MemoryGrow.php b/src/WebAssembly/Structure/Instructions/Instrs/Memory/MemoryGrow.php index 9e6c320..6169f91 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Memory/MemoryGrow.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Memory/MemoryGrow.php @@ -10,6 +10,6 @@ final readonly class MemoryGrow extends Instr { public static function opName(): string { - return "memory.grow"; + return 'memory.grow'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Memory/MemoryInit.php b/src/WebAssembly/Structure/Instructions/Instrs/Memory/MemoryInit.php index 7843ff1..cf44ff2 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Memory/MemoryInit.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Memory/MemoryInit.php @@ -15,6 +15,6 @@ final readonly class MemoryInit extends Instr public static function opName(): string { - return "memory.init"; + return 'memory.init'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Memory/MemorySize.php b/src/WebAssembly/Structure/Instructions/Instrs/Memory/MemorySize.php index 075878a..d832766 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Memory/MemorySize.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Memory/MemorySize.php @@ -10,6 +10,6 @@ final readonly class MemorySize extends Instr { public static function opName(): string { - return "memory.size"; + return 'memory.size'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Abs.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Abs.php index 7711f7f..b9d840b 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Abs.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Abs.php @@ -10,6 +10,6 @@ final readonly class F32Abs extends Instr { public static function opName(): string { - return "f32.abs"; + return 'f32.abs'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Add.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Add.php index 5f92829..7533d03 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Add.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Add.php @@ -10,6 +10,6 @@ final readonly class F32Add extends Instr { public static function opName(): string { - return "f32.add"; + return 'f32.add'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Ceil.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Ceil.php index be6f11e..a55b6f8 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Ceil.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Ceil.php @@ -10,6 +10,6 @@ final readonly class F32Ceil extends Instr { public static function opName(): string { - return "f32.ceil"; + return 'f32.ceil'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Const.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Const.php index fd2670e..8ad8bdc 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Const.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Const.php @@ -18,6 +18,6 @@ final readonly class F32Const extends Instr public static function opName(): string { - return "f32.const"; + return 'f32.const'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32ConvertI32S.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32ConvertI32S.php index 5e68989..89f99eb 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32ConvertI32S.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32ConvertI32S.php @@ -10,6 +10,6 @@ final readonly class F32ConvertI32S extends Instr { public static function opName(): string { - return "f32.convert_i32_s"; + return 'f32.convert_i32_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32ConvertI32U.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32ConvertI32U.php index fdaa709..76ccdc1 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32ConvertI32U.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32ConvertI32U.php @@ -10,6 +10,6 @@ final readonly class F32ConvertI32U extends Instr { public static function opName(): string { - return "f32.convert_i32_u"; + return 'f32.convert_i32_u'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32ConvertI64S.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32ConvertI64S.php index b6444cc..86ed3dd 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32ConvertI64S.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32ConvertI64S.php @@ -10,6 +10,6 @@ final readonly class F32ConvertI64S extends Instr { public static function opName(): string { - return "f32.convert_i64_s"; + return 'f32.convert_i64_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32ConvertI64U.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32ConvertI64U.php index 4b0f578..1cd0ffd 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32ConvertI64U.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32ConvertI64U.php @@ -10,6 +10,6 @@ final readonly class F32ConvertI64U extends Instr { public static function opName(): string { - return "f32.convert_i64_u"; + return 'f32.convert_i64_u'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32CopySign.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32CopySign.php index 539682a..321ef58 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32CopySign.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32CopySign.php @@ -10,6 +10,6 @@ final readonly class F32CopySign extends Instr { public static function opName(): string { - return "f32.copy_sign"; + return 'f32.copy_sign'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32DemoteF64.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32DemoteF64.php index 24cff4f..b246d47 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32DemoteF64.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32DemoteF64.php @@ -10,6 +10,6 @@ final readonly class F32DemoteF64 extends Instr { public static function opName(): string { - return "f32.demote_f64"; + return 'f32.demote_f64'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Div.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Div.php index 3cdafb0..9cc0c7f 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Div.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Div.php @@ -10,6 +10,6 @@ final readonly class F32Div extends Instr { public static function opName(): string { - return "f32.div"; + return 'f32.div'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Eq.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Eq.php index cae6c2e..9065109 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Eq.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Eq.php @@ -10,6 +10,6 @@ final readonly class F32Eq extends Instr { public static function opName(): string { - return "f32.eq"; + return 'f32.eq'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Floor.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Floor.php index 9c1b23f..4e1a1b8 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Floor.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Floor.php @@ -10,6 +10,6 @@ final readonly class F32Floor extends Instr { public static function opName(): string { - return "f32.floor"; + return 'f32.floor'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Ge.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Ge.php index ef75922..9efe5d1 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Ge.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Ge.php @@ -10,6 +10,6 @@ final readonly class F32Ge extends Instr { public static function opName(): string { - return "f32.ge"; + return 'f32.ge'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Gt.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Gt.php index 0efda96..e1a2364 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Gt.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Gt.php @@ -10,6 +10,6 @@ final readonly class F32Gt extends Instr { public static function opName(): string { - return "f32.gt"; + return 'f32.gt'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Le.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Le.php index 50cbb71..1bdee4b 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Le.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Le.php @@ -10,6 +10,6 @@ final readonly class F32Le extends Instr { public static function opName(): string { - return "f32.le"; + return 'f32.le'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Lt.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Lt.php index e4b490a..90c5052 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Lt.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Lt.php @@ -10,6 +10,6 @@ final readonly class F32Lt extends Instr { public static function opName(): string { - return "f32.lt"; + return 'f32.lt'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Max.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Max.php index 81f9b3e..b3256c4 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Max.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Max.php @@ -10,6 +10,6 @@ final readonly class F32Max extends Instr { public static function opName(): string { - return "f32.max"; + return 'f32.max'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Min.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Min.php index 20518ea..d88cbbf 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Min.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Min.php @@ -10,6 +10,6 @@ final readonly class F32Min extends Instr { public static function opName(): string { - return "f32.min"; + return 'f32.min'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Mul.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Mul.php index 8282273..af0ad4e 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Mul.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Mul.php @@ -10,6 +10,6 @@ final readonly class F32Mul extends Instr { public static function opName(): string { - return "f32.mul"; + return 'f32.mul'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Ne.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Ne.php index 8b5db5e..73e2df5 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Ne.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Ne.php @@ -10,6 +10,6 @@ final readonly class F32Ne extends Instr { public static function opName(): string { - return "f32.ne"; + return 'f32.ne'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Nearest.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Nearest.php index ae51359..eb95566 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Nearest.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Nearest.php @@ -10,6 +10,6 @@ final readonly class F32Nearest extends Instr { public static function opName(): string { - return "f32.nearest"; + return 'f32.nearest'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Neg.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Neg.php index 82b72c3..f8ee84a 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Neg.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Neg.php @@ -10,6 +10,6 @@ final readonly class F32Neg extends Instr { public static function opName(): string { - return "f32.neg"; + return 'f32.neg'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32ReinterpretI32.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32ReinterpretI32.php index 3cd93c4..93df2a5 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32ReinterpretI32.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32ReinterpretI32.php @@ -10,6 +10,6 @@ final readonly class F32ReinterpretI32 extends Instr { public static function opName(): string { - return "f32.reinterpret_i32"; + return 'f32.reinterpret_i32'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32ReinterpretI64.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32ReinterpretI64.php index dd0f66f..cd6ffed 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32ReinterpretI64.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32ReinterpretI64.php @@ -10,6 +10,6 @@ final readonly class F32ReinterpretI64 extends Instr { public static function opName(): string { - return "f32.reinterpret_i64"; + return 'f32.reinterpret_i64'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Sqrt.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Sqrt.php index 9cdeba2..f543992 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Sqrt.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Sqrt.php @@ -10,6 +10,6 @@ final readonly class F32Sqrt extends Instr { public static function opName(): string { - return "f32.sqrt"; + return 'f32.sqrt'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Sub.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Sub.php index 54b5991..3ffc448 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Sub.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Sub.php @@ -10,6 +10,6 @@ final readonly class F32Sub extends Instr { public static function opName(): string { - return "f32.sub"; + return 'f32.sub'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Trunc.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Trunc.php index 627406e..cedf772 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Trunc.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F32Trunc.php @@ -10,6 +10,6 @@ final readonly class F32Trunc extends Instr { public static function opName(): string { - return "f32.trunc"; + return 'f32.trunc'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Abs.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Abs.php index a985933..0310718 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Abs.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Abs.php @@ -10,6 +10,6 @@ final readonly class F64Abs extends Instr { public static function opName(): string { - return "f64.abs"; + return 'f64.abs'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Add.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Add.php index 60a6a05..44f6ef6 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Add.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Add.php @@ -10,6 +10,6 @@ final readonly class F64Add extends Instr { public static function opName(): string { - return "f64.add"; + return 'f64.add'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Ceil.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Ceil.php index 3c88a4b..9e9682e 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Ceil.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Ceil.php @@ -10,6 +10,6 @@ final readonly class F64Ceil extends Instr { public static function opName(): string { - return "f64.ceil"; + return 'f64.ceil'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Const.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Const.php index 46c61fe..f6a07d1 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Const.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Const.php @@ -18,6 +18,6 @@ final readonly class F64Const extends Instr public static function opName(): string { - return "f64.const"; + return 'f64.const'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64ConvertI32S.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64ConvertI32S.php index 5deaec0..5083bae 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64ConvertI32S.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64ConvertI32S.php @@ -10,6 +10,6 @@ final readonly class F64ConvertI32S extends Instr { public static function opName(): string { - return "f64.convert_i32_s"; + return 'f64.convert_i32_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64ConvertI32U.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64ConvertI32U.php index 657e8e2..81a9fa2 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64ConvertI32U.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64ConvertI32U.php @@ -10,6 +10,6 @@ final readonly class F64ConvertI32U extends Instr { public static function opName(): string { - return "f64.convert_i32_u"; + return 'f64.convert_i32_u'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64ConvertI64S.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64ConvertI64S.php index af7d5af..e96c1c8 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64ConvertI64S.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64ConvertI64S.php @@ -10,6 +10,6 @@ final readonly class F64ConvertI64S extends Instr { public static function opName(): string { - return "f64.convert_i64_s"; + return 'f64.convert_i64_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64ConvertI64U.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64ConvertI64U.php index 575c8e5..695e9f9 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64ConvertI64U.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64ConvertI64U.php @@ -10,6 +10,6 @@ final readonly class F64ConvertI64U extends Instr { public static function opName(): string { - return "f64.convert_i64_u"; + return 'f64.convert_i64_u'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64CopySign.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64CopySign.php index bab91f2..30adb81 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64CopySign.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64CopySign.php @@ -10,6 +10,6 @@ final readonly class F64CopySign extends Instr { public static function opName(): string { - return "f64.copy_sign"; + return 'f64.copy_sign'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Div.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Div.php index 7304a8d..4dd0f91 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Div.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Div.php @@ -10,6 +10,6 @@ final readonly class F64Div extends Instr { public static function opName(): string { - return "f64.div"; + return 'f64.div'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Eq.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Eq.php index 1c9e31c..ad71877 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Eq.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Eq.php @@ -10,6 +10,6 @@ final readonly class F64Eq extends Instr { public static function opName(): string { - return "f64.eq"; + return 'f64.eq'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Floor.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Floor.php index 8c76753..e08fe42 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Floor.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Floor.php @@ -10,6 +10,6 @@ final readonly class F64Floor extends Instr { public static function opName(): string { - return "f64.floor"; + return 'f64.floor'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Ge.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Ge.php index 28f6da1..c5666f1 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Ge.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Ge.php @@ -10,6 +10,6 @@ final readonly class F64Ge extends Instr { public static function opName(): string { - return "f64.ge"; + return 'f64.ge'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Gt.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Gt.php index 9b6e91e..869d84c 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Gt.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Gt.php @@ -10,6 +10,6 @@ final readonly class F64Gt extends Instr { public static function opName(): string { - return "f64.gt"; + return 'f64.gt'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Le.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Le.php index 1852d66..92c20fc 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Le.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Le.php @@ -10,6 +10,6 @@ final readonly class F64Le extends Instr { public static function opName(): string { - return "f64.le"; + return 'f64.le'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Lt.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Lt.php index fb96301..c6342f8 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Lt.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Lt.php @@ -10,6 +10,6 @@ final readonly class F64Lt extends Instr { public static function opName(): string { - return "f64.lt"; + return 'f64.lt'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Max.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Max.php index da79a2e..bcae32f 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Max.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Max.php @@ -10,6 +10,6 @@ final readonly class F64Max extends Instr { public static function opName(): string { - return "f64.max"; + return 'f64.max'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Min.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Min.php index 79bb77b..1162096 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Min.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Min.php @@ -10,6 +10,6 @@ final readonly class F64Min extends Instr { public static function opName(): string { - return "f64.min"; + return 'f64.min'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Mul.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Mul.php index f0932ea..bd67a55 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Mul.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Mul.php @@ -10,6 +10,6 @@ final readonly class F64Mul extends Instr { public static function opName(): string { - return "f64.mul"; + return 'f64.mul'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Ne.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Ne.php index 226b1e4..01230ba 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Ne.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Ne.php @@ -10,6 +10,6 @@ final readonly class F64Ne extends Instr { public static function opName(): string { - return "f64.ne"; + return 'f64.ne'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Nearest.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Nearest.php index 0863099..15800b6 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Nearest.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Nearest.php @@ -10,6 +10,6 @@ final readonly class F64Nearest extends Instr { public static function opName(): string { - return "f64.nearest"; + return 'f64.nearest'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Neg.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Neg.php index c4e0ce7..b23c121 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Neg.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Neg.php @@ -10,6 +10,6 @@ final readonly class F64Neg extends Instr { public static function opName(): string { - return "f64.neg"; + return 'f64.neg'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64PromoteF32.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64PromoteF32.php index 8692806..e32a2ba 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64PromoteF32.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64PromoteF32.php @@ -10,6 +10,6 @@ final readonly class F64PromoteF32 extends Instr { public static function opName(): string { - return "f64.promote_f32"; + return 'f64.promote_f32'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64ReinterpretI32.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64ReinterpretI32.php index 4721e07..f8cc8f8 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64ReinterpretI32.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64ReinterpretI32.php @@ -10,6 +10,6 @@ final readonly class F64ReinterpretI32 extends Instr { public static function opName(): string { - return "f64.reinterpret_i32"; + return 'f64.reinterpret_i32'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64ReinterpretI64.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64ReinterpretI64.php index 22faa67..8ea03cb 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64ReinterpretI64.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64ReinterpretI64.php @@ -10,6 +10,6 @@ final readonly class F64ReinterpretI64 extends Instr { public static function opName(): string { - return "f64.reinterpret_i64"; + return 'f64.reinterpret_i64'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Sqrt.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Sqrt.php index 77d708a..21ae279 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Sqrt.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Sqrt.php @@ -10,6 +10,6 @@ final readonly class F64Sqrt extends Instr { public static function opName(): string { - return "f64.sqrt"; + return 'f64.sqrt'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Sub.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Sub.php index b20c0c9..154e939 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Sub.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Sub.php @@ -10,6 +10,6 @@ final readonly class F64Sub extends Instr { public static function opName(): string { - return "f64.sub"; + return 'f64.sub'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Trunc.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Trunc.php index 62d6c12..5fe7e77 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Trunc.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/F64Trunc.php @@ -10,6 +10,6 @@ final readonly class F64Trunc extends Instr { public static function opName(): string { - return "f64.trunc"; + return 'f64.trunc'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Add.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Add.php index 429dfdf..93d583d 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Add.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Add.php @@ -10,6 +10,6 @@ final readonly class I32Add extends Instr { public static function opName(): string { - return "i32.add"; + return 'i32.add'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32And.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32And.php index 135f038..08f55e8 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32And.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32And.php @@ -10,6 +10,6 @@ final readonly class I32And extends Instr { public static function opName(): string { - return "i32.and"; + return 'i32.and'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Clz.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Clz.php index 7bdfa52..15d276a 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Clz.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Clz.php @@ -10,6 +10,6 @@ final readonly class I32Clz extends Instr { public static function opName(): string { - return "i32.clz"; + return 'i32.clz'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Const.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Const.php index 4900a1c..158a505 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Const.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Const.php @@ -18,6 +18,6 @@ final readonly class I32Const extends Instr public static function opName(): string { - return "i32.const"; + return 'i32.const'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Ctz.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Ctz.php index 4577729..479c200 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Ctz.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Ctz.php @@ -10,6 +10,6 @@ final readonly class I32Ctz extends Instr { public static function opName(): string { - return "i32.ctz"; + return 'i32.ctz'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32DivS.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32DivS.php index bbc0f08..7bb3e0b 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32DivS.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32DivS.php @@ -10,6 +10,6 @@ final readonly class I32DivS extends Instr { public static function opName(): string { - return "i32.div_s"; + return 'i32.div_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32DivU.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32DivU.php index 3db3fa0..4338283 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32DivU.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32DivU.php @@ -10,6 +10,6 @@ final readonly class I32DivU extends Instr { public static function opName(): string { - return "i32.div_u"; + return 'i32.div_u'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Eq.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Eq.php index eb24aad..dab80c0 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Eq.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Eq.php @@ -10,6 +10,6 @@ final readonly class I32Eq extends Instr { public static function opName(): string { - return "i32.eq"; + return 'i32.eq'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Eqz.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Eqz.php index b99341a..df0dda8 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Eqz.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Eqz.php @@ -10,6 +10,6 @@ final readonly class I32Eqz extends Instr { public static function opName(): string { - return "i32.eqz"; + return 'i32.eqz'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Extend16S.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Extend16S.php index 50e3951..3779301 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Extend16S.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Extend16S.php @@ -10,6 +10,6 @@ final readonly class I32Extend16S extends Instr { public static function opName(): string { - return "i32.extend16_s"; + return 'i32.extend16_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Extend8S.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Extend8S.php index 9f5aa4b..8481cff 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Extend8S.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Extend8S.php @@ -10,6 +10,6 @@ final readonly class I32Extend8S extends Instr { public static function opName(): string { - return "i32.extend8_s"; + return 'i32.extend8_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32GeS.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32GeS.php index 7f2746f..3b477ae 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32GeS.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32GeS.php @@ -10,6 +10,6 @@ final readonly class I32GeS extends Instr { public static function opName(): string { - return "i32.ge_s"; + return 'i32.ge_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32GeU.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32GeU.php index 3018605..822755b 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32GeU.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32GeU.php @@ -10,6 +10,6 @@ final readonly class I32GeU extends Instr { public static function opName(): string { - return "i32.ge_u"; + return 'i32.ge_u'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32GtS.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32GtS.php index 093f47d..4e73cbd 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32GtS.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32GtS.php @@ -10,6 +10,6 @@ final readonly class I32GtS extends Instr { public static function opName(): string { - return "i32.gt_s"; + return 'i32.gt_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32GtU.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32GtU.php index e7c07e3..2be263f 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32GtU.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32GtU.php @@ -10,6 +10,6 @@ final readonly class I32GtU extends Instr { public static function opName(): string { - return "i32.gt_u"; + return 'i32.gt_u'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32LeS.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32LeS.php index 078535a..90b9225 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32LeS.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32LeS.php @@ -10,6 +10,6 @@ final readonly class I32LeS extends Instr { public static function opName(): string { - return "i32.le_s"; + return 'i32.le_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32LeU.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32LeU.php index 0fe2ae2..6454c59 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32LeU.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32LeU.php @@ -10,6 +10,6 @@ final readonly class I32LeU extends Instr { public static function opName(): string { - return "i32.le_u"; + return 'i32.le_u'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32LtS.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32LtS.php index 6070881..b66e6db 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32LtS.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32LtS.php @@ -10,6 +10,6 @@ final readonly class I32LtS extends Instr { public static function opName(): string { - return "i32.lt_s"; + return 'i32.lt_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32LtU.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32LtU.php index ccb520e..fc56e52 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32LtU.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32LtU.php @@ -10,6 +10,6 @@ final readonly class I32LtU extends Instr { public static function opName(): string { - return "i32.lt_u"; + return 'i32.lt_u'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Mul.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Mul.php index 7ddf1e6..830488c 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Mul.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Mul.php @@ -10,6 +10,6 @@ final readonly class I32Mul extends Instr { public static function opName(): string { - return "i32.mul"; + return 'i32.mul'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Ne.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Ne.php index 7624909..4571260 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Ne.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Ne.php @@ -10,6 +10,6 @@ final readonly class I32Ne extends Instr { public static function opName(): string { - return "i32.ne"; + return 'i32.ne'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Or.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Or.php index 4d985a7..1608154 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Or.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Or.php @@ -10,6 +10,6 @@ final readonly class I32Or extends Instr { public static function opName(): string { - return "i32.or"; + return 'i32.or'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Popcnt.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Popcnt.php index ea2e5af..eba519b 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Popcnt.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Popcnt.php @@ -10,6 +10,6 @@ final readonly class I32Popcnt extends Instr { public static function opName(): string { - return "i32.popcnt"; + return 'i32.popcnt'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32ReinterpretF32.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32ReinterpretF32.php index 3ca1a3c..34592bd 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32ReinterpretF32.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32ReinterpretF32.php @@ -10,6 +10,6 @@ final readonly class I32ReinterpretF32 extends Instr { public static function opName(): string { - return "i32.reinterpret_f32"; + return 'i32.reinterpret_f32'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32ReinterpretF64.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32ReinterpretF64.php index 2990a21..eeef365 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32ReinterpretF64.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32ReinterpretF64.php @@ -10,6 +10,6 @@ final readonly class I32ReinterpretF64 extends Instr { public static function opName(): string { - return "i32.reinterpret_f64"; + return 'i32.reinterpret_f64'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32RemS.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32RemS.php index 0814085..941909e 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32RemS.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32RemS.php @@ -10,6 +10,6 @@ final readonly class I32RemS extends Instr { public static function opName(): string { - return "i32.rem_s"; + return 'i32.rem_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32RemU.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32RemU.php index b945e4e..ad4eb89 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32RemU.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32RemU.php @@ -10,6 +10,6 @@ final readonly class I32RemU extends Instr { public static function opName(): string { - return "i32.rem_u"; + return 'i32.rem_u'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32RotL.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32RotL.php index 509a39e..ec14e8f 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32RotL.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32RotL.php @@ -10,6 +10,6 @@ final readonly class I32RotL extends Instr { public static function opName(): string { - return "i32.rot_l"; + return 'i32.rot_l'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32RotR.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32RotR.php index 7104869..aeaf2b5 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32RotR.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32RotR.php @@ -10,6 +10,6 @@ final readonly class I32RotR extends Instr { public static function opName(): string { - return "i32.rot_r"; + return 'i32.rot_r'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Shl.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Shl.php index 199cace..7a49bc7 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Shl.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Shl.php @@ -10,6 +10,6 @@ final readonly class I32Shl extends Instr { public static function opName(): string { - return "i32.shl"; + return 'i32.shl'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32ShrS.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32ShrS.php index 5645907..df402da 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32ShrS.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32ShrS.php @@ -10,6 +10,6 @@ final readonly class I32ShrS extends Instr { public static function opName(): string { - return "i32.shr_s"; + return 'i32.shr_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32ShrU.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32ShrU.php index c5435cd..31b5030 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32ShrU.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32ShrU.php @@ -10,6 +10,6 @@ final readonly class I32ShrU extends Instr { public static function opName(): string { - return "i32.shr_u"; + return 'i32.shr_u'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Sub.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Sub.php index 5ca4dec..0f36534 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Sub.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Sub.php @@ -10,6 +10,6 @@ final readonly class I32Sub extends Instr { public static function opName(): string { - return "i32.sub"; + return 'i32.sub'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32TruncF32S.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32TruncF32S.php index 31ab093..5082e56 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32TruncF32S.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32TruncF32S.php @@ -10,6 +10,6 @@ final readonly class I32TruncF32S extends Instr { public static function opName(): string { - return "i32.trunc_f32_s"; + return 'i32.trunc_f32_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32TruncF32U.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32TruncF32U.php index afeda9c..f409676 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32TruncF32U.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32TruncF32U.php @@ -10,6 +10,6 @@ final readonly class I32TruncF32U extends Instr { public static function opName(): string { - return "i32.trunc_f32_u"; + return 'i32.trunc_f32_u'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32TruncF64S.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32TruncF64S.php index 8b27805..f1917c0 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32TruncF64S.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32TruncF64S.php @@ -10,6 +10,6 @@ final readonly class I32TruncF64S extends Instr { public static function opName(): string { - return "i32.trunc_f64_s"; + return 'i32.trunc_f64_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32TruncF64U.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32TruncF64U.php index 5b7550c..53fc762 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32TruncF64U.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32TruncF64U.php @@ -10,6 +10,6 @@ final readonly class I32TruncF64U extends Instr { public static function opName(): string { - return "i32.trunc_f64_u"; + return 'i32.trunc_f64_u'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32TruncSatF32S.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32TruncSatF32S.php index c2fbdf1..419d5b9 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32TruncSatF32S.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32TruncSatF32S.php @@ -10,6 +10,6 @@ final readonly class I32TruncSatF32S extends Instr { public static function opName(): string { - return "i32.trunc_sat_f32_s"; + return 'i32.trunc_sat_f32_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32TruncSatF32U.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32TruncSatF32U.php index 0ae1090..d585a2d 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32TruncSatF32U.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32TruncSatF32U.php @@ -10,6 +10,6 @@ final readonly class I32TruncSatF32U extends Instr { public static function opName(): string { - return "i32.trunc_sat_f32_u"; + return 'i32.trunc_sat_f32_u'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32TruncSatF64S.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32TruncSatF64S.php index 38731db..36a4786 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32TruncSatF64S.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32TruncSatF64S.php @@ -10,6 +10,6 @@ final readonly class I32TruncSatF64S extends Instr { public static function opName(): string { - return "i32.trunc_sat_f64_s"; + return 'i32.trunc_sat_f64_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32TruncSatF64U.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32TruncSatF64U.php index 22f5335..bc98b0c 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32TruncSatF64U.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32TruncSatF64U.php @@ -10,6 +10,6 @@ final readonly class I32TruncSatF64U extends Instr { public static function opName(): string { - return "i32.trunc_sat_f64_u"; + return 'i32.trunc_sat_f64_u'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32WrapI64.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32WrapI64.php index 9c7ed4b..20d933d 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32WrapI64.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32WrapI64.php @@ -10,6 +10,6 @@ final readonly class I32WrapI64 extends Instr { public static function opName(): string { - return "i32.wrap_i64"; + return 'i32.wrap_i64'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Xor.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Xor.php index 804b881..a5d875f 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Xor.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I32Xor.php @@ -10,6 +10,6 @@ final readonly class I32Xor extends Instr { public static function opName(): string { - return "i32.xor"; + return 'i32.xor'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Add.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Add.php index 9d81af7..e389057 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Add.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Add.php @@ -10,6 +10,6 @@ final readonly class I64Add extends Instr { public static function opName(): string { - return "i64.add"; + return 'i64.add'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64And.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64And.php index 4c1f4b3..a53a405 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64And.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64And.php @@ -10,6 +10,6 @@ final readonly class I64And extends Instr { public static function opName(): string { - return "i64.and"; + return 'i64.and'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Clz.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Clz.php index eb03da7..76fca42 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Clz.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Clz.php @@ -10,6 +10,6 @@ final readonly class I64Clz extends Instr { public static function opName(): string { - return "i64.clz"; + return 'i64.clz'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Const.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Const.php index 01e9e72..48bdd56 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Const.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Const.php @@ -18,6 +18,6 @@ final readonly class I64Const extends Instr public static function opName(): string { - return "i64.const"; + return 'i64.const'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Ctz.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Ctz.php index 3c6fdaa..a512959 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Ctz.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Ctz.php @@ -10,6 +10,6 @@ final readonly class I64Ctz extends Instr { public static function opName(): string { - return "i64.ctz"; + return 'i64.ctz'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64DivS.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64DivS.php index 8a8759b..85d7605 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64DivS.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64DivS.php @@ -10,6 +10,6 @@ final readonly class I64DivS extends Instr { public static function opName(): string { - return "i64.div_s"; + return 'i64.div_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64DivU.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64DivU.php index 67f50f7..9b9ad5c 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64DivU.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64DivU.php @@ -10,6 +10,6 @@ final readonly class I64DivU extends Instr { public static function opName(): string { - return "i64.div_u"; + return 'i64.div_u'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Eq.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Eq.php index 5480197..efdc589 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Eq.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Eq.php @@ -10,6 +10,6 @@ final readonly class I64Eq extends Instr { public static function opName(): string { - return "i64.eq"; + return 'i64.eq'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Eqz.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Eqz.php index 8bd7f04..bfbb949 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Eqz.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Eqz.php @@ -10,6 +10,6 @@ final readonly class I64Eqz extends Instr { public static function opName(): string { - return "i64.eqz"; + return 'i64.eqz'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Extend16S.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Extend16S.php index 8733d84..da358dd 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Extend16S.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Extend16S.php @@ -10,6 +10,6 @@ final readonly class I64Extend16S extends Instr { public static function opName(): string { - return "i64.extend16_s"; + return 'i64.extend16_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Extend32S.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Extend32S.php index 3594cf4..a57234a 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Extend32S.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Extend32S.php @@ -10,6 +10,6 @@ final readonly class I64Extend32S extends Instr { public static function opName(): string { - return "i64.extend32_s"; + return 'i64.extend32_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Extend8S.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Extend8S.php index 8579635..6e29c3f 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Extend8S.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Extend8S.php @@ -10,6 +10,6 @@ final readonly class I64Extend8S extends Instr { public static function opName(): string { - return "i64.extend8_s"; + return 'i64.extend8_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64ExtendI32S.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64ExtendI32S.php index 9db4c55..a7099d3 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64ExtendI32S.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64ExtendI32S.php @@ -10,6 +10,6 @@ final readonly class I64ExtendI32S extends Instr { public static function opName(): string { - return "i64.extend_i32_s"; + return 'i64.extend_i32_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64ExtendI32U.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64ExtendI32U.php index 9219f97..999b201 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64ExtendI32U.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64ExtendI32U.php @@ -10,6 +10,6 @@ final readonly class I64ExtendI32U extends Instr { public static function opName(): string { - return "i64.extend_i32_u"; + return 'i64.extend_i32_u'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64GeS.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64GeS.php index bddbffb..a087aff 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64GeS.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64GeS.php @@ -10,6 +10,6 @@ final readonly class I64GeS extends Instr { public static function opName(): string { - return "i64.ge_s"; + return 'i64.ge_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64GeU.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64GeU.php index 9b5df84..3d08544 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64GeU.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64GeU.php @@ -10,6 +10,6 @@ final readonly class I64GeU extends Instr { public static function opName(): string { - return "i64.ge_u"; + return 'i64.ge_u'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64GtS.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64GtS.php index 4ac4063..3fae36b 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64GtS.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64GtS.php @@ -10,6 +10,6 @@ final readonly class I64GtS extends Instr { public static function opName(): string { - return "i64.gt_s"; + return 'i64.gt_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64GtU.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64GtU.php index 4cd0f84..1f111c7 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64GtU.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64GtU.php @@ -10,6 +10,6 @@ final readonly class I64GtU extends Instr { public static function opName(): string { - return "i64.gt_u"; + return 'i64.gt_u'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64LeS.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64LeS.php index 259cc99..cbd2508 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64LeS.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64LeS.php @@ -10,6 +10,6 @@ final readonly class I64LeS extends Instr { public static function opName(): string { - return "i64.le_s"; + return 'i64.le_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64LeU.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64LeU.php index 69c880b..23a1c62 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64LeU.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64LeU.php @@ -10,6 +10,6 @@ final readonly class I64LeU extends Instr { public static function opName(): string { - return "i64.le_u"; + return 'i64.le_u'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64LtS.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64LtS.php index 9c8d434..92df54c 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64LtS.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64LtS.php @@ -10,6 +10,6 @@ final readonly class I64LtS extends Instr { public static function opName(): string { - return "i64.lt_s"; + return 'i64.lt_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64LtU.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64LtU.php index 8142792..c61a913 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64LtU.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64LtU.php @@ -10,6 +10,6 @@ final readonly class I64LtU extends Instr { public static function opName(): string { - return "i64.lt_u"; + return 'i64.lt_u'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Mul.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Mul.php index 1a69448..f805bc5 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Mul.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Mul.php @@ -10,6 +10,6 @@ final readonly class I64Mul extends Instr { public static function opName(): string { - return "i64.mul"; + return 'i64.mul'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Ne.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Ne.php index 4cf363e..3a02db1 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Ne.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Ne.php @@ -10,6 +10,6 @@ final readonly class I64Ne extends Instr { public static function opName(): string { - return "i64.ne"; + return 'i64.ne'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Or.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Or.php index c09caab..a45ea43 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Or.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Or.php @@ -10,6 +10,6 @@ final readonly class I64Or extends Instr { public static function opName(): string { - return "i64.or"; + return 'i64.or'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Popcnt.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Popcnt.php index 3db978b..6d3946b 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Popcnt.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Popcnt.php @@ -10,6 +10,6 @@ final readonly class I64Popcnt extends Instr { public static function opName(): string { - return "i64.popcnt"; + return 'i64.popcnt'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64ReinterpretF32.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64ReinterpretF32.php index 6446e50..4a53a6a 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64ReinterpretF32.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64ReinterpretF32.php @@ -10,6 +10,6 @@ final readonly class I64ReinterpretF32 extends Instr { public static function opName(): string { - return "i64.reinterpret_f32"; + return 'i64.reinterpret_f32'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64ReinterpretF64.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64ReinterpretF64.php index b570008..9806e65 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64ReinterpretF64.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64ReinterpretF64.php @@ -10,6 +10,6 @@ final readonly class I64ReinterpretF64 extends Instr { public static function opName(): string { - return "i64.reinterpret_f64"; + return 'i64.reinterpret_f64'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64RemS.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64RemS.php index 7833dcd..9deb79f 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64RemS.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64RemS.php @@ -10,6 +10,6 @@ final readonly class I64RemS extends Instr { public static function opName(): string { - return "i64.rem_s"; + return 'i64.rem_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64RemU.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64RemU.php index 97117dc..bc2e3a5 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64RemU.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64RemU.php @@ -10,6 +10,6 @@ final readonly class I64RemU extends Instr { public static function opName(): string { - return "i64.rem_u"; + return 'i64.rem_u'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64RotL.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64RotL.php index b39a2ac..2860592 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64RotL.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64RotL.php @@ -10,6 +10,6 @@ final readonly class I64RotL extends Instr { public static function opName(): string { - return "i64.rot_l"; + return 'i64.rot_l'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64RotR.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64RotR.php index aa62ee8..0e43898 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64RotR.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64RotR.php @@ -10,6 +10,6 @@ final readonly class I64RotR extends Instr { public static function opName(): string { - return "i64.rot_r"; + return 'i64.rot_r'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Shl.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Shl.php index f43018a..4d33bf3 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Shl.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Shl.php @@ -10,6 +10,6 @@ final readonly class I64Shl extends Instr { public static function opName(): string { - return "i64.shl"; + return 'i64.shl'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64ShrS.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64ShrS.php index f8da95e..0cbb961 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64ShrS.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64ShrS.php @@ -10,6 +10,6 @@ final readonly class I64ShrS extends Instr { public static function opName(): string { - return "i64.shr_s"; + return 'i64.shr_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64ShrU.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64ShrU.php index 7ea2b3a..7e5871d 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64ShrU.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64ShrU.php @@ -10,6 +10,6 @@ final readonly class I64ShrU extends Instr { public static function opName(): string { - return "i64.shr_u"; + return 'i64.shr_u'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Sub.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Sub.php index 7cb6f26..548db98 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Sub.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Sub.php @@ -10,6 +10,6 @@ final readonly class I64Sub extends Instr { public static function opName(): string { - return "i64.sub"; + return 'i64.sub'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64TruncF32S.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64TruncF32S.php index 9f6ed66..1f0b71e 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64TruncF32S.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64TruncF32S.php @@ -10,6 +10,6 @@ final readonly class I64TruncF32S extends Instr { public static function opName(): string { - return "i64.trunc_f32_s"; + return 'i64.trunc_f32_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64TruncF32U.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64TruncF32U.php index 9724897..f13ba9d 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64TruncF32U.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64TruncF32U.php @@ -10,6 +10,6 @@ final readonly class I64TruncF32U extends Instr { public static function opName(): string { - return "i64.trunc_f32_u"; + return 'i64.trunc_f32_u'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64TruncF64S.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64TruncF64S.php index 70c235c..0b7b16b 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64TruncF64S.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64TruncF64S.php @@ -10,6 +10,6 @@ final readonly class I64TruncF64S extends Instr { public static function opName(): string { - return "i64.trunc_f64_s"; + return 'i64.trunc_f64_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64TruncF64U.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64TruncF64U.php index f787fe3..6f4ee3e 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64TruncF64U.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64TruncF64U.php @@ -10,6 +10,6 @@ final readonly class I64TruncF64U extends Instr { public static function opName(): string { - return "i64.trunc_f64_u"; + return 'i64.trunc_f64_u'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64TruncSatF32S.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64TruncSatF32S.php index 98082e5..570e624 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64TruncSatF32S.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64TruncSatF32S.php @@ -10,6 +10,6 @@ final readonly class I64TruncSatF32S extends Instr { public static function opName(): string { - return "i64.trunc_sat_f32_s"; + return 'i64.trunc_sat_f32_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64TruncSatF32U.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64TruncSatF32U.php index 6b0b833..5eec055 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64TruncSatF32U.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64TruncSatF32U.php @@ -10,6 +10,6 @@ final readonly class I64TruncSatF32U extends Instr { public static function opName(): string { - return "i64.trunc_sat_f32_u"; + return 'i64.trunc_sat_f32_u'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64TruncSatF64S.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64TruncSatF64S.php index 2291eab..5834e1b 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64TruncSatF64S.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64TruncSatF64S.php @@ -10,6 +10,6 @@ final readonly class I64TruncSatF64S extends Instr { public static function opName(): string { - return "i64.trunc_sat_f64_s"; + return 'i64.trunc_sat_f64_s'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64TruncSatF64U.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64TruncSatF64U.php index 90c1f49..48ab345 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64TruncSatF64U.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64TruncSatF64U.php @@ -10,6 +10,6 @@ final readonly class I64TruncSatF64U extends Instr { public static function opName(): string { - return "i64.trunc_sat_f64_u"; + return 'i64.trunc_sat_f64_u'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Xor.php b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Xor.php index 994e47f..6e1ff45 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Xor.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Numeric/I64Xor.php @@ -10,6 +10,6 @@ final readonly class I64Xor extends Instr { public static function opName(): string { - return "i64.xor"; + return 'i64.xor'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Parametric/Drop.php b/src/WebAssembly/Structure/Instructions/Instrs/Parametric/Drop.php index 5a5ed18..1c87a8d 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Parametric/Drop.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Parametric/Drop.php @@ -10,6 +10,6 @@ final readonly class Drop extends Instr { public static function opName(): string { - return "drop"; + return 'drop'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Parametric/Select.php b/src/WebAssembly/Structure/Instructions/Instrs/Parametric/Select.php index 2562764..1d8a6e0 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Parametric/Select.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Parametric/Select.php @@ -19,6 +19,6 @@ final readonly class Select extends Instr public static function opName(): string { - return "select"; + return 'select'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Reference/RefFunc.php b/src/WebAssembly/Structure/Instructions/Instrs/Reference/RefFunc.php index 3539ede..c3ba74f 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Reference/RefFunc.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Reference/RefFunc.php @@ -15,6 +15,6 @@ final readonly class RefFunc extends Instr public static function opName(): string { - return "ref.func"; + return 'ref.func'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Reference/RefIsNull.php b/src/WebAssembly/Structure/Instructions/Instrs/Reference/RefIsNull.php index 21c9a26..94f8b6a 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Reference/RefIsNull.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Reference/RefIsNull.php @@ -10,6 +10,6 @@ final readonly class RefIsNull extends Instr { public static function opName(): string { - return "ref.is_null"; + return 'ref.is_null'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Reference/RefNull.php b/src/WebAssembly/Structure/Instructions/Instrs/Reference/RefNull.php index ed5afff..0f0524d 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Reference/RefNull.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Reference/RefNull.php @@ -19,6 +19,6 @@ final readonly class RefNull extends Instr public static function opName(): string { - return "ref.null"; + return 'ref.null'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Table/ElemDrop.php b/src/WebAssembly/Structure/Instructions/Instrs/Table/ElemDrop.php index 4ead3cb..84d6c79 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Table/ElemDrop.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Table/ElemDrop.php @@ -15,6 +15,6 @@ final readonly class ElemDrop extends Instr public static function opName(): string { - return "elem.drop"; + return 'elem.drop'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Table/TableCopy.php b/src/WebAssembly/Structure/Instructions/Instrs/Table/TableCopy.php index ca4e01a..fa6a405 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Table/TableCopy.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Table/TableCopy.php @@ -16,6 +16,6 @@ final readonly class TableCopy extends Instr public static function opName(): string { - return "table.copy"; + return 'table.copy'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Table/TableFill.php b/src/WebAssembly/Structure/Instructions/Instrs/Table/TableFill.php index 8a8fba4..e255fbf 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Table/TableFill.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Table/TableFill.php @@ -15,6 +15,6 @@ final readonly class TableFill extends Instr public static function opName(): string { - return "table.fill"; + return 'table.fill'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Table/TableGet.php b/src/WebAssembly/Structure/Instructions/Instrs/Table/TableGet.php index 0a562cb..a3a50cf 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Table/TableGet.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Table/TableGet.php @@ -15,6 +15,6 @@ final readonly class TableGet extends Instr public static function opName(): string { - return "table.get"; + return 'table.get'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Table/TableGrow.php b/src/WebAssembly/Structure/Instructions/Instrs/Table/TableGrow.php index fae1bd0..9e73e67 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Table/TableGrow.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Table/TableGrow.php @@ -15,6 +15,6 @@ final readonly class TableGrow extends Instr public static function opName(): string { - return "table.grow"; + return 'table.grow'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Table/TableInit.php b/src/WebAssembly/Structure/Instructions/Instrs/Table/TableInit.php index 221c938..5286d0a 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Table/TableInit.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Table/TableInit.php @@ -16,6 +16,6 @@ final readonly class TableInit extends Instr public static function opName(): string { - return "table.init"; + return 'table.init'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Table/TableSet.php b/src/WebAssembly/Structure/Instructions/Instrs/Table/TableSet.php index 46ce56f..13f9680 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Table/TableSet.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Table/TableSet.php @@ -15,6 +15,6 @@ final readonly class TableSet extends Instr public static function opName(): string { - return "table.set"; + return 'table.set'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Table/TableSize.php b/src/WebAssembly/Structure/Instructions/Instrs/Table/TableSize.php index 8a1625a..aa3b685 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Table/TableSize.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Table/TableSize.php @@ -15,6 +15,6 @@ final readonly class TableSize extends Instr public static function opName(): string { - return "table.size"; + return 'table.size'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Variable/GlobalGet.php b/src/WebAssembly/Structure/Instructions/Instrs/Variable/GlobalGet.php index 2358325..90394b6 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Variable/GlobalGet.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Variable/GlobalGet.php @@ -15,6 +15,6 @@ final readonly class GlobalGet extends Instr public static function opName(): string { - return "global.get"; + return 'global.get'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Variable/GlobalSet.php b/src/WebAssembly/Structure/Instructions/Instrs/Variable/GlobalSet.php index a8d2cf4..8b105bc 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Variable/GlobalSet.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Variable/GlobalSet.php @@ -15,6 +15,6 @@ final readonly class GlobalSet extends Instr public static function opName(): string { - return "global.set"; + return 'global.set'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Variable/LocalGet.php b/src/WebAssembly/Structure/Instructions/Instrs/Variable/LocalGet.php index de610d3..2f5f0a7 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Variable/LocalGet.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Variable/LocalGet.php @@ -15,6 +15,6 @@ final readonly class LocalGet extends Instr public static function opName(): string { - return "local.get"; + return 'local.get'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Variable/LocalSet.php b/src/WebAssembly/Structure/Instructions/Instrs/Variable/LocalSet.php index 350c6bd..21f554f 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Variable/LocalSet.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Variable/LocalSet.php @@ -15,6 +15,6 @@ final readonly class LocalSet extends Instr public static function opName(): string { - return "local.set"; + return 'local.set'; } } diff --git a/src/WebAssembly/Structure/Instructions/Instrs/Variable/LocalTee.php b/src/WebAssembly/Structure/Instructions/Instrs/Variable/LocalTee.php index 62d42c5..c81d5af 100644 --- a/src/WebAssembly/Structure/Instructions/Instrs/Variable/LocalTee.php +++ b/src/WebAssembly/Structure/Instructions/Instrs/Variable/LocalTee.php @@ -15,6 +15,6 @@ final readonly class LocalTee extends Instr public static function opName(): string { - return "local.tee"; + return 'local.tee'; } } diff --git a/src/WebAssembly/Structure/Types/FuncType.php b/src/WebAssembly/Structure/Types/FuncType.php index 9ea2434..7932eb5 100644 --- a/src/WebAssembly/Structure/Types/FuncType.php +++ b/src/WebAssembly/Structure/Types/FuncType.php @@ -18,7 +18,7 @@ final readonly class FuncType ) { } - public function equals(FuncType $other): bool + public function equals(self $other): bool { if (count($this->params) !== count($other->params)) { return false; diff --git a/src/WebAssembly/Structure/Types/Limits.php b/src/WebAssembly/Structure/Types/Limits.php index e60b842..74a3409 100644 --- a/src/WebAssembly/Structure/Types/Limits.php +++ b/src/WebAssembly/Structure/Types/Limits.php @@ -18,7 +18,7 @@ final readonly class Limits public function isValid(): bool { - return 0 <= $this->min && + return $this->min >= 0 && ($this->max === null || $this->min <= $this->max); } } |
