ArKanjo 0.5.1
A tool for find code duplicated functions in codebases
FunctionLoader Class Reference

#include <function_loader.hpp>

Public Member Functions

Function load (const Path &path)
 Loads a function from a path. More...
 
Function load_metadata (const Path &path)
 Loads function metadata from a path. More...
 

Detailed Description

Definition at line 13 of file function_loader.hpp.

Member Function Documentation

◆ load()

Function FunctionLoader::load ( const Path &  path)

Loads a function from a path.

Parameters
pathPath identifying the function.
Returns
Loaded function if successful.

Definition at line 34 of file function_loader.cpp.

◆ load_metadata()

Function FunctionLoader::load_metadata ( const Path &  path)

Loads function metadata from a path.

Loads function information such as name, location, and path without loading source or header contents.

Parameters
Pathidentifying the function.
Returns
Function containing metadata information.

Definition at line 49 of file function_loader.cpp.


The documentation for this class was generated from the following files: