lxsh/include/minify.hpp
2021-07-24 08:26:24 +02:00

20 lines
504 B
C++

#ifndef MINIFY_HPP
#define MINIFY_HPP
#include "struc.hpp"
#include <regex>
#include <string>
void minify_var(_obj* in, std::regex const& exclude);
void minify_fct(_obj* in, std::regex const& exclude);
bool delete_unused_fct(_obj* in, std::regex const& exclude);
bool delete_unused_var(_obj* in, std::regex const& exclude);
void delete_unused(_obj* in, std::regex const& var_exclude, std::regex const& fct_exclude);
void minify_quotes(_obj* in);
void minify_generic(_obj* in);
#endif //MINIFY_HPP