mutable
A Database System for Research and Fast Prototyping
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes
m::wasm::While Struct Reference

#include <WasmDSL.hpp>

Collaboration diagram for m::wasm::While:
[legend]

Public Member Functions

 While (std::string name, PrimitiveExpr< bool, 1 > cond)
 
template<primitive_convertible C>
requires requires (C &&c) { PrimitiveExpr<bool, 1>(std::forward<C>(c)); }
 While (std::string name, C &&cond)
 
template<primitive_convertible C>
requires requires (C &&c) { PrimitiveExpr<bool, 1>(std::forward<C>(c)); }
 While (const char *name, C &&cond)
 
 While (const While &)=delete
 
 While (While &&)=default
 
 ~While ()
 
Blockbody ()
 
const Blockbody () const
 

Private Attributes

PrimitiveExpr< bool, 1 > cond_
 
std::unique_ptr< DoWhiledo_while_
 

Detailed Description

Definition at line 6454 of file WasmDSL.hpp.

Constructor & Destructor Documentation

◆ While() [1/5]

m::wasm::While::While ( std::string  name,
PrimitiveExpr< bool, 1 >  cond 
)
inline

Definition at line 6461 of file WasmDSL.hpp.

References m::wasm::clone().

◆ While() [2/5]

template<primitive_convertible C>
requires requires (C &&c) { PrimitiveExpr<bool, 1>(std::forward<C>(c)); }
m::wasm::While::While ( std::string  name,
C &&  cond 
)
inline

Definition at line 6468 of file WasmDSL.hpp.

References m::wasm::bool.

◆ While() [3/5]

template<primitive_convertible C>
requires requires (C &&c) { PrimitiveExpr<bool, 1>(std::forward<C>(c)); }
m::wasm::While::While ( const char *  name,
C &&  cond 
)
inline

Definition at line 6472 of file WasmDSL.hpp.

◆ While() [4/5]

m::wasm::While::While ( const While )
delete

◆ While() [5/5]

m::wasm::While::While ( While &&  )
default

◆ ~While()

While::~While ( )

Definition at line 605 of file WasmDSL.cpp.

References cond_, do_while_, and IF.

Member Function Documentation

◆ body() [1/2]

Block & m::wasm::While::body ( )
inline

Definition at line 6479 of file WasmDSL.hpp.

◆ body() [2/2]

const Block & m::wasm::While::body ( ) const
inline

Definition at line 6480 of file WasmDSL.hpp.

Field Documentation

◆ cond_

PrimitiveExpr<bool, 1> m::wasm::While::cond_
private

Definition at line 6457 of file WasmDSL.hpp.

Referenced by ~While().

◆ do_while_

std::unique_ptr<DoWhile> m::wasm::While::do_while_
private

Definition at line 6458 of file WasmDSL.hpp.

Referenced by ~While().


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