ilang  0.9.1
ILAng: A Modeling and Verification Platform for SoCs
Public Member Functions | List of all members
ilang::FuncObjRewrExpr Class Reference

Function object for rewriting Expr. More...

#include <rewrite_expr.h>

Public Member Functions

 FuncObjRewrExpr (const ExprMap &rule)
 Constructor, initialize rewriting rule.
 
ExprPtr get (const ExprPtr e) const
 Return the rewritten result.
 
bool pre (const ExprPtr e) const
 Pre-process: return true (break) if the node has been visited.
 
void post (const ExprPtr e)
 Post-process: update the rewriting rule map.
 

Detailed Description

Function object for rewriting Expr.


The documentation for this class was generated from the following file: