|
souffle
2.0.2-371-g6315b36
|
Abstract class for a list of RAM statements. More...
#include <ListStatement.h>


Public Member Functions | |
| void | apply (const NodeMapper &map) override |
| Apply the mapper to all child nodes. More... | |
| std::vector< const Node * > | getChildNodes () const override |
| Obtain list of all embedded child nodes. More... | |
| std::vector< Statement * > | getStatements () const |
| Get statements. More... | |
| ListStatement ()=default | |
| template<typename... Stmts> | |
| ListStatement (Own< Stmts > &&... stmts) | |
| ListStatement (VecOwn< Statement > statements) | |
Public Member Functions inherited from souffle::ram::Statement | |
| Statement * | clone () const override=0 |
| Create a clone (i.e. More... | |
Public Member Functions inherited from souffle::ram::Node | |
| bool | operator!= (const Node &other) const |
| Inequality check for two RAM nodes. More... | |
| bool | operator== (const Node &other) const |
| Equivalence check for two RAM nodes. More... | |
| virtual void | rewrite (const Node *oldNode, Own< Node > newNode) |
| Rewrite a child node. More... | |
| virtual | ~Node ()=default |
Protected Member Functions | |
| bool | equal (const Node &node) const override |
| Equality check for two RAM nodes. More... | |
Protected Member Functions inherited from souffle::ram::Statement | |
| void | print (std::ostream &os) const override |
| Print RAM node. More... | |
| virtual void | print (std::ostream &os, int tabpos) const =0 |
| Pretty print with indentation. More... | |
Protected Attributes | |
| VecOwn< Statement > | statements |
| Ordered list of RAM statements. More... | |
Additional Inherited Members | |
Static Protected Member Functions inherited from souffle::ram::Statement | |
| static void | print (const Statement *statement, std::ostream &os, int tabpos) |
| Pretty print jump-bed. More... | |
Abstract class for a list of RAM statements.
Definition at line 36 of file ListStatement.h.
|
default |
Definition at line 39 of file ListStatement.h.
|
inline |
Definition at line 42 of file ListStatement.h.
|
inlineoverridevirtual |
Apply the mapper to all child nodes.
Reimplemented from souffle::ram::Node.
Definition at line 63 of file ListStatement.h.
|
inlineoverrideprotectedvirtual |
Equality check for two RAM nodes.
Default action is that nothing needs to be checked.
Reimplemented from souffle::ram::Node.
Definition at line 70 of file ListStatement.h.
|
inlineoverridevirtual |
Obtain list of all embedded child nodes.
Reimplemented from souffle::ram::Node.
Definition at line 55 of file ListStatement.h.
|
inline |
Ordered list of RAM statements.
Definition at line 77 of file ListStatement.h.
Referenced by getStatements().
1.8.17