souffle
2.0.2-371-g6315b36
|
Represents a Ram Constant. More...
#include <Constant.h>
Public Member Functions | |
RamDomain | getConstant () const |
Get constant. More... | |
Public Member Functions inherited from souffle::ram::Expression | |
Expression * | clone () const override=0 |
Create a clone (i.e. More... | |
Public Member Functions inherited from souffle::ram::Node | |
virtual void | apply (const NodeMapper &) |
Apply the mapper to all child nodes. More... | |
virtual std::vector< const Node * > | getChildNodes () const |
Obtain list of all embedded child nodes. More... | |
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 | |
Constant (RamDomain constant) | |
bool | equal (const Node &node) const override |
Equality check for two RAM nodes. More... | |
Protected Member Functions inherited from souffle::ram::Node | |
virtual void | print (std::ostream &out=std::cout) const =0 |
Print RAM node. More... | |
Protected Attributes | |
const RamDomain | constant |
Constant value. More... | |
Represents a Ram Constant.
Definition at line 36 of file Constant.h.
|
inlineexplicitprotected |
Definition at line 44 of file Constant.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 46 of file Constant.h.
|
inline |
|
protected |