Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::avm2::testing::OperandBuilder Struct Reference

#include <instruction_builder.hpp>

Public Member Functions

 OperandBuilder (simulation::Operand operand)
 
OperandBuilderindirect ()
 
OperandBuilderrelative ()
 

Static Public Member Functions

template<typename T >
static OperandBuilder from (T value)
 

Public Attributes

simulation::Operand operand
 
bool is_relative = false
 
bool is_indirect = false
 

Detailed Description

Definition at line 8 of file instruction_builder.hpp.

Constructor & Destructor Documentation

◆ OperandBuilder()

bb::avm2::testing::OperandBuilder::OperandBuilder ( simulation::Operand  operand)
inline

Definition at line 9 of file instruction_builder.hpp.

Member Function Documentation

◆ from()

template<typename T >
static OperandBuilder bb::avm2::testing::OperandBuilder::from ( value)
inlinestatic

Definition at line 13 of file instruction_builder.hpp.

◆ indirect()

OperandBuilder & bb::avm2::testing::OperandBuilder::indirect ( )
inline

Definition at line 18 of file instruction_builder.hpp.

◆ relative()

OperandBuilder & bb::avm2::testing::OperandBuilder::relative ( )
inline

Definition at line 23 of file instruction_builder.hpp.

Member Data Documentation

◆ is_indirect

bool bb::avm2::testing::OperandBuilder::is_indirect = false

Definition at line 31 of file instruction_builder.hpp.

◆ is_relative

bool bb::avm2::testing::OperandBuilder::is_relative = false

Definition at line 30 of file instruction_builder.hpp.

◆ operand

simulation::Operand bb::avm2::testing::OperandBuilder::operand

Definition at line 29 of file instruction_builder.hpp.


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