ilang  1.0.2
ILAng: A Modeling and Verification Platform for SoCs
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ilang::FunctionApplicationFinder Class Reference

Class of traversing to find the application of functions in an AST. More...

#include <ast_helper.h>

Public Member Functions

 FunctionApplicationFinder (const ExprPtr &expr)
 
const std::set< std::shared_ptr< Func > > GetReferredFunc () const
 

Protected Member Functions

void hasFuncAppOnNode (const ExprPtr &e)
 does a node contain a funcapp
 
void hasFuncApp (const ExprPtr &expr)
 does a tree contain funcapps?
 

Protected Attributes

std::set< std::shared_ptr< Func > > _func_refs
 the functions used in app_func
 
std::set< Expr * > visited
 record whether a node has been visited
 

Detailed Description

Class of traversing to find the application of functions in an AST.


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