Arkanjo 0.1
A tool for find code duplicated functions in codebases
Loading...
Searching...
No Matches
function_breaker.hpp
Go to the documentation of this file.
1
20#ifndef FUNCTION_BREAKER_HPP
21#define FUNCTION_BREAKER_HPP
22
23#include <string>
24#include <vector>
25#include "../base/utils.hpp"
29using namespace std;
30
45 const vector<string> C_EXTENSIONS = { "c", "h" };
46 const vector<string> JAVA_EXTENSIONS = { "java" };
47 const vector<string> ALLOWED_EXTENSIONS = { "c", "h", "java" };
48
54 bool is_c_extension(string extension);
55
61 bool is_java_extension(string extension);
62
68 bool is_allowed_extension(string extension);
69
75 void file_breaker(string file_path, string folder_path);
76
81 void function_breaker(string folder_path);
82
83 public:
88 FunctionBreaker(string folder_path);
89};
90
91#endif
Main function extraction processor.
FunctionBreaker(string folder_path)
Constructs function breaker and processes directory.
C/C++ function parsing and extraction.
Java function parsing and extraction.
Function breaker utilities and constants.
Definition json.hpp:5678
Defines utility functions used across all files.