1 #ifndef __REWRITER_HPP_DEFINED__ 2 #define __REWRITER_HPP_DEFINED__ 6 #include <unordered_map> nptr_t getRepl(const Node *n) const
void operator()(const Node *n)
void doRewrite(const Node *n)
nptr_t rewrite(const Node *n)
void getNewArgs(const Node *n, nptr_vec_t &args)
std::vector< nptr_t > nptr_vec_t
Definition: node.hpp:27
boost::shared_ptr< Node > nptr_t
Definition: node.hpp:24
Definition: abstraction.hpp:21
Definition: rewriter.hpp:11
rwmap_t rwmap
Definition: rewriter.hpp:16
void addRewrite(const Node *n, const nptr_t &nprime)
std::unordered_map< const Node *, nptr_t, decltype(&nodeHash), decltype(&nodeEqual)> rwmap_t
Definition: node.hpp:177