souffle
2.0.2-371-g6315b36
|
A special NodeMapper wrapping a lambda conducting node transformations. More...
#include <LambdaNodeMapper.h>
Public Member Functions | |
LambdaNodeMapper (const Lambda &lambda) | |
Own< Node > | operator() (Own< Node > node) const override |
Abstract replacement method for a node. More... | |
Public Member Functions inherited from souffle::ast::NodeMapper | |
template<typename T > | |
Own< T > | operator() (Own< T > node) const |
Wrapper for any subclass of the AST node hierarchy performing type casts. More... | |
virtual | ~NodeMapper ()=default |
Private Attributes | |
const Lambda & | lambda |
A special NodeMapper wrapping a lambda conducting node transformations.
Definition at line 43 of file LambdaNodeMapper.h.
|
inline |
Definition at line 53 of file LambdaNodeMapper.h.
|
inlineoverridevirtual |
Abstract replacement method for a node.
If the given nodes is to be replaced, the handed in node will be destroyed by the mapper and the returned node will become owned by the caller.
Implements souffle::ast::NodeMapper.
Definition at line 55 of file LambdaNodeMapper.h.
|
private |
Definition at line 50 of file LambdaNodeMapper.h.