ArKanjo 0.2
A tool for find code duplicated functions in codebases
Loading...
Searching...
No Matches
FeatureExtractor Class Reference

#include <feature_extractor.hpp>

Static Public Member Functions

static bool is_lexical_node (std::string_view type)
 
static bool is_block_node (std::string_view type)
 
static bool is_function_node (std::string_view type)
 
static std::string get_node_text (TSNode node, const std::string &source)
 

Detailed Description

Definition at line 13 of file feature_extractor.hpp.

Member Function Documentation

◆ get_node_text()

std::string FeatureExtractor::get_node_text ( TSNode node,
const std::string & source )
static

Definition at line 21 of file feature_extractor.cpp.

◆ is_block_node()

bool FeatureExtractor::is_block_node ( std::string_view type)
static

Definition at line 9 of file feature_extractor.cpp.

◆ is_function_node()

bool FeatureExtractor::is_function_node ( std::string_view type)
static

Definition at line 15 of file feature_extractor.cpp.

◆ is_lexical_node()

bool FeatureExtractor::is_lexical_node ( std::string_view type)
static

Definition at line 3 of file feature_extractor.cpp.


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