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
6namespace fs = std::filesystem;
7inline fs::path ast_feature_path = fs::path("features") / "ast";
8
9struct ASTFeature {
10 std::shared_ptr<TSTree> tree;
11 TSNode root;
12};
fs::path ast_feature_path
std::shared_ptr< TSTree > tree