/// Parses a WebAssembly instruction from the input.
///
/// See <https://webassembly.github.io/spec/core/binary/instructions.html>
Parses a WebAssembly instruction from the input.
See
Parses a WebAssembly instruction from the input . See
pub fn parse_instruction(input: &[u8]) -> IResult<&[u8], Instruction> {
    alt((
        map(parse_control_instruction, Instruction::from),
        map(parse_reference_instruction, Instruction::from),
        map(parse_parametric_instruction, Instruction::from),
        map(parse_variable_instruction, Instruction::from),
        map(parse_table_instruction, Instruction::from),
        map(parse_memory_instruction, Instruction::from),
        map(parse_numeric_instruction, Instruction::from),
    ))(input)
}
pub fn parse_instruction ( input : & [ u8 ] ) -> IResult < & [ u8 ] , Instruction > { alt ( ( map ( parse_control_instruction , Instruction :: from ) , map ( parse_reference_instruction , Instruction :: from ) , map ( parse_parametric_instruction , Instruction :: from ) , map ( parse_variable_instruction , Instruction :: from ) , map ( parse_table_instruction , Instruction :: from ) , map ( parse_memory_instruction , Instruction :: from ) , map ( parse_numeric_instruction , Instruction :: from ) , ) ) ( input ) }
Parses a WebAssembly instruction from the input.
Parses a WebAssembly instruction from the input .
input
&[u8]