Struct AstOptimizer

Struct Documentation

struct AstOptimizer

Public Functions

inline AstOptimizer(bool mode, const std::vector<std::string> &rules = {})
template<typename T>
inline std::shared_ptr<T> optimize(std::shared_ptr<T> original, std::shared_ptr<T> parent = nullptr)