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

#include <WasmDSL.hpp>

Inheritance diagram for m::wasm::DoWhile:
[legend]
Collaboration diagram for m::wasm::DoWhile:
[legend]

Public Member Functions

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

Private Attributes

Block body_
 the loop body
 
::wasm::Loop * loop_ = nullptr
 the Binaryen loop
 

Detailed Description

Definition at line 6430 of file WasmDSL.hpp.

Constructor & Destructor Documentation

◆ DoWhile() [1/4]

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

Definition at line 6434 of file WasmDSL.hpp.

◆ DoWhile() [2/4]

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

Definition at line 6446 of file WasmDSL.hpp.

◆ DoWhile() [3/4]

m::wasm::DoWhile::DoWhile ( const DoWhile )
delete

◆ DoWhile() [4/4]

m::wasm::DoWhile::DoWhile ( DoWhile &&  )
default

◆ ~DoWhile()

DoWhile::~DoWhile ( )

Definition at line 597 of file WasmDSL.cpp.

References BLOCK_OPEN, m::wasm::Loop::body(), and m::wasm::CONTINUE().

Member Function Documentation

◆ body() [1/2]

Block & m::wasm::Loop::body ( )
inlineinherited

Definition at line 6426 of file WasmDSL.hpp.

Referenced by ~DoWhile().

◆ body() [2/2]

const Block & m::wasm::Loop::body ( ) const
inlineinherited

Definition at line 6427 of file WasmDSL.hpp.

◆ name()

std::string m::wasm::Loop::name ( ) const
inlineinherited

Definition at line 6424 of file WasmDSL.hpp.

Field Documentation

◆ body_

Block m::wasm::Loop::body_
privateinherited

the loop body

Definition at line 6393 of file WasmDSL.hpp.

◆ loop_

::wasm::Loop* m::wasm::Loop::loop_ = nullptr
privateinherited

the Binaryen loop

Definition at line 6394 of file WasmDSL.hpp.


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