RetroArch
Public Member Functions | Private Attributes | List of all members
peg::AstOptimizer Struct Reference

#include <peglib.h>

Public Member Functions

 AstOptimizer (bool optimize_nodes, const std::vector< std::string > &filters={})
 
template<typename T >
std::shared_ptr< Toptimize (std::shared_ptr< T > original, std::shared_ptr< T > parent=nullptr)
 

Private Attributes

const bool optimize_nodes_
 
const std::vector< std::stringfilters_
 

Constructor & Destructor Documentation

◆ AstOptimizer()

peg::AstOptimizer::AstOptimizer ( bool  optimize_nodes,
const std::vector< std::string > &  filters = {} 
)
inline

Member Function Documentation

◆ optimize()

template<typename T >
std::shared_ptr<T> peg::AstOptimizer::optimize ( std::shared_ptr< T original,
std::shared_ptr< T parent = nullptr 
)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ filters_

const std::vector<std::string> peg::AstOptimizer::filters_
private

◆ optimize_nodes_

const bool peg::AstOptimizer::optimize_nodes_
private

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