jak-project/decompiler/analysis/final_output.h

23 lines
926 B
C
Raw Normal View History

#pragma once
#include <string>
#include "decompiler/Function/Function.h"
namespace decompiler {
enum class FunctionDefSpecials { NONE, DEFUN_DEBUG };
std::string final_defun_out(const Function& func,
const Env& env,
const DecompilerTypeSystem& dts,
FunctionDefSpecials special_mode = FunctionDefSpecials::NONE);
std::string write_from_top_level(const Function& top_level,
const DecompilerTypeSystem& dts,
const LinkedObjectFile& file,
const std::unordered_set<std::string>& skip_functions = {});
2021-03-14 19:06:51 -04:00
goos::Object get_arg_list_for_function(const Function& func, const Env& env);
2021-07-02 12:27:46 -04:00
goos::Object final_output_lambda(const Function& function);
goos::Object final_output_defstate_anonymous_behavior(const Function& func);
} // namespace decompiler