![]() |
rego-cpp 1.0.0
A C++ implementation of the Rego language and runtime
|
Additional information for Call, CallDynamic, With, Block, Not, and Scan statements. More...
#include <rego.hh>
Public Member Functions | |
| const CallExt & | call () const |
| Returns this extension as a CallExt. | |
| const CallDynamicExt & | call_dynamic () const |
| Returns this extension as a CallDynamicExt. | |
| const WithExt & | with () const |
| Returns this extension as a WithExt. | |
| const std::vector< Block > & | blocks () const |
| Returns this extension as a vector of Blocks. | |
| const Block & | block () const |
| Returns this extension as a Block. | |
| StatementExt (CallExt &&ext) | |
| Constructs a StatementExt from a CallExt. | |
| StatementExt (CallDynamicExt &&ext) | |
| Constructs a StatementExt from a CallDynamicExt. | |
| StatementExt (WithExt &&ext) | |
| Constructs a StatementExt from a WithExt. | |
| StatementExt (std::vector< Block > &&blocks) | |
| Constructs a StatementExt from a vector of Blocks. | |
| StatementExt (Block &&block) | |
| Constructs a StatementExt from a Block. | |
Public Attributes | |
| std::variant< CallExt, CallDynamicExt, WithExt, std::vector< Block >, Block > | contents |
| The contents of the extension. | |
Additional information for Call, CallDynamic, With, Block, Not, and Scan statements.
| const Block & rego::bundle::StatementExt::block | ( | ) | const |
Returns this extension as a Block.
| const std::vector< Block > & rego::bundle::StatementExt::blocks | ( | ) | const |
Returns this extension as a vector of Blocks.
| const CallExt & rego::bundle::StatementExt::call | ( | ) | const |
| const CallDynamicExt & rego::bundle::StatementExt::call_dynamic | ( | ) | const |
Returns this extension as a CallDynamicExt.
| const WithExt & rego::bundle::StatementExt::with | ( | ) | const |