ArKanjo 0.5.1
A tool for find code duplicated functions in codebases
preprocessor_build.hpp File Reference

Codebase preprocessing interface. More...

#include <arkanjo/methods/diff/diff_method.hpp>
#include <arkanjo/methods/tfidf/tfidf_method.hpp>
#include <arkanjo/methods/ast/ast_method.hpp>
#include <arkanjo/methods/embedding/embedding_method.hpp>
#include "function_breaker.hpp"
#include <arkanjo/base/preprocess_state.hpp>
#include <arkanjo/commands/command_base.hpp>
#include <optional>
#include <string>
#include <tuple>
#include <filesystem>
+ Include dependency graph for preprocessor_build.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MethodInfo
 
class  PreprocessorBuild
 Codebase preprocessing orchestrator. More...
 

Typedefs

using MethodFactory = std::function< std::unique_ptr< IMethod >(const std::string &, float, const std::vector< std::string > &)>
 

Detailed Description

Codebase preprocessing interface.

Defines the preprocessing stage that prepares the codebase for efficient duplication detection by parsing, analyzing, and organizing source code into a queryable format.

Defines the preprocessor/setup step of the tool, where we do a heavy preprocessing of the input codebase to enable fast query response later.

Definition in file preprocessor_build.hpp.

Typedef Documentation

◆ MethodFactory

using MethodFactory = std::function<std::unique_ptr<IMethod>( const std::string&, float, const std::vector<std::string>& )>

Definition at line 30 of file preprocessor_build.hpp.