ArKanjo
0.2
A tool for find code duplicated functions in codebases
Loading...
Searching...
No Matches
ast_feature.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <filesystem>
4
#include <tree_sitter/api.h>
5
6
namespace
fs = std::filesystem;
7
inline
fs::path
ast_feature_path
= fs::path(
"features"
) /
"ast"
;
8
9
struct
ASTFeature
{
10
std::shared_ptr<TSTree>
tree
;
11
TSNode
root
;
12
};
ast_feature_path
fs::path ast_feature_path
Definition
ast_feature.hpp:7
ASTFeature
Definition
ast_feature.hpp:9
ASTFeature::tree
std::shared_ptr< TSTree > tree
Definition
ast_feature.hpp:10
ASTFeature::root
TSNode root
Definition
ast_feature.hpp:11
include
arkanjo
base
features
ast_feature.hpp
Generated by
1.12.0