![]() |
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 6385 of file WasmDSL.hpp.
|
inlineprivate |
Convenience c'tor accessible via tag-dispatching.
Expects an already unique name.
Definition at line 6399 of file WasmDSL.hpp.
References m::wasm::Block::get(), and m::wasm::Block::name().
|
inlineexplicit |
Definition at line 6410 of file WasmDSL.hpp.
|
inlineexplicit |
Definition at line 6411 of file WasmDSL.hpp.
|
delete |
|
inline |
Definition at line 6414 of file WasmDSL.hpp.
References m::swap().
|
inline |
Definition at line 6416 of file WasmDSL.hpp.
|
inline |
Definition at line 6427 of file WasmDSL.hpp.
Referenced by m::wasm::DoWhile::~DoWhile().
|
inline |
Definition at line 6428 of file WasmDSL.hpp.
|
inline |
Definition at line 6425 of file WasmDSL.hpp.
Definition at line 6423 of file WasmDSL.hpp.
References m::swap().
Definition at line 6387 of file WasmDSL.hpp.
|
private |
the loop body
Definition at line 6394 of file WasmDSL.hpp.
|
private |
the Binaryen loop
Definition at line 6395 of file WasmDSL.hpp.