![]() |
mutable
A Database System for Research and Fast Prototyping
|
Implements a loop which iterates exactly once unless explicitly continue
-ed.
More...
#include <WasmDSL.hpp>
Public Member Functions | |
Loop (std::string name) | |
Loop (const char *name) | |
Loop (const Loop &)=delete | |
Loop (Loop &&other) | |
~Loop () | |
Loop & | operator= (Loop &&other) |
std::string | name () const |
Block & | body () |
const Block & | body () const |
Private Member Functions | |
Loop (std::string name, tag< int >) | |
Convenience c'tor accessible via tag-dispatching. | |
Private Attributes | |
Block | body_ |
the loop body | |
::wasm::Loop * | loop_ = nullptr |
the Binaryen loop | |
Friends | |
void | swap (Loop &first, Loop &second) |
Implements a loop which iterates exactly once unless explicitly continue
-ed.
The loop may be exited by explicitly break
-ing out of it.
Definition at line 6384 of file WasmDSL.hpp.
|
inlineprivate |
Convenience c'tor accessible via tag-dispatching.
Expects an already unique name
.
Definition at line 6398 of file WasmDSL.hpp.
References m::wasm::Block::get(), and m::wasm::Block::name().
|
inlineexplicit |
Definition at line 6409 of file WasmDSL.hpp.
|
inlineexplicit |
Definition at line 6410 of file WasmDSL.hpp.
|
delete |
|
inline |
Definition at line 6413 of file WasmDSL.hpp.
References m::swap().
|
inline |
Definition at line 6415 of file WasmDSL.hpp.
|
inline |
Definition at line 6426 of file WasmDSL.hpp.
Referenced by m::wasm::DoWhile::~DoWhile().
|
inline |
Definition at line 6427 of file WasmDSL.hpp.
|
inline |
Definition at line 6424 of file WasmDSL.hpp.
Definition at line 6422 of file WasmDSL.hpp.
References m::swap().
Definition at line 6386 of file WasmDSL.hpp.
|
private |
the loop body
Definition at line 6393 of file WasmDSL.hpp.
|
private |
the Binaryen loop
Definition at line 6394 of file WasmDSL.hpp.