Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sysio::chain::wasm_ops::instr_base< Mutators > Struct Template Reference

#include <wasm_sysio_binary_ops.hpp>

Inheritance diagram for sysio::chain::wasm_ops::instr_base< Mutators >:
Collaboration diagram for sysio::chain::wasm_ops::instr_base< Mutators >:

Public Member Functions

bool is_post () override
 
bool is_kill () override
 
virtual void visit (visitor_arg &&arg) override
 
- Public Member Functions inherited from sysio::chain::wasm_ops::instr
virtual std::string to_string ()
 
virtual uint16_t get_code ()=0
 
virtual int skip_ahead ()=0
 
virtual void unpack (char *opcode)=0
 
virtual void pack (instruction_stream *stream)=0
 

Detailed Description

template<typename ... Mutators>
struct sysio::chain::wasm_ops::instr_base< Mutators >

Definition at line 561 of file wasm_sysio_binary_ops.hpp.

Member Function Documentation

◆ is_kill()

template<typename ... Mutators>
bool sysio::chain::wasm_ops::instr_base< Mutators >::is_kill ( )
inlineoverridevirtual

Implements sysio::chain::wasm_ops::instr.

Definition at line 563 of file wasm_sysio_binary_ops.hpp.

563{ return propagate_should_kill<Mutators...>::value; }
#define value
Definition pkcs11.h:157

◆ is_post()

template<typename ... Mutators>
bool sysio::chain::wasm_ops::instr_base< Mutators >::is_post ( )
inlineoverridevirtual

Implements sysio::chain::wasm_ops::instr.

Definition at line 562 of file wasm_sysio_binary_ops.hpp.

562{ return propagate_post_injection<Mutators...>::value; }

◆ visit()

template<typename ... Mutators>
virtual void sysio::chain::wasm_ops::instr_base< Mutators >::visit ( visitor_arg && arg)
inlineoverridevirtual

Implements sysio::chain::wasm_ops::instr.

Definition at line 564 of file wasm_sysio_binary_ops.hpp.

564 {
565 for ( auto m : { Mutators::accept... } ) {
566 m(this, arg);
567 }
568 }

The documentation for this struct was generated from the following file: