souffle
2.0.2-371-g6315b36
|
Negates a given condition. More...
#include <Negation.h>
Public Member Functions | |
void | apply (const NodeMapper &map) override |
Apply the mapper to all child nodes. More... | |
Negation * | clone () const override |
Create a clone (i.e. More... | |
std::vector< const Node * > | getChildNodes () const override |
Obtain list of all embedded child nodes. More... | |
const Condition & | getOperand () const |
Get operand of negation. More... | |
Negation (Own< Condition > op) | |
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 | |
Own< Condition > | operand |
Operand. More... | |
|
inlineoverridevirtual |
Apply the mapper to all child nodes.
Reimplemented from souffle::ram::Node.
Definition at line 68 of file Negation.h.
|
inlineoverridevirtual |
Create a clone (i.e.
deep copy) of this node
Implements souffle::ram::Condition.
Definition at line 64 of file Negation.h.
References operand.
|
inlineoverrideprotectedvirtual |
Equality check for two RAM nodes.
Default action is that nothing needs to be checked.
Reimplemented from souffle::ram::Node.
Definition at line 77 of file Negation.h.
|
inlineoverridevirtual |
Obtain list of all embedded child nodes.
Reimplemented from souffle::ram::Node.
Definition at line 60 of file Negation.h.
References souffle::map(), and operand.
|
inline |
Get operand of negation.
Definition at line 56 of file Negation.h.
References souffle::clone(), Negation(), and operand.
|
inlineoverrideprotectedvirtual |
Operand.
Definition at line 83 of file Negation.h.
Referenced by clone(), getChildNodes(), and getOperand().