|
ArKanjo 0.2
A tool for find code duplicated functions in codebases
|
#include <ast_method.hpp>
Inheritance diagram for ASTMethod:
Collaboration diagram for ASTMethod:Public Member Functions | |
| ASTMethod (const fs::path &base_path_, double similarity_) | |
| Constructs preprocessor with configuration. | |
| void | on_function (const FunctionData &fd) override |
| void | execute () override |
| Executes the preprocessing pipeline. | |
Public Member Functions inherited from IMethod | |
| virtual | ~IMethod ()=default |
Definition at line 22 of file ast_method.hpp.
| ASTMethod::ASTMethod | ( | const fs::path & | base_path_, |
| double | similarity_ ) |
Constructs preprocessor with configuration.
| base_path_ | Root path of codebase |
| similarity_ | Similarity threshold (0-100) |
Definition at line 92 of file ast_method.cpp.
|
overridevirtual |
Executes the preprocessing pipeline.
Implements IMethod.
Definition at line 151 of file ast_method.cpp.
|
overridevirtual |
Implements IMethod.
Definition at line 133 of file ast_method.cpp.