souffle
2.0.2-371-g6315b36
|
Packs a record's arguments into a reference. More...
#include <PackRecord.h>
Public Member Functions | |
void | apply (const NodeMapper &map) override |
Apply the mapper to all child nodes. More... | |
PackRecord * | clone () const override |
Create a clone (i.e. More... | |
std::vector< Expression * > | getArguments () const |
Get record arguments. More... | |
std::vector< const Node * > | getChildNodes () const override |
Obtain list of all embedded child nodes. More... | |
PackRecord (VecOwn< Expression > args) | |
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... | |
void | print (std::ostream &os) const override |
Print RAM node. More... | |
Protected Attributes | |
VecOwn< Expression > | arguments |
Arguments. More... | |
Packs a record's arguments into a reference.
Definition at line 42 of file PackRecord.h.
|
inline |
Definition at line 44 of file PackRecord.h.
References arguments, and souffle::toPtrVector().
|
inlineoverridevirtual |
Apply the mapper to all child nodes.
Reimplemented from souffle::ram::Node.
Definition at line 71 of file PackRecord.h.
References arguments, and souffle::join().
|
inlineoverridevirtual |
Create a clone (i.e.
deep copy) of this node
Implements souffle::ram::Expression.
Definition at line 63 of file PackRecord.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 83 of file PackRecord.h.
|
inline |
Get record arguments.
Definition at line 51 of file PackRecord.h.
|
inlineoverridevirtual |
Obtain list of all embedded child nodes.
Reimplemented from souffle::ram::Node.
Definition at line 55 of file PackRecord.h.
|
inlineoverrideprotectedvirtual |
|
protected |