20#ifndef FUNCTION_BREAKER_HPP
21#define FUNCTION_BREAKER_HPP
45 const vector<string> C_EXTENSIONS = {
"c",
"h" };
46 const vector<string> JAVA_EXTENSIONS = {
"java" };
47 const vector<string> ALLOWED_EXTENSIONS = {
"c",
"h",
"java" };
54 bool is_c_extension(
string extension);
61 bool is_java_extension(
string extension);
68 bool is_allowed_extension(
string extension);
75 void file_breaker(
string file_path,
string folder_path);
81 void function_breaker(
string folder_path);
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.
Defines utility functions used across all files.