souffle
2.0.2-371-g6315b36
|
#include <ExecutionPlan.h>
Public Member Functions | |
void | apply (const NodeMapper &map) override |
Apply the mapper to all child nodes. More... | |
ExecutionPlan * | clone () const override |
Create a clone (i.e. More... | |
std::vector< const Node * > | getChildNodes () const override |
Obtain a list of all embedded AST child nodes. More... | |
std::map< int, const ExecutionOrder * > | getOrders () const |
Get orders. More... | |
void | setOrderFor (int version, Own< ExecutionOrder > plan) |
Set execution order for a given rule version. More... | |
Public Member Functions inherited from souffle::ast::Node | |
std::string | extloc () const |
Return source location of the syntactic element. More... | |
const SrcLocation & | getSrcLoc () const |
Return source location of the Node. More... | |
Node (SrcLocation loc={}) | |
bool | operator!= (const Node &other) const |
Inequality check for two AST nodes. More... | |
bool | operator== (const Node &other) const |
Equivalence check for two AST nodes. More... | |
void | setSrcLoc (SrcLocation l) |
Set source location for the Node. More... | |
virtual | ~Node ()=default |
Protected Member Functions | |
bool | equal (const Node &node) const override |
Abstract equality check for two AST nodes. More... | |
void | print (std::ostream &out) const override |
Output to a given output stream. More... | |
Private Attributes | |
std::map< int, Own< ExecutionOrder > > | plans |
Mapping versions of clauses to execution orders. More... | |
Definition at line 51 of file ExecutionPlan.h.
|
inlineoverridevirtual |
Apply the mapper to all child nodes.
Reimplemented from souffle::ast::Node.
Definition at line 76 of file ExecutionPlan.h.
References plans.
|
inlineoverridevirtual |
Create a clone (i.e.
deep copy) of this node
Implements souffle::ast::Node.
Definition at line 67 of file ExecutionPlan.h.
|
inlineoverrideprotectedvirtual |
Abstract equality check for two AST nodes.
Reimplemented from souffle::ast::Node.
Definition at line 99 of file ExecutionPlan.h.
|
inlineoverridevirtual |
Obtain a list of all embedded AST child nodes.
Reimplemented from souffle::ast::Node.
Definition at line 82 of file ExecutionPlan.h.
|
inline |
Get orders.
Definition at line 59 of file ExecutionPlan.h.
|
inlineoverrideprotectedvirtual |
Output to a given output stream.
Implements souffle::ast::Node.
Definition at line 91 of file ExecutionPlan.h.
|
inline |
|
private |
Mapping versions of clauses to execution orders.
Definition at line 106 of file ExecutionPlan.h.
Referenced by apply().