souffle
2.0.2-371-g6315b36
|
Operator that represents an intrinsic (built-in) functor. More...
#include <IntrinsicOperator.h>
Public Member Functions | |
IntrinsicOperator * | clone () const override |
Create a clone (i.e. More... | |
FunctorOp | getOperator () const |
Get operator symbol. More... | |
template<typename... Args> | |
IntrinsicOperator (FunctorOp op, Args... args) | |
IntrinsicOperator (FunctorOp op, VecOwn< Expression > args) | |
Public Member Functions inherited from souffle::ram::AbstractOperator | |
AbstractOperator (VecOwn< Expression > args) | |
void | apply (const NodeMapper &map) override |
Apply the mapper to all child nodes. More... | |
std::vector< Expression * > | getArguments () const |
Get argument values. More... | |
std::vector< const Node * > | getChildNodes () const override |
Obtain list of all embedded child nodes. 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... | |
void | print (std::ostream &os) const override |
Print RAM node. More... | |
Protected Attributes | |
const FunctorOp | operation |
Operation symbol. More... | |
Protected Attributes inherited from souffle::ram::AbstractOperator | |
VecOwn< Expression > | arguments |
Arguments of user defined operator. More... | |
Operator that represents an intrinsic (built-in) functor.
Definition at line 42 of file IntrinsicOperator.h.
|
inline |
|
inline |
Definition at line 47 of file IntrinsicOperator.h.
|
inlineoverridevirtual |
Create a clone (i.e.
deep copy) of this node
Implements souffle::ram::Expression.
Definition at line 55 of file IntrinsicOperator.h.
|
inlineoverrideprotectedvirtual |
Equality check for two RAM nodes.
Default action is that nothing needs to be checked.
Reimplemented from souffle::ram::AbstractOperator.
Definition at line 72 of file IntrinsicOperator.h.
|
inline |
Get operator symbol.
Definition at line 51 of file IntrinsicOperator.h.
|
inlineoverrideprotectedvirtual |
|
protected |
Operation symbol.
Definition at line 78 of file IntrinsicOperator.h.
Referenced by IntrinsicOperator().